Skip to content

A data generation library that helps mocking different schemes.

License

Notifications You must be signed in to change notification settings

jarrodek/data-mock

Repository files navigation

Data mock

A data generation library that helps mocking different schemes.

Usage

Installation

npm install --save @pawel-up/data-mock

Origin

This library started as a fork and a combination of two other great libraries: chance.js and faker.js. The basic data generation part is based on the two libraries. The difference is that this library is an ES module and it's goal is to mock well defined data structures.

When to use?

Most likely you want to use any of the original libraries as they have a getter support and community. This can be a not in-drop replacement if you need support for ESM. Also this project aims to generate mocked schemas and not just random basic values.

Development

git clone https://github.com/jarrodek/data-mock
cd data-mock
npm install

Running the demo locally

npm start

Running the tests

npm test

About

A data generation library that helps mocking different schemes.

Resources

License

Stars

Watchers

Forks

Packages

No packages published