@stoplight/json-schema-faker

JSON-Schema + fake data generators

Usage no npm install needed!

<script type="module">
  import stoplightJsonSchemaFaker from 'https://cdn.skypack.dev/@stoplight/json-schema-faker';
</script>

README

JSON Schema Faker logo

Donate Build Status NPM version Bower version Coverage Status

Gitter Dependency Status devDependency Status

Inline docs Typedoc

Use JSON Schema along with fake generators to provide consistent and meaningful fake data for your system.

What's next?

The latest RC16 comes with some deprecations and breaking-changes towards v0.5.x API:

  • deprecated — You will not longer be able to call jsf() and get a fully-dereferenced result. It will just generate given refs and inline ones, nothing else.
    • jsf.generate() is the sync-version, with partial dereferencing through given refs, etc.
    • jsf.resolve() is the async-version, with full dereferencing, given refs are also supported.
  • deprecated — TypeScript sources are not longer used, however d.ts definitions will be updated on time.

Usage info from README.md was moved to docs/, read more.

Contributors

We are more than happy to welcome new contributors, our project is still being developed, but we need more feedback!

Please see our contribution guide to learn how.

We are looking for your help!

We have a gitter room for this project, if you want contribute, talk about specific issues from the library, or you need help on json-schema topics just reach us!

Please take a look at the technical documentation page.

If you think json-schema-faker is adding value on what you're doing please consider buying me a coffee.

Also, you can support the project via Open Collective.