Registry / devops / grep-cli

grep-cli

JSON →
library0.2.1jsnpmunverified

A CLI grep utility for Windows, providing pattern and regex-based text search similar to Unix grep. Current stable version 0.2.1 (last updated 2016). It is a lightweight wrapper that pipes input/output streams. No longer maintained; the last release was over 8 years ago. It offers basic grep functionality for Windows users who lack native grep, but has no active development or support for modern Node.js versions.

npm install grep-cli
INSTALL
IMPORT
SIG · GREP-CLI
G
grep-cli
devopsjavascriptv0.2.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

cli
npx grep-cli <pattern>
import { grep } from 'grep-cli'
This is a CLI tool, not a library. Use via npx or global install.

Pipe file content to grep-cli and match a string pattern or regex pattern.

type package.json | npx grep-cli start # or ls | npx grep-cli "/[0-9]{1,2}:[0-9]{1,2}/i"
Debug
Known issues
deprecatedPackage last updated in 2016, no longer maintained.
fix
Consider using 'rg' (ripgrep) or 'grep' in WSL.
affects: >=0.0.0
gotchaCommonJS require('grep-cli') does not export a function; it's a CLI binary.
fix
Use npx or global install to run the command.
affects: >=0.0.0
gotchaOn Windows, 'cat' is not available; use 'type' instead.
fix
Use 'type' command for Windows.
affects: >=0.0.0
Errors
Common errors & fixes
grep-cli: command not found
Package not installed globally or npx not used.
fix
Run 'npx grep-cli' or install globally with 'npm install -g grep-cli'
Cannot find module 'grep-cli'
Trying to import as a Node.js module.
fix
Do not use require or import; run as a CLI command.
Upgrade
Version history
0.2.1latest on npm
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
grep-cli — npm install grep-cli · libregistry