# lite-fs-promise

> Wrap fs module to promise

Latest version **0.1.1** (published 2018-11-11) · ISC license · 0 weekly downloads

## Install

```sh
npm install lite-fs-promise
pnpm add lite-fs-promise
yarn add lite-fs-promise
bun add lite-fs-promise
```

## 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.1 |
| Published | 2018-11-11 |
| First published | 2018-11-11 |
| Weekly downloads | 0 |
| License | ISC |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 1.8 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Luis Hsu |
| Maintainers | luishsu |
| Keywords | fs |

## Links

- npm: https://www.npmjs.com/package/lite-fs-promise
- npm.io page: https://npm.io/package/lite-fs-promise

## 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.1 (latest) — 2018-11-11
- 0.1.0 — 2018-11-11

## README

# lite-fs-promise

Wrap fs module to promise

# Usage

* Just use it as `fs` module

* For asynchronous functions list below, use them in either original callback way like:

```javascript
const fs = require('fs-promise')

fs.foo(arg1, arg2, (err, arg) => {

})
```

or Promise way like:

```javascript
const fs = require('fs-promise')

fs.foo(arg1, arg2)
.then((err, arg) => {

})
```

Promise function list:

* access
* appendFile
* chmod
* chown
* close
* copyFile
* exists
* fchmod
* fchown
* fdatasync
* fstat
* fsync
* ftruncate
* futimes
* lchmod
* lchown
* link
* lstat
* mkdir
* mkdtemp
* open
* read
* readdir
* readFile
* readlink
* realpath
* rename
* rmdir
* stat
* symlink
* truncate
* unlink
* utimes
* write
* write
* writeFile

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