{"name":"changelog","version":"0.0.2","description":"Command line script and library to produce a changelog for npm packages and github projects.","keywords":["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://github.com/dylang/changelog.git"},"bugs":{"email":"dylang@gmail.com","url":"http://github.com/dylang/changelog/issues"},"directories":{"lib":"./lib","bin":"./bin"},"main":"changelog","bin":{"changelog":"./bin/changelog.js"},"dependencies":{"logging":"*","step":"*","request":"*","wordwrap":"*","cli":"*"},"devDependencies":{"logging":"*"},"engines":{"node":"0.4 || 0.5"},"licenses":[{"type":"MIT","url":"http://github.com/dylang/changelog/raw/master/LICENSE"}],"_npmJsonOpts":{"file":"/Users/dylan/.npm/changelog/0.0.2/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"changelog@0.0.2","_engineSupported":true,"_npmVersion":"1.0.20","_nodeVersion":"v0.4.10","_defaultsLoaded":true,"dist":{"shasum":"2a8600a123f70050f3611217a5693fb15e6dd5da","tarball":"http://registry-npm.ywwl.com/changelog/download/changelog-0.0.2.tgz","integrity":"sha512-WOJOkvDZ7Ei1xPRsD1Ouy1kp23aixlzSftyNInQNHjulXyibPUQav/0X3wuxSxg1l4rCTZ8NwJbVx2fH2GsXhQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3UOAbhblK4ark4ASjnGOUlGhVUnZcPiFJqlPPOPFPRwIgRB3AevYS0Rbap6iTZouj1O6VTpItCIgWzbxQfZUgJec="}],"size":8878,"noattachment":false,"key":"/changelog/-/changelog-0.0.2.tgz"},"scripts":{},"maintainers":[{"name":"dylang","email":"dylang@gmail.com"}],"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":1312426615459,"deprecated":"Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.","_cnpm_publish_time":1312426615459,"dist-tags":{"latest":"1.4.2"}}