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

bipf-filter

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

bipf-filter

create a filter function to process bipf (Binary In-Place Format)

latest
Source
npmnpm
Version
1.0.1
Version published
Weekly downloads
2
100%
Maintainers
1
Weekly downloads
 
Created
Source

bipf-filter

create a filter function to process bipf (Binary In-Place Format)

bipf is a binary JSON-analogous format that is designed for reading in-place, that is without parsing, and without allocating memory. That makes reading from it very fast. If you need to read a bulk amount of data, but you are mainly sifting through everything for just a few things, say to query a database, you want bipf or something like bipf.

And you also want a filter function, probably, which is what this module provides.

example

var Filter = require('bipf-filter')

var f = Filter(['AND',
  ['EQ', ['foo'], 'bar'],
  ['EQ', ['bar'], 'baz']
])

//where data is an array of bipf buffers...
var match = data.filter(f)

License

MIT

FAQs

Package last updated on 09 Dec 2019

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