{"_id":"ngrep","_rev":"8-92c8b9e140a523224ef5e6bcc6fc469a","name":"ngrep","description":"node-based grep utility","dist-tags":{"latest":"0.1.0"},"versions":{"0.0.0":{"author":{"name":"Maciej Małecki","email":"maciej.malecki@notimplemented.org"},"name":"ngrep","description":"node-based grep utility","version":"0.0.0","bin":{"ngrep":"./bin/ngrep"},"repository":{"type":"git","url":"git://github.com/mmalecki/ngrep.git"},"main":"./lib/ngrep.js","engines":{"node":">=v0.4"},"keywords":["grep","search","cli"],"license":"MIT","dependencies":{},"devDependencies":{},"_npmJsonOpts":{"file":"/home/maciej/.npm/ngrep/0.0.0/package/package.json","wscript":false,"contributors":false,"serverjs":false},"_id":"ngrep@0.0.0","_engineSupported":true,"_npmVersion":"1.0.30","_nodeVersion":"v0.4.11","_defaultsLoaded":true,"dist":{"shasum":"63a4393748d5ece9954769e020bea1944c5fe0a0","tarball":"https://registry.npmjs.org/ngrep/-/ngrep-0.0.0.tgz","integrity":"sha512-TnxCc+pff8I0FRtXKIw5l+1muArl8dXCeuFgq5HQMygUnIqEe56FXG3xB4Pcf1wVcaEBIsukYO1ufMehI2902g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDv1d8k93a8DjqmK3g8F7O7xsAD4mpOoF8ZekU7HtsHHQIgRSgZ5MDBCyAgV3IZEf5TnqV+Mmseg8KJScg1NYQjvYQ="}]},"maintainers":[{"name":"mmalecki","email":"maciej.malecki@notimplemented.org"}]},"0.1.0":{"author":{"name":"Maciej Małecki","email":"me@mmalecki.com"},"name":"ngrep","description":"node-based grep utility","version":"0.1.0","bin":{"ngrep":"./bin/ngrep"},"repository":{"type":"git","url":"https://github.com/mmalecki/ngrep.git"},"main":"./lib/ngrep.js","engines":{"node":">=v0.4"},"keywords":["grep","search","cli"],"license":"MIT","dependencies":{"once":"^1.3.1"},"devDependencies":{"assert-called":"^0.1.2-1"},"scripts":{"test":"node test/basic-test.js"},"gitHead":"8a19fc4ba8b00109d3385ce8f6e4e4117a31e946","bugs":{"url":"https://github.com/mmalecki/ngrep/issues"},"homepage":"https://github.com/mmalecki/ngrep","_id":"ngrep@0.1.0","_shasum":"8559558b2207069013413e5fe4460360bc221b48","_from":".","_npmVersion":"2.1.4","_nodeVersion":"0.10.32","_npmUser":{"name":"mmalecki","email":"me@mmalecki.com"},"maintainers":[{"name":"mmalecki","email":"maciej.malecki@notimplemented.org"}],"dist":{"shasum":"8559558b2207069013413e5fe4460360bc221b48","tarball":"https://registry.npmjs.org/ngrep/-/ngrep-0.1.0.tgz","integrity":"sha512-em+WO5qAD6hgNPlNTN/nU0T0gBDp409Z+E/I70YRtIsAu7aCiFQYzqPxPHIJM0CuME8gZwjZIdRkIXjW2fc+uQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFlFgh2seyGgPpSA69REaVHUBwf9/ig6qXBGiAN5buqoAiBvLzoTDewZ+BqQIdnB2HWdQ68L0qXglFDAx7FfAz4TKQ=="}]}}},"maintainers":[{"email":"me@mmalecki.com","name":"mmalecki"}],"time":{"modified":"2022-06-21T07:42:16.867Z","created":"2011-09-18T09:42:27.199Z","0.0.0":"2011-09-18T09:42:29.029Z","0.1.0":"2014-10-29T13:54:24.816Z"},"author":{"name":"Maciej Małecki","email":"me@mmalecki.com"},"repository":{"type":"git","url":"https://github.com/mmalecki/ngrep.git"},"readme":"# ngrep - asynchronous grep\nCopyright (C) 2011 by Maciej Małecki\n\nMIT License (see LICENSE file)\n\nngrep does what grep does, but asynchronously.\n\n## Installation\n\n### As an executable\n```sh\nnpm -g install ngrep\n```\n\n### As a library\n```sh\nnpm install ngrep\n```\n\n## Usage\n\n### As an executable\nTo grep directory `dir` for string `foo`: `ngrep foo dir` (it couldn't get\nany simpler than that).\n\nIt can also grep files, but this is just slower than regular grep:\n`ngrep foo file`.\n\n### As a library\nTo grep directory `dir` for RegExp `/foo/g`:\n\n```js\nvar ngrep = require('ngrep');\nngrep(/foo/g, 'dir', function (result) {\n  console.log(result.file + ': ' + console.context);\n});\n```\n","homepage":"https://github.com/mmalecki/ngrep","keywords":["grep","search","cli"],"bugs":{"url":"https://github.com/mmalecki/ngrep/issues"},"license":"MIT","readmeFilename":"README.md"}