# file-cache-cli

> Command line tools that filter file paths by cached data.

Latest version **1.0.1** (published 2016-08-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install file-cache-cli
pnpm add file-cache-cli
yarn add file-cache-cli
bun add file-cache-cli
```

Provides the commands `file-cache-cli`, `file-cache-cli-clean`.

## 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.1 |
| Published | 2016-08-27 |
| First published | 2016-08-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 3 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 2 |
| Author | azu |
| Maintainers | azu |
| Keywords | cli, unix, pipe, cache |

## Links

- npm: https://www.npmjs.com/package/file-cache-cli
- Repository: https://github.com/azu/file-cache-cli
- Issues: https://github.com/azu/file-cache-cli/issues
- npm.io page: https://npm.io/package/file-cache-cli

## Dependencies (3)

- [md5](https://npm.io/package/md5.md) ^2.1.0
- [meow](https://npm.io/package/meow.md) ^3.7.0
- [get-stdin](https://npm.io/package/get-stdin.md) ^5.0.1

## Alternatives

- [memory-cache](https://npm.io/package/memory-cache.md) — 795.0K weekly downloads
- [@httptoolkit/proxy-agent](https://npm.io/package/@httptoolkit/proxy-agent.md) — 11.2K weekly downloads
- [express-cache-controller](https://npm.io/package/express-cache-controller.md) — 5.3K weekly downloads
- [http-cache-middleware](https://npm.io/package/http-cache-middleware.md) — 4.5K weekly downloads
- [cache2](https://npm.io/package/cache2.md) — 1.5K weekly downloads

## Recent versions

- 1.0.1 (latest) — 2016-08-27

## README

# file-cache-cli

Command line tools that filter file paths by cached data.

## Install

Install with [npm](https://www.npmjs.com/):

    npm install file-cache-cli

## Usage

Filter only last-modified file path.

```sh
ls | file-cache-cli | echo
```

### Usage help

    Usage
      $ file-cache-cli [options]

    Options
      --maxAge cache max-age time. Default: 60 * 1000 * 5 (5sec)
      --cacheDir path to cache dir. Default: os.tmpDir() 
      
    Examples
      $ ls | file-cache-cli | echo
      
## Changelog

See [Releases page](https://github.com/azu/file-cache-cli/releases).

## Running tests

Install devDependencies and Run `npm test`:

    npm i -d && npm test

## Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, [please create an issue](https://github.com/azu/file-cache-cli/issues).

1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D

## Author

- [github/azu](https://github.com/azu)
- [twitter/azu_re](https://twitter.com/azu_re)

## License

MIT © azu

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