@commitlint/read
Read commit messages from a specified range or last edit
Last updated 6 years ago by bycedric .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ gnpm 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').default;

// 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

  • 17.1.0                                ...           latest (2 years ago)

39 Versions

  • 17.1.0                                ...           2 years ago
  • 17.0.0                                ...           2 years ago
  • 16.2.1                                ...           3 years ago
  • 16.0.0                                ...           3 years ago
  • 15.0.0                                ...           3 years ago
  • 8.3.6                                ...           3 years ago
  • 14.0.0                                ...           3 years ago
  • 13.2.0                                ...           3 years ago
  • 13.1.0                                ...           3 years ago
  • 13.0.0                                ...           3 years ago
  • 12.1.4                                ...           3 years ago
  • 12.1.3                                ...           3 years ago
  • 12.1.2                                ...           3 years ago
  • 12.1.1                                ...           4 years ago
  • 12.1.0                                ...           4 years ago
  • 12.0.1                                ...           4 years ago
  • 12.0.0                                ...           4 years ago
  • 11.0.0                                ...           4 years ago
  • 10.0.0                                ...           4 years ago
  • 9.1.2                                ...           4 years ago
  • 9.1.1                                ...           4 years ago
  • 9.1.0                                ...           4 years ago
  • 9.0.1                                ...           4 years ago
  • 9.0.0                                ...           4 years ago
  • 8.3.4                                ...           5 years ago
  • 8.3.2                                ...           5 years ago
  • 8.3.0                                ...           5 years ago
  • 8.2.0                                ...           5 years ago
  • 8.1.0                                ...           5 years ago
  • 8.0.0                                ...           5 years ago
  • 7.6.0                                ...           5 years ago
  • 7.5.0                                ...           6 years ago
  • 7.3.1                                ...           6 years ago
  • 7.1.2                                ...           6 years ago
  • 7.1.1                                ...           6 years ago
  • 7.0.0                                ...           6 years ago
  • 6.1.3                                ...           7 years ago
  • 6.1.2                                ...           7 years ago
  • 6.1.1                                ...           7 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (4)
Dev Dependencies (11)

Copyright 2013 - present © cnpmjs.org | Home |