Miss any of our Open RFC calls?Watch the recordings here! »

json-schema-faker-cli

2.0.10 • Public • Published

json-schema-faker-cli

MIT License Build Status

NPM status

It is a CLI for json-schema-faker.

install

npm install -g json-schema-faker-cli

usage

generating single object from the schema

generate-json schema.json output.json

  • schema.json - file containing JSON schema
  • output.json - generated file according to the provided schema

generating array of multiple objects

generate-json schema.json output.json $ITEMS_LENGTH

  • ITEMS_LENGTH - number of objects in the array

Install

npm i json-schema-faker-cli

DownloadsWeekly Downloads

33

Version

2.0.10

License

MIT

Unpacked Size

6.08 kB

Total Files

10

Last publish

Collaborators

  • avatar