1.1.1 • Published 3 years ago

generaterandomjson v1.1.1

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

generaterandomjson

Replaces tokens in a JSON

Install

$ npm install generaterandomjson

Usage

It takes a JSON with the predefined tokens to replace and returns a JSON

/**
 * Replaces TOKENS
 *
 * Current TOKENS
 * WHOLE10 WHOLE100 WHOLE1000
 * WHOLE-1TO4
 * TRUEORFALSE
 *
 */
const generaterandomjson = require("generaterandomjson");

generaterandomjson({foo: "WHOLE100" })
// return {foo: 42}
1.1.1

3 years ago

1.1.0

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