last-commit-log
Advanced tools
Comparing version 1.0.2 to 1.0.3
{ | ||
"name": "last-commit-log", | ||
"version": "1.0.2", | ||
"version": "1.0.3", | ||
"description": "read git last commit log", | ||
@@ -5,0 +5,0 @@ "main": "./src/index.js", |
@@ -18,2 +18,4 @@ # last-commit-log | ||
#### Async function | ||
```javascript | ||
@@ -35,2 +37,13 @@ const LCL = require('last-commit-log') | ||
#### Promise | ||
```javascript | ||
const LCL = require('last-commit-log') | ||
const lcl = new LCL() | ||
lcl.getLastCommit() | ||
.then(commit => console.log(commit)) | ||
.catch(e => console.error(e)) | ||
``` | ||
commit is an object like this: | ||
@@ -37,0 +50,0 @@ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
5398
71