A data generation library that helps mocking different schemes.
npm install --save @pawel-up/data-mock
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.
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.
git clone https://github.com/jarrodek/data-mock
cd data-mock
npm install
npm start
npm test