Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/nicinabox/changelog

A tool for parsing sections from formatted changelogs
https://github.com/nicinabox/changelog

Last synced: about 1 month ago
JSON representation

A tool for parsing sections from formatted changelogs

Awesome Lists containing this project

README

        

# changelog

A tool for parsing sections from formatted changelogs

**/!\ Not currently published on npm due to naming conflicts.**

## Changelog anatomy

* Sections must begin with with heading identifier (default: `#`)
* Section content is recommended to be a list

See this project's changelog for an example.

## Usage

```javascript
var changelog = require('changelog')([options])
changelog.latest(function(notes) {
// notes is an array of section objects
// => [{
// version: '1.0.0',
// body: '* Initial release',
// notes: [
// 'Initial release'
// ]
// }]
})
```

# Options

**filename** `CHANGELOG.md`

The name of your release notes for changelog file.

**headingIdentifier** `#`

The character(s) that identify a heading.

## License

ISC (c) 2015 Nic Aitch