{"_id":"helper-changelog","_rev":"6-e47f0ac144d6f561033ee8c1cb49a7f8","name":"helper-changelog","description":"Template helper for generating a markdown-formatted changelog from an object, array or yaml file.","dist-tags":{"latest":"0.3.0"},"versions":{"0.1.0":{"name":"helper-changelog","description":"Template helper for generating a markdown-formatted changelog from an object, array or yaml file.","version":"0.1.0","homepage":"https://github.com/jonschlinkert/helper-changelog","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git://github.com/jonschlinkert/helper-changelog.git"},"bugs":{"url":"https://github.com/jonschlinkert/helper-changelog/issues"},"license":{"type":"MIT","url":"https://github.com/jonschlinkert/helper-changelog/blob/master/LICENSE"},"files":["index.js"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"mixin-deep":"^1.0.1","stringify-changelog":"^0.1.0"},"devDependencies":{"mocha":"*","moment":"^2.9.0","should":"*","template":"^0.12.4"},"gitHead":"ecff5a03e98eacaaf3b92dea946f95f391758151","_id":"helper-changelog@0.1.0","_shasum":"1c952d96d89f62615e39d7ccdfdce1b0ca3a2dd5","_from":".","_npmVersion":"2.5.1","_nodeVersion":"0.12.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"1c952d96d89f62615e39d7ccdfdce1b0ca3a2dd5","tarball":"https://registry.npmjs.org/helper-changelog/-/helper-changelog-0.1.0.tgz","integrity":"sha512-qIsU23eWEZ0/ks0L7cvOufjOWSq/Og+Cmql7Mf3ilYVakrWmOh9LWx68VP+jWt7l3ADBS2qb3A0LvqLDxERJiA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCYABGv3sqB+Dob3JXsKYYiYjFOnwMQ23SbgXx/ZvhM5wIhANdniQsDiIsKSjZLaXMPVYdd6spFMWaF1OtkWtSg/MtW"}]}},"0.2.0":{"name":"helper-changelog","description":"Template helper for generating a markdown-formatted changelog from an object, array or yaml file.","version":"0.2.0","homepage":"https://github.com/helpers/helper-changelog","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/helpers/helper-changelog.git"},"bugs":{"url":"https://github.com/helpers/helper-changelog/issues"},"license":"MIT","files":["index.js","LICENSE","README.md"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"mixin-deep":"^1.1.3","stringify-changelog":"^0.2.0"},"devDependencies":{"engine-base":"^0.1.2","gulp-format-md":"^0.1.9","mocha":"^2.5.3","moment":"^2.14.1","templates":"^0.24.2"},"keywords":["changelog","helper","helpers","render","template","templates"],"verb":{"toc":false,"layout":"common-minimal","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"related":{"list":[]},"reflinks":["keep-a-changelog","stringify-changelog"]},"gitHead":"0d3fd7cc09bb256c1d22b7c4b3ae541b4efedc95","_id":"helper-changelog@0.2.0","_shasum":"af0956c3cc9d71bc68aed7009d34bad11da2d1ad","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"af0956c3cc9d71bc68aed7009d34bad11da2d1ad","tarball":"https://registry.npmjs.org/helper-changelog/-/helper-changelog-0.2.0.tgz","integrity":"sha512-rJnXXDMUlVTLWDWWMxNSJ/CKCsdkCDlW4OKJ2kA/DH0HorNDXKTY7pkPC7DjIiD5SCcgNdC3GIpXFzYwI2al0A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHUhcbhuTPpnb1mmg2XQkim/YsfSck4xo//iIapY+VNsAiEAuu3iCkzldgkA46ti40iFwm1O6/RPx4c42akNMx7o0N4="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/helper-changelog-0.2.0.tgz_1469093870973_0.31236126995645463"}},"0.3.0":{"name":"helper-changelog","description":"Template helper for generating a markdown-formatted changelog from an object, array or yaml file.","version":"0.3.0","homepage":"https://github.com/helpers/helper-changelog","author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"repository":{"type":"git","url":"git+https://github.com/helpers/helper-changelog.git"},"bugs":{"url":"https://github.com/helpers/helper-changelog/issues"},"license":"MIT","files":["index.js","LICENSE","README.md"],"main":"index.js","engines":{"node":">=0.10.0"},"scripts":{"test":"mocha"},"dependencies":{"extend-shallow":"^2.0.1","stringify-changelog":"^0.2.1"},"devDependencies":{"engine-base":"^0.1.2","gulp-format-md":"^0.1.9","mocha":"^2.5.3","moment":"^2.14.1","templates":"^0.24.2"},"keywords":["changelog","helper","helpers","render","template","templates"],"verb":{"toc":false,"layout":"common-minimal","tasks":["readme"],"plugins":["gulp-format-md"],"lint":{"reflinks":true},"related":{"list":[]},"reflinks":["keep-a-changelog","stringify-changelog"]},"gitHead":"bd24c2f7a603d6883f8fcde5782e438c64f346ae","_id":"helper-changelog@0.3.0","_shasum":"df7f2781ff56fe0c142fd220d8a816360f4d1727","_from":".","_npmVersion":"3.10.3","_nodeVersion":"6.3.0","_npmUser":{"name":"jonschlinkert","email":"github@sellside.com"},"maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"dist":{"shasum":"df7f2781ff56fe0c142fd220d8a816360f4d1727","tarball":"https://registry.npmjs.org/helper-changelog/-/helper-changelog-0.3.0.tgz","integrity":"sha512-EVg99ubwRkzoz+xqdXMrP9yOu36A6wv0gQmMpXE5OPdBTiHX48hs2Hzz/sxc9FWB9+CEriJubrmCTx3c0M4xpQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA1wiQvYa9LwyfnupayuSfBJ6cHWHLO9Ffaj7qlZAFcdAiBvcFbJtnFPCz8ycE2uKUNoZq+SNQq2hivxHi6ThU10LA=="}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/helper-changelog-0.3.0.tgz_1469095196063_0.11231355206109583"}}},"readme":"# helper-changelog [![NPM version](https://img.shields.io/npm/v/helper-changelog.svg?style=flat)](https://www.npmjs.com/package/helper-changelog) [![NPM downloads](https://img.shields.io/npm/dm/helper-changelog.svg?style=flat)](https://npmjs.org/package/helper-changelog) [![Build Status](https://img.shields.io/travis/helpers/helper-changelog.svg?style=flat)](https://travis-ci.org/helpers/helper-changelog)\n\nTemplate helper for generating a markdown-formatted changelog from an object, array or yaml file.\n\n## What is this?\n\nThis is a template helper that takes a `changelog` object, array, or filepath to a changelog file, and converts it to a markdown formatted changelog that looks something like this:\n\n```\n### [v0.2.0] - 2016-12-26\n\n**fixed**\n\n- Fixed [bug 10,997]\n\n### [v0.1.0] - 2016-12-25\n\n**deprecated**\n\n- Deprecated `.foo` and `.bar`\n\n**changed**\n\n- Changed behavior of `.baz`\n```\n\nSee [stringify-changelog](https://github.com/jonschlinkert/stringify-changelog) for details.\n\n## Usage\n\n```js\nvar changelog = require('helper-changelog');\n```\n\n## API\n\n```js\n<%= changelog(value, locals) %>\n```\n\n### Params\n\n* `value` **{String|Object|Array}**: If the value is a string it will be regarded as a filepath. Supported file formats are yaml, json, and markdown.\n* `locals`: Locals or options to pass to [stringify-changelog](https://github.com/jonschlinkert/stringify-changelog). If a markdown file is passed, and it follows [keep-a-changelog][] conventions, the helper will attempt to generate [reflinks](#reflinks) to match the headings.\n\n**Note**: When a filepath is passed, the _file name can be anything, but the extension is used for determining how to parse the file_:\n\n```js\n// file path to a valid yaml file\n<%= changelog(\"CHANGELOG\") %>\n<%= changelog(\"CHANGELOG.yml\") %>\n<%= changelog(\"CHANGELOG.yaml\") %>\n\n// file path to a valid JSON file\n<%= changelog(\"CHANGELOG.json\") %>\n\n// changelog object passed as a variable on the context\n<%= changelog(changes) %>\n\n// changelog object passed as locals\n<%= changelog({ \n  \"v0.1.0\": { \n    date: \"2016-12-26\", \n    changes: [ \"Got stuck in another chimney.\" ] \n  }\n}) %>\n\n// changelog array passed as locals\n<%= changelog([\n  {\n    date: \"2016-12-26\", \n    version: \"v0.1.0\", \n    changes: [ \"Got stuck in another chimney.\" ]\n  }\n]) %>\n```\n\n**YAML**\n\nThe contents of the file must be valid YAML following this format:\n\n```yaml\nv0.1.0:\n  date: \"2016-12-26\"\n  changes:\n    - Got stuck in another chimney.\n```\n\nSee [stringify-changelog](https://github.com/jonschlinkert/stringify-changelog) for additional options.\n\n## About\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Running tests\n\nInstall dev dependencies:\n\n```sh\n$ npm install -d && npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](http://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2016, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT license](https://github.com/helpers/helper-changelog/blob/master/LICENSE).\n\n***\n\n_This file was generated by [verb](https://github.com/verbose/verb), v0.9.0, on July 21, 2016._","maintainers":[{"name":"jonschlinkert","email":"github@sellside.com"}],"time":{"modified":"2022-06-18T20:07:31.660Z","created":"2015-03-16T16:02:49.653Z","0.1.0":"2015-03-16T16:02:49.653Z","0.2.0":"2016-07-21T09:37:52.589Z","0.3.0":"2016-07-21T09:59:58.059Z"},"homepage":"https://github.com/helpers/helper-changelog","repository":{"type":"git","url":"git+https://github.com/helpers/helper-changelog.git"},"author":{"name":"Jon Schlinkert","url":"https://github.com/jonschlinkert"},"bugs":{"url":"https://github.com/helpers/helper-changelog/issues"},"license":"MIT","readmeFilename":"README.md","keywords":["changelog","helper","helpers","render","template","templates"]}