eventlang-reduce
v0.1.0
Published
Reduce EventLang to YAML
Downloads
2
Readme
EventLang Reduce
Reduces an EventLang string to a Javascript object.
Installation
npm install --save eventlang-reduce
Usage
import evlReduce from 'eventlang-reduce'
console.log(evlReduce(
`2015-10-15:
name: Bond
2015-11-03:
name: James Bond
job: agent`
))
yields
{
name: "James Bond"
job: "agent"
}