UNPKG

json-schema-faker

Version:
54 lines (36 loc) 3.81 kB
[![JSON Schema Faker logo](logo/JSF_logo.png)](https://github.com/json-schema-faker/json-schema-faker) [![Donate](https://img.shields.io/badge/Donate-PayPal-green.svg)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8MXLRJ7QQXGYY) [![Build Status](https://travis-ci.org/json-schema-faker/json-schema-faker.svg?branch=master)](https://travis-ci.org/json-schema-faker/json-schema-faker) [![NPM version](https://badge.fury.io/js/json-schema-faker.svg)](http://badge.fury.io/js/json-schema-faker) [![Bower version](https://badge.fury.io/bo/json-schema-faker.svg)](https://badge.fury.io/bo/json-schema-faker) [![Coverage Status](https://codecov.io/github/json-schema-faker/json-schema-faker/coverage.svg?branch=master)](https://codecov.io/github/json-schema-faker/json-schema-faker?branch=master) [![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/json-schema-faker/Lobby) [![Dependency Status](https://david-dm.org/json-schema-faker/json-schema-faker/status.svg)](https://david-dm.org/json-schema-faker/json-schema-faker) [![devDependency Status](https://david-dm.org/json-schema-faker/json-schema-faker/dev-status.svg)](https://david-dm.org/json-schema-faker/json-schema-faker#info=devDependencies) [![Inline docs](http://inch-ci.org/github/json-schema-faker/json-schema-faker.svg?branch=master)](http://inch-ci.org/github/json-schema-faker/json-schema-faker) [![Typedoc](https://img.shields.io/badge/typedoc-provided-blue.svg)](http://json-schema-faker.github.io/json-schema-faker/) [![Known Vulnerabilities](https://snyk.io/test/github/json-schema-faker/json-schema-faker/badge.svg)](https://snyk.io/test/github/json-schema-faker/json-schema-faker) > Use [JSON Schema](http://json-schema.org/draft-04/json-schema-core.html) along with fake generators to provide consistent and meaningful fake data for your system. ## What's next? On `RC17` support for more keywords landed, but is still outdated from recent JSON-Schema drafts. - Many bugs were _gone_ and no new features were introduced this time, documentation is still incomplete. - Support for `not` keywords are still missing or partially working, please [read the docs](docs/USAGE.md) to see all supported keywords. Since `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](docs/). ## Contributors * [Alvaro Cabrera](https://twitter.com/pateketrueke) * [Tomasz Ducin](https://twitter.com/tomasz_ducin) * artwork by [Ajay Karat](http://www.devilsgarage.com/) > 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](.github/CONTRIBUTING.md) to learn how. ### We are looking for your help! We have a [gitter room](https://gitter.im/json-schema-faker) for this project, if you want to contribute, talk about specific issues from the library, or you need help on json-schema topics just reach out to us! Please take a look at [the technical documentation page](docs/). > If you think `json-schema-faker` is adding value on what you're doing please consider [buying me a coffee](http://ko-fi.com/pateketrueke). > > Also, you can support the project via [Open Collective](https://opencollective.com/json-schema-faker/donate).