{"_id":"grunt-yaml","_rev":"27-7b6c3b77684ba3866eacb6abb3c96c21","name":"grunt-yaml","description":"Compiles YAML to JSON.","dist-tags":{"latest":"0.4.2"},"versions":{"0.1.0":{"name":"grunt-yaml","description":"Compiles YAML to JSON.","version":"0.1.0","homepage":"https://github.com/shiwano/grunt-yaml","author":{"name":"Shogo Iwano","email":"shiwano@gmail.com","url":"http://shiwano.com/"},"repository":{"type":"git","url":"git://github.com/shiwano/grunt-yaml.git"},"bugs":{"url":"https://github.com/shiwano/grunt-yaml/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shiwano/grunt-yaml/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.1.0","grunt-contrib-clean":"~0.4.0a","grunt-contrib-nodeunit":"~0.1.0","grunt":"~0.4.0a"},"keywords":["gruntplugin"],"dependencies":{"js-yaml":"~1.0.3","async":"~0.1.22","underscore":"~1.4.3"},"_id":"grunt-yaml@0.1.0","dist":{"shasum":"375d0daa422cf89ea1c538d360f3df17da5c3a19","tarball":"https://registry.npmjs.org/grunt-yaml/-/grunt-yaml-0.1.0.tgz","integrity":"sha512-wKYEUncgcR2qAOICo49VPQcT2v/vEVa41BO5uck2qTXyzc0h2YpErDGTERZJtbe0lOJoTODkJrus7Gh3HOOYdw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD8W0IQmmqoDLz2Mo4OTWiisDf0XESSM0qnRN2k6OFt3QIgJ+rSiKd5B7MY1BKUo8RExO97ssUynsz8HIm6evPbqFs="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"shiwano","email":"shiwano@gmail.com"},"maintainers":[{"name":"shiwano","email":"shiwano@gmail.com"}],"directories":{}},"0.1.1":{"name":"grunt-yaml","description":"Compiles YAML to JSON.","version":"0.1.1","homepage":"https://github.com/shiwano/grunt-yaml","author":{"name":"Shogo Iwano","email":"shiwano@gmail.com","url":"http://shiwano.com/"},"repository":{"type":"git","url":"git://github.com/shiwano/grunt-yaml.git"},"bugs":{"url":"https://github.com/shiwano/grunt-yaml/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shiwano/grunt-yaml/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1rc6","grunt-contrib-clean":"~0.4.0rc6","grunt-contrib-nodeunit":"~0.1.2rc6","grunt":"~0.4.0a"},"keywords":["gruntplugin"],"dependencies":{"js-yaml":"~1.0.3","async":"~0.1.22"},"_id":"grunt-yaml@0.1.1","dist":{"shasum":"c0c67c80e6368927d8ae9e56231c55c2d00e2fb0","tarball":"https://registry.npmjs.org/grunt-yaml/-/grunt-yaml-0.1.1.tgz","integrity":"sha512-kHJt//PWEkqAeykeoEsgvkBl9uUCybwv3zlH84FNluI825U3nZ9Gxbpjf7QASjl9ij5vTu3ff8o1WG4406KAOA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDlectut+9z8CJebqKra5mSHoiv1XIu1f/YExE9WP9ZJwIgKOz5WjgzbKUktuRfoDreZzb6cjAdR+VbTIdWidNhIY8="}]},"_npmVersion":"1.1.69","_npmUser":{"name":"shiwano","email":"shiwano@gmail.com"},"maintainers":[{"name":"shiwano","email":"shiwano@gmail.com"}],"directories":{}},"0.1.2":{"name":"grunt-yaml","description":"Compiles YAML to JSON.","version":"0.1.2","homepage":"https://github.com/shiwano/grunt-yaml","author":{"name":"Shogo Iwano","email":"shiwano@gmail.com","url":"http://shiwano.com/"},"repository":{"type":"git","url":"git://github.com/shiwano/grunt-yaml.git"},"bugs":{"url":"https://github.com/shiwano/grunt-yaml/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shiwano/grunt-yaml/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.0"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["gruntplugin"],"dependencies":{"js-yaml":"~1.0.3","async":"~0.1.22"},"_id":"grunt-yaml@0.1.2","dist":{"shasum":"0d17b0538d0e0a80944a008357f01f9b7483db86","tarball":"https://registry.npmjs.org/grunt-yaml/-/grunt-yaml-0.1.2.tgz","integrity":"sha512-b9+pSggaRR2lU50DZjiYozsOPnm8re2mK919Wx0fXDv7AUAMK/wUgg8k0eosIRNN7LI5v4ycWB8WT9MmXrLngQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAT88VpwOSwlnPHMHFdKUtkrJdchaJo1ne/uxXDfK/S8AiEA6nAExUbh4XZYXgxZ/j0OE5JYqpFy//RtxdcSowETUns="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"shiwano","email":"shiwano@gmail.com"},"maintainers":[{"name":"shiwano","email":"shiwano@gmail.com"}],"directories":{}},"0.2.0":{"name":"grunt-yaml","description":"Compiles YAML to JSON.","version":"0.2.0","homepage":"https://github.com/shiwano/grunt-yaml","author":{"name":"Shogo Iwano","email":"shiwano@gmail.com","url":"http://shiwano.com/"},"repository":{"type":"git","url":"git://github.com/shiwano/grunt-yaml.git"},"bugs":{"url":"https://github.com/shiwano/grunt-yaml/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shiwano/grunt-yaml/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.0"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["gruntplugin"],"dependencies":{"js-yaml":"~1.0.3","async":"~0.1.22"},"_id":"grunt-yaml@0.2.0","dist":{"shasum":"151eee05c031e6d0beeef321547e7548da93d5ee","tarball":"https://registry.npmjs.org/grunt-yaml/-/grunt-yaml-0.2.0.tgz","integrity":"sha512-rNK5QtH3GAljQaNzcT+2WZkf04INtX4A+x4uVoXcG7Ge/dKSLjsRPAVONxWIyfeElrnkwJ7UpSw+90z3Pn+lmQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEp0688S2SUq+FhABV0JALZfgz9l2VsJxCBXR/e9LhV1AiAng6WzbIOK8SGO/hXHIDJ+hy17HiT2rLc2CWnXqG5erw=="}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"shiwano","email":"shiwano@gmail.com"},"maintainers":[{"name":"shiwano","email":"shiwano@gmail.com"}],"directories":{}},"0.2.1":{"name":"grunt-yaml","description":"Compiles YAML to JSON.","version":"0.2.1","homepage":"https://github.com/shiwano/grunt-yaml","author":{"name":"Shogo Iwano","email":"shiwano@gmail.com","url":"http://shiwano.com/"},"repository":{"type":"git","url":"git://github.com/shiwano/grunt-yaml.git"},"bugs":{"url":"https://github.com/shiwano/grunt-yaml/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shiwano/grunt-yaml/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.0"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["gruntplugin"],"dependencies":{"js-yaml":"~1.0.3","async":"~0.1.22"},"_id":"grunt-yaml@0.2.1","dist":{"shasum":"9e6d878ee97cb2dff1aa1681df3f65ea10c1d070","tarball":"https://registry.npmjs.org/grunt-yaml/-/grunt-yaml-0.2.1.tgz","integrity":"sha512-um08zJk1tEOOgeJ4eSN7O+P7UDOpL1Qf1mXYONEAnFCBT7X9TmK0H6J0pl+J+ZmRXOa6jar2XPEfee/K80ILNg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDxsNdaPUiGg2hCRy9l+AqGZRmZUJYFvjxaR5OTsFhnagIhANu/EN1Qz3q/DhuyvUrDPQFuUKAV4bvCyn+0KnFxsHfz"}]},"_from":".","_npmVersion":"1.2.18","_npmUser":{"name":"shiwano","email":"shiwano@gmail.com"},"maintainers":[{"name":"shiwano","email":"shiwano@gmail.com"}],"directories":{}},"0.2.2":{"name":"grunt-yaml","description":"Compiles YAML to JSON.","version":"0.2.2","homepage":"https://github.com/shiwano/grunt-yaml","author":{"name":"Shogo Iwano","email":"shiwano@gmail.com","url":"http://shiwano.com/"},"repository":{"type":"git","url":"git://github.com/shiwano/grunt-yaml.git"},"bugs":{"url":"https://github.com/shiwano/grunt-yaml/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shiwano/grunt-yaml/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.1.1","grunt-contrib-clean":"~0.4.0","grunt-contrib-nodeunit":"~0.1.2","grunt":"~0.4.0"},"peerDependencies":{"grunt":"~0.4.0"},"keywords":["gruntplugin"],"dependencies":{"js-yaml":"~1.0.3","async":"~0.1.22"},"_id":"grunt-yaml@0.2.2","dist":{"shasum":"453d9eb2895531adb80de45f6f49043738a2e7cd","tarball":"https://registry.npmjs.org/grunt-yaml/-/grunt-yaml-0.2.2.tgz","integrity":"sha512-0YABMPo1bcP0ybJZfb4NIOkoIfNYbz3yQyzqWrG9O+uMyA5LAUzq27l+gy8ovYR13pcfOf8OIJFJmPNTKhCrWQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCk8nHWBaCVdOhs+pNqDCNXE028YeB89Od+qgMkhisINwIgcvL2fF5mSE2SHKTSwMTj2Abcx/BgmdGYuXECu1uGC5Q="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"shiwano","email":"shiwano@gmail.com"},"maintainers":[{"name":"shiwano","email":"shiwano@gmail.com"}],"directories":{}},"0.3.0":{"name":"grunt-yaml","description":"Compiles YAML to JSON.","version":"0.3.0","homepage":"https://github.com/shiwano/grunt-yaml","author":{"name":"Shogo Iwano","email":"shiwano@gmail.com","url":"http://shiwano.com/"},"repository":{"type":"git","url":"git://github.com/shiwano/grunt-yaml.git"},"bugs":{"url":"https://github.com/shiwano/grunt-yaml/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shiwano/grunt-yaml/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.8.0","grunt-contrib-clean":"~0.5.0","grunt-contrib-nodeunit":"~0.2.2","grunt":"~0.4.2"},"peerDependencies":{"grunt":"~0.4.2"},"keywords":["gruntplugin"],"dependencies":{"js-yaml":"~3.0.1","async":"~0.2.9","lodash":"~2.4.1"},"_id":"grunt-yaml@0.3.0","dist":{"shasum":"0f4f89ebf0db43c77fca12420ed8b39e4ae155a1","tarball":"https://registry.npmjs.org/grunt-yaml/-/grunt-yaml-0.3.0.tgz","integrity":"sha512-UhoMwnndXtTpqOBQ3qt4klb/iqEtbew0XmzoXFJEC1Dex9sKeh2uMpxeRqCA0/HdAtUNbw9Hm6QZ0akZrqMBbw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIATWScqU0OX5JArd2/voniriw5Okkueh9mV6W4TkhE5pAiA2LN1iH8H5Anqpd7tEbY0hmwCOL6Xy883XnUI4eLHdLg=="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"shiwano","email":"shiwano@gmail.com"},"maintainers":[{"name":"shiwano","email":"shiwano@gmail.com"}],"directories":{}},"0.3.1":{"name":"grunt-yaml","description":"Compiles YAML to JSON.","version":"0.3.1","homepage":"https://github.com/shiwano/grunt-yaml","author":{"name":"Shogo Iwano","email":"shiwano@gmail.com","url":"http://shiwano.com/"},"repository":{"type":"git","url":"git://github.com/shiwano/grunt-yaml.git"},"bugs":{"url":"https://github.com/shiwano/grunt-yaml/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shiwano/grunt-yaml/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.8.0","grunt-contrib-clean":"~0.5.0","grunt-contrib-nodeunit":"~0.2.2","grunt":"~0.4.2"},"peerDependencies":{"grunt":"~0.4.2"},"keywords":["gruntplugin"],"dependencies":{"js-yaml":"~3.0.1","lodash":"~2.4.1"},"_id":"grunt-yaml@0.3.1","dist":{"shasum":"004840bc8da4c79569ea8d3312f15f4f5798b6d9","tarball":"https://registry.npmjs.org/grunt-yaml/-/grunt-yaml-0.3.1.tgz","integrity":"sha512-52LvhCIJ17cHrhFLolmWOTSJZS30w1Y5PNT3mi5nmJT/c7rtA/5Zn9oAhBMYEtKXTWvk7j75ZRUhKiE9FzgVuw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCdzfKjspYuHuNYkQp0JMrBxNfetVllN3qTgeBWER2uyAIhAPtOXD5fP9U/tXk1sQ4kyagauvqPMjmWJFxH8vz7AeiM"}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"shiwano","email":"shiwano@gmail.com"},"maintainers":[{"name":"shiwano","email":"shiwano@gmail.com"}],"directories":{}},"0.4.0":{"name":"grunt-yaml","description":"Compiles YAML to JSON.","version":"0.4.0","homepage":"https://github.com/shiwano/grunt-yaml","author":{"name":"Shogo Iwano","email":"shiwano@gmail.com","url":"http://shiwano.com/"},"repository":{"type":"git","url":"git://github.com/shiwano/grunt-yaml.git"},"bugs":{"url":"https://github.com/shiwano/grunt-yaml/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shiwano/grunt-yaml/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.8.0","grunt-contrib-clean":"~0.5.0","grunt-contrib-nodeunit":"~0.2.2","grunt":"~0.4.2"},"peerDependencies":{"grunt":"~0.4.2"},"keywords":["gruntplugin"],"dependencies":{"js-yaml":"~3.0.1","lodash":"~2.4.1"},"_id":"grunt-yaml@0.4.0","dist":{"shasum":"8b05e9cb00ddf183a8ec400ab7360b267de210cd","tarball":"https://registry.npmjs.org/grunt-yaml/-/grunt-yaml-0.4.0.tgz","integrity":"sha512-oObqi0Bc3hO1/Lf7KNAYvaGjKtC8pEwA7kww6WXkS7qIXcDVv7K+S6SF98tFBzYkPeY8swfewGcWoNaL2w5PHg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDjbG4CcrDnKcQrYqBHW3quZg/vESVSiUg/WBlOgEmgLAiEAxdSfb8UbWUSaCHpxsO4qI6kD6G6Gr5wjElrIfQLt5rA="}]},"_from":".","_npmVersion":"1.3.21","_npmUser":{"name":"shiwano","email":"shiwano@gmail.com"},"maintainers":[{"name":"shiwano","email":"shiwano@gmail.com"}]},"0.4.1":{"name":"grunt-yaml","description":"Compiles YAML to JSON.","version":"0.4.1","homepage":"https://github.com/shiwano/grunt-yaml","author":{"name":"Shogo Iwano","email":"shiwano@gmail.com","url":"http://shiwano.com/"},"repository":{"type":"git","url":"git://github.com/shiwano/grunt-yaml.git"},"bugs":{"url":"https://github.com/shiwano/grunt-yaml/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shiwano/grunt-yaml/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":"~0.8.0","grunt-contrib-clean":"~0.5.0","grunt-contrib-nodeunit":"~0.2.2","grunt":"~0.4.2"},"peerDependencies":{"grunt":"~0.4.2"},"keywords":["gruntplugin"],"dependencies":{"js-yaml":"~3.0.1","lodash":"~2.4.1"},"_id":"grunt-yaml@0.4.1","dist":{"shasum":"19a6dc068d4350af2a41833d7a081cf187e817a5","tarball":"https://registry.npmjs.org/grunt-yaml/-/grunt-yaml-0.4.1.tgz","integrity":"sha512-5JdRiSvi01HHo+ZNLT5dL3DOVYWnpaa4LF3kfb9Lo/wzTTWfFlayhHfmjeaDDlJ68BBKlcNG4LcAugNdNX9NlA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCWxVk+54A5QViiQfidHmvkOJmtrlJlQH9pDfOGkYhNfgIhAOfUh63nV0ssECvTYeHTQf28KL1suNM4s7SX2SJUgQHh"}]},"_from":".","_npmVersion":"1.3.24","_npmUser":{"name":"shiwano","email":"shiwano@gmail.com"},"maintainers":[{"name":"shiwano","email":"shiwano@gmail.com"}]},"0.4.2":{"name":"grunt-yaml","description":"Compiles YAML to JSON.","version":"0.4.2","homepage":"https://github.com/shiwano/grunt-yaml","author":{"name":"Shogo Iwano","email":"shiwano@gmail.com","url":"http://shiwano.com/"},"repository":{"type":"git","url":"git://github.com/shiwano/grunt-yaml.git"},"bugs":{"url":"https://github.com/shiwano/grunt-yaml/issues"},"licenses":[{"type":"MIT","url":"https://github.com/shiwano/grunt-yaml/blob/master/LICENSE-MIT"}],"main":"Gruntfile.js","engines":{"node":">= 0.8.0"},"scripts":{"test":"grunt test"},"devDependencies":{"grunt-contrib-jshint":">=0.8.0","grunt-contrib-clean":">=0.5.0","grunt-contrib-nodeunit":">=0.2.2","grunt":">=0.4.2"},"peerDependencies":{"grunt":">=0.4.2"},"keywords":["gruntplugin"],"dependencies":{"js-yaml":"~3.0.1","lodash":">=2.4.1"},"gitHead":"9f026f842e5c04bad037dda44e91c2d19e5a7be4","_id":"grunt-yaml@0.4.2","_shasum":"4abf62b2880a9ee4c3dfd6e4b5c74fe5419b0a48","_from":".","_npmVersion":"3.5.2","_nodeVersion":"4.2.1","_npmUser":{"name":"shiwano","email":"shiwano@gmail.com"},"maintainers":[{"name":"shiwano","email":"shiwano@gmail.com"}],"dist":{"shasum":"4abf62b2880a9ee4c3dfd6e4b5c74fe5419b0a48","tarball":"https://registry.npmjs.org/grunt-yaml/-/grunt-yaml-0.4.2.tgz","integrity":"sha512-/JCsc8mAzS3qYTGwsT64k0ysgQsUnTx98z0jysM0rUOsMb663Jft/cFvR30oplF3TL60X7GE87k29IxHkDLBJA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHxCO0C5KYzabObDIflW1Zl0pIQVZC9XszM+Xi+h4C4YAiEA/B6MHNBvnBVmD4EdAz5mvGrJVbvwimuExO+GTObxe20="}]},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/grunt-yaml-0.4.2.tgz_1456234582160_0.8831400210037827"}}},"readme":"# grunt-yaml [![Build Status](https://secure.travis-ci.org/shiwano/grunt-yaml.png?branch=master)](http://travis-ci.org/shiwano/grunt-yaml)\n\n> Compiles YAML to JSON.\n\n## Getting Started\n_If you haven't used [grunt][] before, be sure to check out the [Getting Started][] guide._\n\nFrom the same directory as your project's [Gruntfile][Getting Started] and [package.json][], install this plugin with the following command:\n\n```bash\nnpm install grunt-yaml --save-dev\n```\n\nOnce that's done, add this line to your project's Gruntfile:\n\n```js\ngrunt.loadNpmTasks('grunt-yaml');\n```\n\nIf the plugin has been installed correctly, running `grunt --help` at the command line should list the newly-installed plugin's task or tasks. In addition, the plugin should be listed in package.json as a `devDependency`, which ensures that it will be installed whenever the `npm install` command is run.\n\n[grunt]: http://gruntjs.com/\n[Getting Started]: https://github.com/gruntjs/grunt/blob/devel/docs/getting_started.md\n[package.json]: https://npmjs.org/doc/json.html\n\n## The \"yaml\" task\n\n### Overview\nIn your project's Gruntfile, add a section named `yaml` to the data object passed into `grunt.initConfig()`.\n\n```js\ngrunt.initConfig({\n  yaml: {\n    your_target: {\n      options: {\n        ignored: /^_/,\n        space: 4,\n        customTypes: {\n          '!include scalar': function(value, yamlLoader) {\n            return yamlLoader(value);\n          },\n          '!max sequence': function(values) {\n            return Math.max.apply(null, values);\n          },\n          '!extend mapping': function(value, yamlLoader) {\n            return _.extend(yamlLoader(value.basePath), value.partial);\n          }\n        }\n      },\n      files: [\n        {expand: true, cwd: 'yaml_directory/', src: ['**/*.yml'], dest: 'output_directory/'}\n      ]\n    },\n  },\n})\n```\nIn a situation where you do not want to output a file, but want to manipulate the data on your own, you can provide a middleware function and disable the destination write process:\n\n```js\ngrunt.initConfig({\n  yaml: {\n    your_target: {\n      options: {\n        disableDest: true,    // Grunt will not create a config.json as per the destination of the files object\n        middleware: function(response, json, src, dest){\n          console.log(response);    // YAML data\n          console.log(json);        // Stringified JSON\n          console.log(src);         // Source file path\n          console.log(dest);        // Destination file path\n        },\n        space: 4\n      },\n      files: {\n        'config.json': ['config.yml']\n      }\n    },\n  },\n})\n```\n\n### Options\n\n#### options.ignored\nType: `RegExp` or `String`\nDefault value: `null`\n\nA value that specifies file pattern not to compile.\n\n#### options.space\nType: `Number`\nDefault value: `2`\n\nA value that is given to `JSON.stringify` for pretty-printing.\n\n#### options.customTypes\nType: `Object`\nDefault value: `{}`\n\nA Object that defines custom types to [js-yaml](https://github.com/nodeca/js-yaml). A Object key is a `tag` and `loadKind` pair which is separated with a white space (e.g. `!include scalar` or `!max sequence`, `!extend mapping`). A Object value is a wrapper of loadResolver function which take `value` and `yamlLoader` arguments.\n\nSee also js-yaml [document](https://github.com/nodeca/js-yaml/wiki/Custom-types).\n\n#### options.middleware\nType: `Function`\nDefault value: `function(response, json, src, dest) {}`\n\nA function which provides you an interface to manipulate the YAML before it becomes JSON, or manipulate the JSON after being stringified.\n\n#### options.disableDest\nType: `Boolean`\nDefault value: `false`\n\nA boolean flag which will prevent grunt-yaml from creating an output file if you would like to just work with the middleware function.\n\n#### options.strict\nType: `Boolean`\nDefault value: `false`\n\nA boolean flag which makes js-yaml to throw errors instead of warnings.\n\n#### options.readEncoding\nType: `String`\nDefault value: `grunt.file.defaultEncoding`\n\nAn override to the default buffer encoding used to read in the YAML file (`grunt.file.read`).\n\n#### options.writeEncoding\nType: `String`\nDefault value: `grunt.file.defaultEncoding`\n\nAn override to the default buffer encoding used to write out the JSON file (`grunt.file.write`).\n\n### Usage Examples\n\nSee [my repository](https://github.com/shiwano/cw-schema).\n\n## Contributing\nIn lieu of a formal styleguide, take care to maintain the existing coding style. Add unit tests for any new or changed functionality. Lint and test your code using [grunt][].\n\n## Release History\n * 2014-07-12   v0.4.1   Add `writeEncoding` and `readEncoding` options.\n * 2014-01-23   v0.4.0   Change yamlLoader behavior for showing the file name on js-yaml error, and add `strict` option.\n * 2014-01-18   v0.3.1   Use grunt.warn on js-yaml error.\n * 2014-01-17   v0.3.0   Introduce `customTypes` option for js-yaml v0.3.X. (Remove `constructors` option)\n * 2014-01-17   v0.2.2   Add src and dest path to middleware.\n * 2013-06-26   v0.2.1   Add `middleware` and `disableDest` options.\n * 2013-05-10   v0.2.0   Use `files` format.\n * 2013-04-14   v0.1.2   Support for grunt 0.4.0.\n * 2013-02-09   v0.1.1   Support for grunt 0.4.0rc7.\n * 2012-12-22   v0.1.0   First release.\n\n## License\nCopyright (c) 2012 Shogo Iwano\nLicensed under the MIT license.\n","maintainers":[{"name":"shiwano","email":"shiwano@gmail.com"}],"time":{"modified":"2022-06-18T16:20:31.824Z","created":"2012-12-22T14:55:45.306Z","0.1.0":"2012-12-22T14:55:47.542Z","0.1.1":"2013-02-09T00:10:47.601Z","0.1.2":"2013-04-14T08:09:25.962Z","0.2.0":"2013-05-09T18:06:05.603Z","0.2.1":"2013-06-26T13:21:40.574Z","0.2.2":"2014-01-17T13:46:54.044Z","0.3.0":"2014-01-17T18:38:23.871Z","0.3.1":"2014-01-18T04:23:17.851Z","0.4.0":"2014-01-23T13:31:22.970Z","0.4.1":"2014-07-12T04:29:51.613Z","0.4.2":"2016-02-23T13:36:26.549Z"},"author":{"name":"Shogo Iwano","email":"shiwano@gmail.com","url":"http://shiwano.com/"},"repository":{"type":"git","url":"git://github.com/shiwano/grunt-yaml.git"},"readmeFilename":"README.md","homepage":"https://github.com/shiwano/grunt-yaml","keywords":["gruntplugin"],"bugs":{"url":"https://github.com/shiwano/grunt-yaml/issues"}}