
Security News
AGENTS.md Gains Traction as an Open Format for AI Coding Agents
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
chunkmatcher
Advanced tools
Fast searching for multiple patterns accross multiple data chunks.
This is useful if you have an http request that you want to search for terms and you don't want to buffer the whole response or test boundary conditions for terms between chunks.
$ npm install chunksearch
var Terms = require("chunkmatcher").Terms;
var terms = new Terms();
terms.add('test', { ignoreCase: true });
terms.add('testing');
terms.add('search');
var matcher = terms.createMatcher();
matcher.append('test sear');
matcher.append('ching t te tes te');
matcher.append('sting test');
console.log(matcher.results);
// [
// {
// start: 0,
// pattern: 'test'
// },
// {
// start: 5,
// pattern: 'search'
// },
// {
// start: 24,
// pattern: 'test'
// },
// {
// start: 24,
// pattern: 'testing'
// },
// {
// start: 32,
// pattern: 'test'
// }
// ]
var Terms = require("chunkmatcher").Terms;
var terms = new Terms();
terms.add('www.google.com');
var matcher = terms.createMatcher();
var options = {
host: 'www.google.com',
port: 80,
path: '/index.html'
};
http.get(options, function (res) {
res.on('data', function (chunk) {
matcher.append(chunk);
});
res.on('end', function () {
console.log(matcher.results);
});
});
FAQs
Fast searching for multiple patterns accross multiple data chunks.
The npm package chunkmatcher receives a total of 0 weekly downloads. As such, chunkmatcher popularity was classified as not popular.
We found that chunkmatcher demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
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.
Security News
AGENTS.md is a fast-growing open format giving AI coding agents a shared, predictable way to understand project setup, style, and workflows.
Security News
/Research
Malicious npm package impersonates Nodemailer and drains wallets by hijacking crypto transactions across multiple blockchains.
Security News
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.