dummy
TypeScript icon, indicating that this package has built-in type declarations

0.1.6 • Public • Published

Dummy

Performant and lightweight dummy data generation.

Installation

To start using the library, install it in your project:

npm install dummy

After that, you can import dummy and use its data generation functions from anywhere in your app.

import { dummy } from 'dummy';

// ...

var randomId = dummy.string.uuid(); // d02e9296-7063-450c-9dfc-9edd73076c8d
var randomUsername = dummy.number.float(); // 14.21
var randomRegisteredAt = dummy.date.past(); // 2021-05-07T01:30:54.348Z

Documentation

You can find out more about the API and implementation soon.

Readme

Keywords

Package Sidebar

Install

npm i dummy

Weekly Downloads

120

Version

0.1.6

License

MIT

Unpacked Size

31.2 kB

Total Files

8

Last publish

Collaborators

  • gersti