# fs-bluebird

> simple fs wrapper intended to cover edge cases that promisifyAll doesn't cover (e.g. fs.exists)

Latest version **0.1.4** (published 2015-06-14) · ISC license · 0 weekly downloads

## Install

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

## 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.1.4 |
| Published | 2015-06-14 |
| First published | 2015-01-24 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Phil Olson |
| Maintainers | olsonpm |
| Keywords | fs, bluebird, fs-bluebird |

## Links

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

## Dependencies (1)

- [bluebird](https://npm.io/package/bluebird.md) ^2.9.1

## 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.1.4 (latest) — 2015-06-14
- 0.1.3 — 2015-05-29
- 0.1.2 — 2015-02-11
- 0.1.1 — 2015-01-25
- 0.1.0 — 2015-01-24

## README

# fs-bluebird

The intention of this library is to retain the same *Async prefix syntax while also covering the edge case of fs.exists (which doesn't follow the [error, result] callback parameter pattern).

If there are more edge cases to take care of I will be happy to add them to this library.  Better yet, you could send me a pull request with the fix and associated mocha test and I'll merge.

###fs.existsAsync example:

```
var bFs = require('fs-bluebird');

var fileThatExists = './index.js';

bFs.existsAsync(fileThatExists)
  .then(function(exists) {
    if (exists) {
      // do something with file
    }
  });
```

Feel free to contact me with questions

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