yamli

0.0.1 • Public • Published

yamli

Yaml adds !include support to js-yaml.

Usage

foo.yaml

foo: !include bar.yaml

bar.yaml

bar: ~

example.js

var foo = yamli.load('foo.yaml')
console.log(foo)

Output:

{ foo: { bar: null } }

methods

yamli implements load, loadAll, safeLoad and safeLoadAll. All methods works like js-yaml except they expects a filename instead of an yaml string as first argument.

install

Using npm do:

$ npm install yaml

license

MIT

/yamli/

    Package Sidebar

    Install

    npm i yamli

    Weekly Downloads

    0

    Version

    0.0.1

    License

    MIT

    Last publish

    Collaborators

    • tellnes