New: Introducing PHP and Composer Support.Read the Announcement
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

Source
npmnpm
Version
1.1.1
Version published
Weekly downloads
29
52.63%
Maintainers
1
Weekly downloads
 
Created
Source

stream-match

Match a regexp or string in a stream.

Usage

// Given a readable stream,
await match(stream, /pattern/)
// now `pattern` has been emitted by it.

Installation

$ npm install stream-match

API

await match(stream, pattern || string)

License

MIT

FAQs

Package last updated on 12 Nov 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