An open API service indexing awesome lists of open source software.

https://github.com/alimehasin/dunna

Generate random data joyfully
https://github.com/alimehasin/dunna

data fake javascript nodejs typescript

Last synced: 4 months ago
JSON representation

Generate random data joyfully

Awesome Lists containing this project

README

          

# Dunna

Dunna generates random data based on given parameters

## Get started

### Installation

```sh
# Using npm
npm install dunna
```

```sh
# Using yarn
yarn add dunna
```

### Import dunna

```ts
import { dunna } from "dunna";
```

### Calling dunna functions

```ts
import { dunna } from "dunna";

// Get a random integer
dunna.basic.integer();

// Get a random female name
dunna.person.firstName({ gender: "female" });

// Get a random city name
dunna.location.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.](https://github.com/alimehasin/dunna/blob/main/CONTRIBUTING.md)

### Contributors