# nff

> node.js find file cli

Latest version **0.7.0-beta.1** (published 2015-06-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install nff
pnpm add nff
yarn add nff
bun add nff
```

Provides the command `nff`.

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.7.0-beta.1 |
| Published | 2015-06-17 |
| First published | 2014-06-04 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 5 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 4 |
| Author | nightink |
| Maintainers | nightink |
| Keywords | node.js, find, file |

## Links

- npm: https://www.npmjs.com/package/nff
- Repository: https://github.com/nightink/node-nff
- Issues: https://github.com/nightink/node-nff/issues
- npm.io page: https://npm.io/package/nff

## Dependencies (5)

- [lazy](https://npm.io/package/lazy.md) ^1.0.11
- [debug](https://npm.io/package/debug.md) ^2.1.3
- [chardet](https://npm.io/package/chardet.md) 0.0.8
- [commander](https://npm.io/package/commander.md) ^2.7.1
- [iconv-lite](https://npm.io/package/iconv-lite.md) ^0.4.7

## Alternatives

- [unionfs](https://npm.io/package/unionfs.md) — 2.2M weekly downloads
- [path-starts-with](https://npm.io/package/path-starts-with.md) — 35.9K weekly downloads
- [redzip](https://npm.io/package/redzip.md) — 1.2K weekly downloads
- [vscode-anymatch](https://npm.io/package/vscode-anymatch.md) — 848 weekly downloads
- [@ledgerhq/coin-filecoin](https://npm.io/package/@ledgerhq/coin-filecoin.md) — 793 weekly downloads

## Recent versions

- 0.7.0-beta.1 (latest) — 2015-06-17
- 0.6.0 — 2015-03-25
- 0.5.1 — 2014-12-27
- 0.5.0 — 2014-11-26
- 0.4.0 — 2014-11-25
- 0.3.0 — 2014-11-25
- 0.2.1 — 2014-07-28
- 0.2.0 — 2014-06-05
- 0.1.3 — 2014-06-05
- 0.1.2 — 2014-06-05
- 0.1.1 — 2014-06-05
- 0.1.0 — 2014-06-04

## README

node-nff
=========

[![NPM version](https://img.shields.io/npm/v/nff.svg?style=flat)](https://www.npmjs.org/package/nff)
[![Build Status](https://api.travis-ci.org/nightink/nff.png)](http://travis-ci.org/nightink/nff)

[![NPM](https://nodei.co/npm/nff.png?downloads=true&downloadRank=true&stars=true)](https://nodei.co/npm/nff/)
[![NPM](https://nodei.co/npm-dl/nff.png)](https://nodei.co/npm/nff/)

node.js find file cli

支持中文编码搜索

### Use

```shell
  $ npm install -g nff
  $ nff -h

  Usage: nff [options]

  Options:

    -h, --help            output usage information
    -V, --version         output the version number
    -f, --find [s]        find file(Examples: $ nff -f findKeyword1,findKeyword2)
    -w, --where [s]       where path(Examples: $ nff -w java,xml)
    -i, --ignore [s]      ignore file(Examples: $ nff -i java,xml)
    -g, --ignorePath [s]  ignore file path(Default: .svn, .git, Examples: $ nff -g .git,bin)

```

### Examples

```shell

➜  node-nff git:(master) ✗ nff -f Lazy,path -p node_modules,.git,list


========== node.js find {Lazy,path} list ==========


 **Lazy**

  * index.js:5 var Lazy = require('lazy');
  * index.js:73 var ly = new Lazy(fs.createReadStream(filePath));
  * README.md:29 $ nff -p node_modules,.git -f Lazy
  * README.md:32 ========== node.js find {Lazy} list ==========
  * README.md:35 *  **Lazy**  index.js:4 var Lazy = require('lazy');
  * README.md:36 *  **Lazy**  index.js:65 var ly = new Lazy(fs.createReadStream(filePath));


 **path**

  * index.js:2 var path = require('path');
  * index.js:22 var basename = path.basename(fileP);
  * index.js:37 var filePath = path.join(basePath, filename);
  * index.js:45 var fileExt = path.extname(filename);
  * bin/nff:8 .option('-p, --ignorePath [ignore file path]',
  * bin/nff:9 'ignore file path(Default: .svn, .git, Examples: $ nff -p .git,bin)', String, '.svn,.git');
  * README.md:21 -p, --ignorePath [ignore file path]  ignore file path(Default: .svn, .git, Examples: $ nff -p .git,bin);

```

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