1.0.7 • Published 3 years ago

random-object-gen v1.0.7

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

random-object-gen

An npm package exporting functions for generating random objects from a single template js object.

Install

Install just like any other npm package:

npm install random-object-gen

Usage

random-object-gen exports functions genRand and genRands that generate one or any number of random objects respectively from a single template. Templates can take the structure of any valid js object, including arbitrarily nested objects.

first steps after installation are to import at least genRand, genRands, or both:

import { genRands } from 'random-object-gen';
1.0.7

3 years ago

1.0.6

3 years ago

1.0.5

3 years ago

1.0.4

3 years ago

1.0.3

3 years ago

1.0.2

3 years ago

1.0.1

3 years ago

1.0.0

3 years ago