This package has been deprecated

Author message:

Renamed to text-stream-search

node-text-stream-search

0.0.1 • Public • Published

Node.js Text Stream Search

Searches for occurrences of a given search term in a Node.js text stream

Circle CI

Super simple and robust way to reliably recognize text in text streams.

streamSearch = require('text-stream-search');

new TextStreamSearch(@stream).wait('hello', function() { console.log('found hello') });

// Now if the stream contains the someting including the word "hello",
// the callback above is called exactly once.

More information about:

Related Projects

  • StreamSnitch: does the same thing with regular expressions, but is buggy and blocks the event queue

Readme

Keywords

none

Package Sidebar

Install

npm i node-text-stream-search

Weekly Downloads

0

Version

0.0.1

License

ISC

Last publish

Collaborators

  • kevingoslar