https://github.com/afeiship/next-git-log
Git logs.
https://github.com/afeiship/next-git-log
git log next
Last synced: about 2 months ago
JSON representation
Git logs.
- Host: GitHub
- URL: https://github.com/afeiship/next-git-log
- Owner: afeiship
- License: mit
- Created: 2020-06-03T08:36:11.000Z (about 6 years ago)
- Default Branch: master
- Last Pushed: 2020-11-21T01:36:04.000Z (over 5 years ago)
- Last Synced: 2025-03-17T22:55:53.786Z (over 1 year ago)
- Topics: git, log, next
- Language: JavaScript
- Size: 25.4 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# next-git-log
> Git logs.
[![version][version-image]][version-url]
[![license][license-image]][license-url]
[![size][size-image]][size-url]
[![download][download-image]][download-url]
## installation
```bash
npm install -S @jswork/next-git-log
```
## apis
| api | type | default | description |
| ------ | ------- | ---------- | --------------------------- |
| pretty | string | %h - %s | git log `pretty` |
| since | string | 2020-05-01 | git log `since` |
| before | string | TODAY | git log `before` |
| suffix | string | '' | git log - ... `suffix` |
| debug | boolean | false | Output the shell scripts |
| async | boolean | true | ExecSync/exec the shell cmd |
## usage
```js
import '@jswork/next-git-log';
nx.gitLog({ since: '2020-06-01' }).then(res => {
console.log(res);
});
// c1b0ca1 - docs: initail
// 6f6380f - refactor: use tmpl for template
// 5b51e88 - feat: initail
```
## license
Code released under [the MIT license](https://github.com/afeiship/next-git-log/blob/master/LICENSE.txt).
[version-image]: https://img.shields.io/npm/v/@jswork/next-git-log
[version-url]: https://npmjs.org/package/@jswork/next-git-log
[license-image]: https://img.shields.io/npm/l/@jswork/next-git-log
[license-url]: https://github.com/afeiship/next-git-log/blob/master/LICENSE.txt
[size-image]: https://img.shields.io/bundlephobia/minzip/@jswork/next-git-log
[size-url]: https://github.com/afeiship/next-git-log/blob/master/dist/next-git-log.min.js
[download-image]: https://img.shields.io/npm/dm/@jswork/next-git-log
[download-url]: https://www.npmjs.com/package/@jswork/next-git-log