0.4.4 • Published 3 years ago

json-schema-server v0.4.4

Weekly downloads
7
License
MIT
Repository
github
Last release
3 years ago

JSON-Schema Server

Build status NPM version Coverage Status

Dependency Status devDependency Status

Install json-schema-server globally:

$ npm install -g json-schema-server

Then starts a server for your JSON-Schema files:

$ json-schema-server [dir] -p 5000

Now you can make requests through the created server:

$ http http://localhost:5000/path/to/schema

The better if you're using httpie. :beers:

Options

  • --fakeroot BaseURI for references that will fake (default: http://json-schema.org).
  • --formats CommonJS module-id or path for custom formats.
  • --silent Turns off the reporting through the STDOUT.
  • --port Custom port for the server (default: 3000).

If no dir is provided process.cwd() will be used instead.

Run json-schema-server -h to display all usage info

Try fake-schema-cli if you want single-shot calls.

0.4.4

3 years ago

0.4.3

3 years ago

0.4.2

5 years ago

0.4.1

6 years ago

0.4.0

7 years ago

0.3.1

8 years ago

0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

8 years ago

0.1.1

8 years ago

0.1.0

8 years ago