To use Manta-Style, add the packages to your project.
The common package you will always need is the CLI. Then depending on which type system and mock plugins you will use, you will add specific packages as plugins.
Note: CLI could be only installed per project at the moment.
npm install --save-dev @manta-style/cli
Manta Style supports generation of mock data from different typing systems via binding builders. You need to add the corresponding builder plugin to your project.
npm install --save-dev @manta-style/builder-typescript
Check out docs on builder plugins for more information on currently supported builders and for information on implementing your own type systems.
Manta Style supports a handful of data generating features via plugins.
One major example is @manta-style/mock-faker
. This is a plugin that enables you to generate fake datas that look real.
You could check Plugins for the usages of official plugins. You could make our own plugins as well.