ata-validator

(β˜… 357)

Ultra-fast JSON Schema validator. AOT + TypeScript first-class, simdjson native, 3-6x AJV, Draft 2020-12. Zero runtime cost.

  • .gitattributes
  • .gitignore
  • .gitmodules
  • .npmignore
  • ARCHITECTURE.md
  • build.d.ts
  • build.js
  • build.mjs
  • CHANGELOG.md
  • CMakeLists.txt
  • CODE_OF_CONDUCT.md
  • compat.d.ts
  • compat.js
  • compat.mjs
  • CONTRIBUTING.md
  • index.browser.mjs
  • index.d.ts
  • index.js
  • index.mjs
  • LICENSE
  • package.json
  • README.md
  • SECURITY.md
  • t.d.ts
  • t.js
  • t.mjs
  • test.js

# Installation Guide

1. Get the code
git clone https://github.com/ata-core/ata-validator

Downloads the entire project code from GitHub to your computer.

cd ata-validator

Moves into the project folder you just downloaded.

2. Official Install Script

Easy Recommended
Prerequisites
  • Homebrew A package manager for macOS/Linux.
  • APT (Debian/Ubuntu 계열) Built into Debian/Ubuntu-based Linux distributions.
brew install re2 abseil mimalloc

Installs the pre-built package via Homebrew β€” no source build required.

sudo apt-get install -y libre2-dev libabsl-dev libmimalloc-dev

Installs directly from the APT package repository (Debian/Ubuntu-based).

βœ… After installing, open a new terminal and run the program's version command (e.g. --version) to confirm it worked.

Pulled directly from this repo's README.

3. Docker

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Docker Desktop Needed to build and run containers. Install it and keep it running in the background.
docker build -f bowtie/Dockerfile -t ata-validator .

Builds a runnable image based on the Dockerfile.

docker run -p 8080:80 ata-validator

Runs the built image as an actual container.

βœ… Run docker compose ps to check the containers are Up. If the README mentions a port, open http://localhost:PORT in your browser.

4. CMake

Medium
Prerequisites
  • Git Needed to download the project code from GitHub.
  • CMake The tool used to generate build configuration.
  • C/C++ 컴파일러 Windows needs Visual Studio (Community edition, free), macOS needs Xcode Command Line Tools, Linux needs the gcc/g++ package.
cmake -B build

Type this command into your terminal and run it.

cmake --build build

Type this command into your terminal and run it.

βœ… Check that an executable was created inside the build folder, then run it directly (e.g. ./build/app_name).

Pulled directly from this repo's README.

5. Node.js

Easy
Prerequisites
  • Git Needed to download the project code from GitHub.
  • Node.js Node.js must be installed to use npm. The LTS version is recommended.
npm install --save-dev ata-validator

Downloads and installs the libraries listed in package.json.

npm install ata-validator --omit=optional

Downloads and installs the libraries listed in package.json.

npm install fastify-ata

Downloads and installs the libraries listed in package.json.

npm install

Downloads and installs the libraries listed in package.json.

npm run build

Builds optimized production files.

βœ… After running the command, open the address shown in the terminal (usually something like http://localhost:3000) in your browser.

Pulled directly from this repo's README.

// repository documentation