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

ssb-git

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssb-git - npm Package Compare versions

Comparing version 0.4.1 to 0.5.0

index.js

2

package.json
{
"name": "ssb-git",
"version": "0.4.1",
"version": "0.5.0",
"description": "logic for working with git-ssb repos",

@@ -5,0 +5,0 @@ "author": "Charles Lehner (http://celehner.com/)",

# ssb-git
Utility functions for [git-ssb][].
Functions for working with [git-ssb][] messages.
## API
```
var ssbGit = require('ssb-git')
```
### `mergeUpdates`
```
var mergeUpdates = require('ssb-git/merge')
var mergeUpdates = ssbGit.merge
var KVGraph = require('kvgraph')

@@ -30,2 +34,11 @@ ```

### `linearize`
```
var linearize = ssbGit.linearize
```
Use this with [kvgraph][]'s reduceLeft function to get an array of the updates
to a repo.
## License

@@ -32,0 +45,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