New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details
Socket
Book a DemoSign in
Socket

ssb-reduce-stream

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

ssb-reduce-stream

reduce a reverse stream of ssb messages into a collection of threads and channels.

latest
Source
npmnpm
Version
1.0.2
Version published
Maintainers
1
Created
Source

ssb-reduce-stream

reduce a reverse stream of ssb messages into a collection of threads and channels.

data structure

outputs a data structure that looks like this:

{
  roots: {
    <thread_root_id>: {
      key: <thread_root_id>,
      value: <thead_initial_msg>,
      replies: [...],
    }
  },
  channels: {
    <channel_name>: <thread_id>
  }
}

It's assumed that the input is streamed in reverse order, most recent first.

License

MIT

FAQs

Package last updated on 17 Aug 2017

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