node-red-mocknode
v0.1.6
Published
A Node-RED node to gen Data by mockjs
Downloads
4
Maintainers
Readme
node-red-mocknode
A Node-RED node to create a mockdata for test-cases.
Install
Run the following command in your Node-RED user directory - typically ~/.node-red
npm install node-red-mocknode
Usage
Example
The example flow below produces a JSON string which is then converted into an object, for example:
{ "array|3": [ "Hello", "Mock.js", "!" ]}