0.0.2 • Published 5 years ago

flextag-mapper-cli v0.0.2

Weekly downloads
2
License
MIT
Repository
github
Last release
5 years ago

flextag-mapper-cli

NPM version

A command line interface for the flextag-mapper tool.


Example

$ cd example/hello
$ cat data.flextag
Hello World! 
Good evening Human.
$ cat default.mapspec
Good (morning|evening) ?name

Hello ?location!
$ flextag-parse data.flextag
[ { location: 'World' }, { name: 'Human' } ]
$ flextag-parse data.flextag | flextag-unparse 
Hello World! 
Good morning Human