UNPKG

@sourcemeta/jsonschema

Version:

The CLI for working with JSON Schema. Covers formatting, linting, testing, and much more for both local development and CI/CD pipelines

13 lines (10 loc) 254 B
#!/usr/bin/env node const { spawn } = require('./main.js'); spawn(process.argv.slice(2), { stdio: 'inherit' }) .then((result) => { process.exit(result.code); }) .catch((error) => { console.error(error.message); process.exit(1); });