0.0.1 • Published 9 years ago

duo-yaml v0.0.1

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

duo-yaml build status

Seamlessly require .yaml or .yml within duo

Installation

npm install --save-dev duo-yaml

Example

# foobar.yaml
foo: 'bar'
foofn: !<tag:yaml.org,2002:js/function> "function bar(){ return 1 }"
console.log(require('./foobar.yaml'))
// after build will be: -> { foo: 'bar', foofn: [Function: bar] }
$ duo --use duo-yaml ...