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

pull-next-step

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

pull-next-step

a tiny lib for patchcore stream stepping

latest
Source
npmnpm
Version
1.0.0
Version published
Maintainers
1
Created
Source

pull-next-step

Example

const pull = require('pull-stream')
const next = require('pull-next-step')

pull(
  next(api.feed.pull.private, { old: false, limit: 100, property: ['value', 'timestamp'] }),
  pull.filter(someFilter),
  pull.drain(api.message.html.render)
)

API

next(createStream, { ...opts, property, range })

createStream - a function that creates a pull-stream will opts

opts - the keys from the second argument that are neither property, now range

property - the property we'll be stepping on. Expects a lodash/get style path (either a string or an array), defaults to "timestamp"

range - either lt or gt. Can be set implicitly by setting opts.reverse

Keywords

patchcore

FAQs

Package last updated on 10 Sep 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