1.1.1 • Published 4 years ago

generaterandomjson v1.1.1

Weekly downloads
-
License
MIT
Repository
-
Last release
4 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

4 years ago

1.1.0

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago