🚀 Launch Week Day 5:Introducing Immutable Scans.Learn More →
Socket
Book a DemoInstallSign in
Socket

scuttlelog

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

scuttlelog

Scuttlebutt as a log

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
1
Created
Source

scuttlelog

The replication log from scuttlebutt but as a seperate module

npm install scuttlelog

build status

Usage

Use this to implement your own scuttlebutt like data structure with a custom changes feed

var scuttlelog = require('scuttlelog')

var log = scuttlelog()

log.change({ // add something to the changes feed
  hello: 'world'
})

var log2 = scuttlelog()

log2.on('change', function(change) {
  console.log('change received', change)
})

// replicate between the logs
var s = log.createStream()
s.pipe(log2.createStream()).pipe(s)

License

MIT

Keywords

scuttlebutt

FAQs

Package last updated on 09 Aug 2014

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts