duo-yaml

0.0.1 • Public • Published

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 ...

Package Sidebar

Install

npm i duo-yaml

Weekly Downloads

1

Version

0.0.1

License

MIT

Last publish

Collaborators

  • jasonkuhrt