Runflower
Write basic data handling code as arrays of strings.
It's a way to get around environments that do not allow eval
or new Function
. User should be familiar with _.flow
and functional programming ideas.
Available function libraries
- lodash/fp
- understory
- prairie
Usage
const createString1 = _ const createString2 = const createString3 = const info = url: subdomain: 'dev' pathname: '/index.html' console // => trueconsole // => true
With YAML you can write things like:
---flow: - get: data - map: flow: - get: price - add: 10