exp-mock-light
v2.0.26
Published
Parse expressions, generate mock data.
Readme
exp-mock-light
Parse expressions and generate mock data.
This library mainly contains three functions.
DEMO
const {mockExp, parseExp} = require('exp-mock-light');
_.forEach([
`{{name|md5|sha1}}`
], (item) => {
console.log(item,'==>',mockExp(item, { name: "John" },'ja'))
});