Dunna
Dunna generates random data based on given parameters
Get started
Installation
# Using npm
npm install dunna
# Using yarn
yarn add dunna
Import dunna
// ES6
import dunna from 'dunna';
// Commonjs
const dunna = require('dunna').default;
Calling dunna functions
import dunna from 'dunna';
// Get a random integer
dunna.integer();
// Get a random female name
dunna.firstName({ gender: 'female' });
// Get a random city name
dunna.cityName();
Support
If you want to support this project you can do so by giving us a star or tweeting about us.
And if you want to contribute to dunna please check the contribution guide.