jstransformer-yaml

0.0.0 • Public • Published

jstransformer-yaml

YAML support for JSTransformers.

Installation

npm install jstransformer-yaml

API

You may also want to use jstransformer-json to change the format of the resulting JSON string.

const yaml = jstransformer(require('jstransformer-yaml'))
const string = `
this: foo
that:
  - bar
  - baz
`
yaml.render(string)
=> { body: '{"this":"foo","that":["bar","baz"]}',
     dependencies: [] }

License

Released into the public domain under the Unlicense.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.0
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.0
    1

Package Sidebar

Install

npm i jstransformer-yaml

Weekly Downloads

1

Version

0.0.0

License

Unlicense

Last publish

Collaborators

  • wolfgang42