# co-fs

> fs wrappers for 'co'

Latest version **1.2.0** (published 2014-03-17) · MIT license · 0 weekly downloads

## Install

```sh
npm install co-fs
pnpm add co-fs
yarn add co-fs
bun add co-fs
```

## 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.2.0 |
| Published | 2014-03-17 |
| First published | 2013-06-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 106 |
| Maintainers | tjholowaychuk |
| Keywords | async, flow, generator, coro, coroutine |

## Links

- npm: https://www.npmjs.com/package/co-fs
- Repository: https://github.com/visionmedia/co-fs
- Issues: https://github.com/visionmedia/co-fs/issues
- npm.io page: https://npm.io/package/co-fs

## Dependencies (2)

- [thunkify](https://npm.io/package/thunkify.md) 0.0.1
- [co-from-stream](https://npm.io/package/co-from-stream.md) 0.0.0

## Alternatives

- [@commercetools/sync-actions](https://npm.io/package/@commercetools/sync-actions.md) — 25.1K weekly downloads
- [cwait](https://npm.io/package/cwait.md) — 21.4K weekly downloads
- [@ledgerhq/hw-app-cosmos](https://npm.io/package/@ledgerhq/hw-app-cosmos.md) — 4.2K weekly downloads
- [@financial-times/o-loading](https://npm.io/package/@financial-times/o-loading.md) — 2.8K weekly downloads
- [fa](https://npm.io/package/fa.md) — 185 weekly downloads

## Recent versions

- 1.2.0 (latest) — 2014-03-17
- 1.1.1 — 2013-11-11
- 1.1.0 — 2013-10-14
- 1.0.1 — 2013-09-03
- 1.0.0 — 2013-06-06

## README

# co-fs

  Node core `fs` wrapped functions that return thunks for [co](https://github.com/visionmedia/co).

## Installation

```
$ npm install co-fs
```

## Example

 Use all the regular async fs functions without callback hell:

```js
var json = yield fs.readFile('package.json', 'utf8')
var files = yield fs.readdir('/tmp')
```

## License

  MIT

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