New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

json-schema-server

Package Overview
Dependencies
Maintainers
2
Versions
11
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

json-schema-server

CLI server utility for JSON-Schema-faker

latest
Source
npmnpm
Version
0.4.4
Version published
Weekly downloads
15
87.5%
Maintainers
2
Weekly downloads
 
Created
Source

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.

Keywords

json

FAQs

Package last updated on 10 Feb 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts