Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
Socket
Book a DemoInstallSign in
Socket

stream-match

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

stream-match

Match a string in a stream. Zero dependencies

Source
npmnpm
Version
1.2.0
Version published
Weekly downloads
20
-42.86%
Maintainers
1
Weekly downloads
 
Created
Source

stream-match

Match a regexp or string in a stream. Zero dependencies.

Usage

// Given a readable stream,
const res = await match(stream, /(p[^n+]n)/)
// `res` will containt `pattern` once it has been emitted.

Installation

$ npm install stream-match

API

res = await match(stream, pattern || string)

License

MIT

FAQs

Package last updated on 06 Feb 2020

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