JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 28338
  • Score
    100M100P100Q168727F

Write YAML. Converts JSON to YAML writes it to the specified file.

Package Exports

  • write-yaml

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (write-yaml) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

write-yaml NPM version

Write YAML. Converts JSON to YAML writes it to the specified file.

Install

npm

npm i write-yaml --save

Usage

var yaml = require('write-yaml');

yaml('.travis.yml', {
  "language": "node_js",
  "node_js": [
    "0.10",
    "0.11"
  ]
});

Results in:

language: node_js
node_js:
  - "0.10"
  - "0.11"

Author

Jon Schlinkert

License

Copyright (c) 2014 Jon Schlinkert, contributors.
Released under the MIT license


This file was generated by verb-cli on November 06, 2014.