{"name":"changelog","version":"1.4.0","description":"Command line tool (and Node module) that generates a changelog in color output, markdown, or json for modules in npmjs.org's registry as well as any public github.com repo.","keywords":["changelog","change log","commit messages","commits","changes","history","what's new","change set"],"preferGlobal":true,"homepage":"http://github.com/dylang/changelog","author":{"name":"Dylan Greene","email":"dylang@gmail.com"},"repository":{"type":"git","url":"git+https://github.com/dylang/changelog.git"},"bugs":{"url":"http://github.com/dylang/changelog/issues"},"directories":{"lib":"./lib","bin":"./bin"},"main":"lib/changelog","bin":{"changelog":"./bin/changelog.js"},"dependencies":{"chalk":"1.1.3","cli":"1.0.1","github-url-from-git":"^1.5.0","has-color":"0.1.7","lodash":"4.17.4","moment":"2.17.1","q":"1.4.1","request":"2.79.0","semver":"5.3.0","wordwrap":"1.0.0"},"engines":{"node":">= 0.10.0"},"devDependencies":{"chai":"3.5.0","grunt":"1.0.1","grunt-contrib-jshint":"1.1.0","grunt-contrib-watch":"1.0.0","grunt-mocha-test":"0.13.2","grunt-notify":"0.4.5","grunt-readme":"0.4.5","grunt-templates-dylang":"1.0.12","load-grunt-tasks":"3.5.2","mocha":"3.2.0","np":"2.16.0","proxyquire":"1.7.10","time-grunt":"1.4.0"},"scripts":{"np":"np","test":"grunt test"},"licenses":[{"type":"MIT","url":"http://github.com/dylang/changelog/raw/master/LICENSE"}],"gitHead":"3ee4982ed00901f6aaa2c607d60d2b206a5fa1d0","_id":"changelog@1.4.0","_npmVersion":"5.0.3","_nodeVersion":"6.9.4","_npmUser":{"name":"rarkins","email":"rhys@keylocation.sg"},"dist":{"integrity":"sha512-E1yCNtz6WYgf3DH0XjNgGBQV9/9z8MgdSz9iC5psqG3NEs8GI9ANwn9wtKCOW9xmuOJu5EKEUV8vIK+XGGxn/A==","shasum":"069214a4892f222db9a41d60ea768e080ef3f7bc","tarball":"http://registry-npm.ywwl.com/changelog/download/changelog-1.4.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD5vbPlQoQ8T39h4QlP9B20lKXcYM7oPNdTeikRlcPxEwIhALKfWvjws9B3zocP8TkJyMZzhGVBSwTFFt+puRIiHGlc"}],"size":173279,"noattachment":false,"key":"/changelog/-/changelog-1.4.0.tgz"},"maintainers":[{"email":"rhys@keylocation.sg","name":"rarkins"},{"email":"dylang@gmail.com","name":"dylang"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/changelog-1.4.0.tgz_1499491687354_0.7393356030806899"},"readme":"## changelog [![NPM version](https://badge.fury.io/js/changelog.png)](http://badge.fury.io/js/changelog)  [![Build Status](https://travis-ci.org/dylang/changelog.png)](https://travis-ci.org/dylang/changelog) \n\n> Command line tool (and Node module) that generates a changelog in color output, markdown, or json for modules in npmjs.org's registry as well as any public github.com repo.\n\n[![changelog](https://nodei.co/npm/changelog.png?downloads=true \"changelog\")](https://nodei.co/npm/changelog)\n\n\n\n\n\n\n\n\n### Command-line Usage\n\n\n#### Node Modules in NPM\n\n\nModules do not need to be installed to generate changelog but they must define their `repository url` in their package.json.\n\n![Example using Express](https://github.com/dylang/changelog/raw/master/examples/express.png)\n\n```sh\n$ changelog {npm module name} [release] [options]\n```\n\n`npm module`: The module name, such as `express`, `npm`, `grunt`, etc.\n\n\n#### Any Public Github.com Repository\n\nChangelog also works on any public Github repo.\n\n\n```sh\n$ changelog {Github.com repo} [options]\n```\n\n`Github.com repo url`: Urls can be any format, such as `https://github.com/dylang/changelog` or `git@github.com:dylang/changelog.git` or even just `dylang/changelog`.\n\n\n#### Help\n\n\n`changelog --help`\n\n\n```\nUsage:\n  changelog <npm module name> [versions] [options]\n  changelog <github repo url> [versions] [options]\n\nModule name:\n   $ changelog npm\n\nGithub repo:\n   $ changelog github.com/isaacs/npm\n   $ changelog isaacs/npm\n\nVersions:\n   latest   Default: Show only the latest versions. ex: $ changelog npm latest\n   all      Show all versions.                      ex: $ changelog npm all\n   number   Show that many recent versions.         ex: $ changelog npm 3\n   n.n.n    Show changes for a specific version.    ex: $ changelog npm 1.3.11\n\nOptions:\n  -c, --color            Output as Color (terminal default)\n  -m, --markdown         Output as Github-flavored Markdown (file default)\n  -j, --json             Output as JSON\n  -d, --debug            Enable debugging\n  -h, --help             Display help and usage details\n```\n\n#### More Examples\n\n\n * [More Examples](https://github.com/dylang/changelog/tree/master/examples)\n\n\n\n### Changelog API\n\nChangelog can be easily integrated into other tools.\n\n#### `changelog.generate(name, versions)\n\n* `name` string, _required_ NPM module name from registry.\n* `versions` integer or semver, _optional_ Number of versions, or the semver version to show.\n\n\n````js\nvar changelog = require('changelog');\n\nchangelog.generate(NpmPackageName, countOrVersions)\n    .then(changelog.markdown);\n\n````\n\n````js\nvar changelog = require('changelog');\n\nchangelog.generate('grunt')\n    .then(showChanges);\n\nfunction showChanges(data) {\n\n    //With npm each \"version\" corresponds to all changes for that build pushed on npm\n    //With github each \"version\" is one GMT day of changes\n    data.versions.forEach(function(version) {\n        console.log(version.version); //currently npm projects only\n        console.log(version.date);    //JS Date\n\n        //version.changes is an array of commit messages for that version\n        version.changes.forEach(function(change) {\n            console.log(' * ' + change);\n        });\n    });\n\n    //Information about the project\n    console.log(data.project);\n}\n````\n\n\n### How it works\n\n * Changelog uses [npmjs.org API](http://search.npmjs.org/) to get the list of versions and the publish dates.\n * It cross-references the versions in `npm` with the commit history from the [Github's API](http://developer.github.com/).\n\n\n### Inspiration\n\n\n[Dylan Greene](http://github.com/dylang) built this because he was always curious what was changed when doing `npm update`.\nThis module's name is inspired by listening to [TheChangelog Podcast](http://thechangelog.com/) on the way to [work](http://opower.com).\n\n\n\n\n\n\n### About the Author\n\nHello fellow developer! My name is [Dylan Greene](https://github.com/dylang). When\nnot overwhelmed with my two kids I enjoy contributing to the open source community.\nI'm a tech lead at [Opower](http://opower.com). I lead a team using Grunt and Angular to build software that\nsuccessfully helps people like us use less power.\nNot too long ago I co-created [Doodle or Die](http://doodleordie.com), a hilarious web game with millions of\ndoodles that won us Node Knockout for the \"most fun\" category.\nI'm [dylang](https://twitter.com/dylang) on Twitter and other places.\n\nSome of my other Node projects:\n\n| Name | Description | Github Stars | Npm Installs |\n|---|---|--:|--:|\n| [`grunt-notify`](https://github.com/dylang/grunt-notify) | Automatic desktop notifications for Grunt errors and warnings using Growl for OS X or Windows, Mountain Lion and Mavericks Notification Center, and Notify-Send. | 798 | 36,294 |\n| [`grunt-prompt`](https://github.com/dylang/grunt-prompt) | Interactive prompt for your Grunt config using console checkboxes, text input with filtering, password fields. | 244 | 5,804 |\n| [`shortid`](https://github.com/dylang/shortid) | Amazingly short non-sequential url-friendly unique id generator. | 262 | 8,357 |\n| [`rss`](https://github.com/dylang/node-rss) | RSS feed generator. A really simple API to add RSS feeds to any project. | 243 | 15,147 |\n| [`npm-check`](https://github.com/dylang/npm-check) | Check for outdated, incorrect, and unused dependencies. | _New!_ | 1,164 |\n| [`xml`](https://github.com/dylang/node-xml) | Fast and simple xml generator. Supports attributes, CDATA, etc. Includes tests and examples. | 56 | 21,139 |\n| [`logging`](https://github.com/dylang/logging) | Super sexy color console logging with cluster support. | 24 | 541 |\n| [`grunt-attention`](https://github.com/dylang/grunt-attention) | Display attention-grabbing messages in the terminal | _New!_ | 6,253 |\n| [`observatory`](https://github.com/dylang/observatory) | Beautiful UI for showing tasks running on the command line. | 31 | 3,516 |\n| [`flowdock-refined`](https://github.com/dylang/flowdock-refined) | Flowdock desktop app custom UI | _New!_ | 59 |\n| [`anthology`](https://github.com/dylang/anthology) | Module information and stats for any @npmjs user | _New!_ | 216 |\n| [`grunt-cat`](https://github.com/dylang/grunt-cat) | Echo a file to the terminal. Works with text, figlets, ascii art, and full-color ansi. | _New!_ | 102 |\n\n_This list was generated using [anthology](https://github.com/dylang/anthology)._\n\n\n### License\nCopyright (c) 2014 undefined, contributors.\n\nReleased under the [MIT license](https://tldrlegal.com/license/mit-license).\n\nScreenshots are [CC BY-SA](http://creativecommons.org/licenses/by-sa/4.0/) (Attribution-ShareAlike).\n\n***\n_Generated using [grunt-readme](https://github.com/assemble/grunt-readme) with [grunt-templates-dylang](https://github.com/dylang/grunt-templates-dylang) on Monday, October 6, 2014._ [![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/dylang/changelog/trend.png)](https://bitdeli.com/free \"Bitdeli Badge\") [![Google Analytics](https://ga-beacon.appspot.com/UA-4820261-3/dylang/changelog)](https://github.com/igrigorik/ga-beacon)\n\n","publish_time":1499491688946,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1499491688946,"dist-tags":{"latest":"1.4.2"}}