# fuzzy-new-file

> CLI to create file/folder with fuzzy-file matching autocomplete

Latest version **1.4.3** (published 2020-07-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install fuzzy-new-file
pnpm add fuzzy-new-file
yarn add fuzzy-new-file
bun add fuzzy-new-file
```

Provides the command `fnf`.

## 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.4.3 |
| Published | 2020-07-06 |
| First published | 2020-06-19 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 7 |
| Unpacked size | 7.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 3 |
| Author | Joe Nguyen |
| Maintainers | joe93 |
| Keywords | fuzzy-file, autocomplete, cli |

## Links

- npm: https://www.npmjs.com/package/fuzzy-new-file
- Repository: https://github.com/JoeNg93/fuzzy-new-file
- Homepage: https://github.com/JoeNg93/fuzzy-new-file#readme
- Issues: https://github.com/JoeNg93/fuzzy-new-file/issues
- npm.io page: https://npm.io/package/fuzzy-new-file

## Dependencies (7)

- [execa](https://npm.io/package/execa.md) ^4.0.2
- [yargs](https://npm.io/package/yargs.md) ^15.3.1
- [globby](https://npm.io/package/globby.md) ^11.0.1
- [semver](https://npm.io/package/semver.md) ^7.3.2
- [inquirer](https://npm.io/package/inquirer.md) ^7.2.0
- [fuzzy-search](https://npm.io/package/fuzzy-search.md) ^3.2.1
- [inquirer-autocomplete-prompt](https://npm.io/package/inquirer-autocomplete-prompt.md) ^1.0.2

## Alternatives

- [@salesforce/cli](https://npm.io/package/@salesforce/cli.md) — 389.7K weekly downloads
- [@mintlify/cli](https://npm.io/package/@mintlify/cli.md) — 208.9K weekly downloads
- [@grafana/e2e-selectors](https://npm.io/package/@grafana/e2e-selectors.md) — 128.7K weekly downloads
- [mintlify](https://npm.io/package/mintlify.md) — 112.0K weekly downloads
- [@intlayer/cli](https://npm.io/package/@intlayer/cli.md) — 22.8K weekly downloads

## Recent versions

- 1.4.3 (latest) — 2020-07-06
- 1.4.2 — 2020-07-06
- 1.4.1 — 2020-07-05
- 1.4.0 — 2020-07-05
- 1.3.2 — 2020-06-20
- 1.3.1 — 2020-06-20
- 1.3.0 — 2020-06-20
- 1.2.0 — 2020-06-20
- 1.1.0 — 2020-06-19
- 1.0.0 — 2020-06-19

## README

# Fuzzy New File (fnf)

CLI to create file/folder with fuzzy-file matching autocomplete.

The CLI will provide a list of searchable subdirectories of the current working directory for you to choose where you want to create nested folders/files.

![Demo](./docs/demo.gif)

## Installation

**Note**: The CLI requires Node v10 or above.

```bash
npm install -g fuzzy-new-file
```

**Tips**: If you are planning to use the CLI in a directory with a lot of subdirectories, to improve the performance significantly, I recommend installing [https://github.com/sharkdp/fd](https://github.com/sharkdp/fd) then use `--search-engine fd` when running the CLI.

## Usage

```bash
> fnf --help
fnf

Create file/folder with fuzzy-file matching autocomplete.

Options:
  --version        Show version number                                 [boolean]
  --help           Show help                                           [boolean]
  --root           Root folder where autocomplete will list its subdirectories.
                   Default is current working directory
  --no-ignore-vcs  Show search results from files and directories that would
                   otherwise be ignored by '.gitignore' files   [default: false]
  --search-engine
                    Search engine used to search for list of directories.
                    Possible values:
                    - fd: Very fast search engine, see:
                    https://github.com/sharkdp/fd. Require installation.
                    Recommended for directories having a lot of subdirectories
                    - node: Built-in node search logic, no need to install
                    anything.
                                       [choices: "node", "fd"] [default: "node"]
```

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