generaterandomjson

1.1.1 • Public • Published

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}

Readme

Keywords

none

Package Sidebar

Install

npm i generaterandomjson

Weekly Downloads

2

Version

1.1.1

License

MIT

Unpacked Size

1.34 kB

Total Files

3

Last publish

Collaborators

  • formatted