Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

last-commit-log

Package Overview
Dependencies
Maintainers
1
Versions
28
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

last-commit-log - npm Package Compare versions

Comparing version 1.0.2 to 1.0.3

2

package.json
{
"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 @@

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc