@commitlint/read
Read commit messages from a specified range or last edit
Last updated 5 months ago by escapedcat .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @commitlint/read 
SYNC missed versions from official npm registry.

Read commit messages from a specified range or last edit

@commitlint/read

Getting started

npm install --save @commitlint/read

Example

const read = require('@commitlint/read');

// Read last edited commit message
read({edit: true}).then((messages) => console.log(messages));
// => ['I did something\n\n']

// Read from the third to second commit message from HEAD
read({from: 'HEAD~2', to: 'HEAD~1'}).then((messages) => console.log(messages));
// => ['Initial commit\n\n']

Consult docs/api for comprehensive documentation.

Current Tags

  • 11.0.0                                ...           latest (5 months ago)
  • 12.0.0                                ...           next (4 days ago)

23 Versions

  • 12.0.0                                ...           4 days ago
  • 11.0.0                                ...           5 months ago
  • 10.0.0                                ...           5 months ago
  • 9.1.2                                ...           6 months ago
  • 9.1.1                                ...           7 months ago
  • 9.1.0                                ...           7 months ago
  • 9.0.1                                ...           8 months ago
  • 9.0.0                                ...           8 months ago
  • 8.3.4                                ...           a year ago
  • 8.3.2                                ...           a year ago
  • 8.3.0                                ...           a year ago
  • 8.2.0                                ...           a year ago
  • 8.1.0                                ...           2 years ago
  • 8.0.0                                ...           2 years ago
  • 7.6.0                                ...           2 years ago
  • 7.5.0                                ...           2 years ago
  • 7.3.1                                ...           2 years ago
  • 7.1.2                                ...           2 years ago
  • 7.1.1                                ...           2 years ago
  • 7.0.0                                ...           3 years ago
  • 6.1.3                                ...           3 years ago
  • 6.1.2                                ...           3 years ago
  • 6.1.1                                ...           3 years ago

Copyright 2014 - 2017 © taobao.org |