# fuzzy-search-most-recent-dir

> Print the name of the most recently modified directory that matches a fuzzy search

Latest version **1.0.2** (published 2017-10-10) · MIT license · 0 weekly downloads

## Install

```sh
npm install fuzzy-search-most-recent-dir
pnpm add fuzzy-search-most-recent-dir
yarn add fuzzy-search-most-recent-dir
bun add fuzzy-search-most-recent-dir
```

Provides the command `fuzzy-search-most-recent-dir`.

## 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.0.2 |
| Published | 2017-10-10 |
| First published | 2017-10-09 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | David Brockman Smoliansky |
| Maintainers | dbrockman |

## Links

- npm: https://www.npmjs.com/package/fuzzy-search-most-recent-dir
- Repository: https://github.com/dbrockman/fuzzy-search-most-recent-dir
- Homepage: https://github.com/dbrockman/fuzzy-search-most-recent-dir#readme
- Issues: https://github.com/dbrockman/fuzzy-search-most-recent-dir/issues
- npm.io page: https://npm.io/package/fuzzy-search-most-recent-dir

## Dependencies (1)

- [fuzzysearch](https://npm.io/package/fuzzysearch.md) ^1.0.3

## Recent versions

- 1.0.2 (latest) — 2017-10-10
- 1.0.1 — 2017-10-09
- 1.0.0 — 2017-10-09

## README

# fuzzy-search-most-recent-dir

Print the name of the most recently modified directory that matches a fuzzy search


## Install

```sh
$ npm install --global fuzzy-search-most-recent-dir
```


## Usage

```sh
$ fuzzy-search-most-recent-dir <directory> <fuzzy-search-pattern>
```


## Purpose

I wanted a fast way to `cd` between different projects.

The `cdd` function below jumps to the most recently modified project directory that matches the fuzzy search.

For example `cdd featfla` would `cd` directly to the _feature-flag-api_ directory.

`cdd` without any search pattern will `cd` to the most recently modified project.

```sh
cdd() {
  cd `fuzzy-search-most-recent-dir /path/to/projects "$1"`
}
```

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