# win-grep

> Windows grep console tool

Latest version **1.1.2** (published 2017-02-27) · 0 weekly downloads

## Install

```sh
npm install win-grep
pnpm add win-grep
yarn add win-grep
bun add win-grep
```

Provides the command `wgrep`.

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.1.2 |
| Published | 2017-02-27 |
| First published | 2017-02-23 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Maintainers | nehorim |

## Links

- npm: https://www.npmjs.com/package/win-grep
- Repository: https://github.com/Nehorim/win-grep
- Homepage: https://github.com/Nehorim/win-grep#readme
- Issues: https://github.com/Nehorim/win-grep/issues
- npm.io page: https://npm.io/package/win-grep

## Dependencies (7)

- [glob](https://npm.io/package/glob.md) ^7.1.1
- [nopt](https://npm.io/package/nopt.md) ^4.0.1
- [chalk](https://npm.io/package/chalk.md) ^1.1.3
- [lodash](https://npm.io/package/lodash.md) ^4.17.4
- [moment](https://npm.io/package/moment.md) ^2.17.1
- [bluebird](https://npm.io/package/bluebird.md) ^3.4.7
- [promise-queue](https://npm.io/package/promise-queue.md) ^2.2.3

## Recent versions

- 1.1.2 (latest) — 2017-02-27
- 1.1.1 — 2017-02-27
- 1.0.0 — 2017-02-23

## README

#WIN-GREP

Win-Grep is a node module to get "wgrep" command on windows

## Install

```sh
$ npm install -g win-grep
```

> Prefer global install

## Usage

```sh
$ wgrep [<options>] <file-pattern> <search-pattern>
```


### Options
#### Help
    -h, --help              Display help.

#### Version
    -v, --version           Display version.

#### Version
    -d, --debug             Debug mode.
    
#### Highlight
    -g, --highlight         Enabled highlight
    
#### Ignore case
    -i, --ignoreCase        Ignore case.

#### Result by file
    -f, --resultByFile      Print result by file. Use it for large file set..
        
#### Renderer
    -r, --renderer          Choose renderer
    
| Renderer           | Description                        |
| :----------------: | ---------------------------------- |
| `console`          | Print result array directly        |
| `inline`           | `default` Print by line            |
| `table`            | Print table, one table per file    |
| `vert-table`       | Print each line in a table         |
| `json`             | Print result as JSON               |
| `count-by-file`    | Print number of match per file     |
| `count-by-type`    | Print number of match per file type|
| `count-by-date`    | Print number of match per file date|

---
_Source: https://npm.io/package/win-grep · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
