-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
fe7e5ff
commit 7859401
Showing
1 changed file
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,14 @@ | ||
# fs-plus | ||
# ezzy-fs | ||
[![Build Status](https://travis-ci.org/ezzygemini/ezzy-fs.svg?branch=master)](https://travis-ci.org/ezzygemini/ezzy-fs) | ||
[![Coverage Status](https://coveralls.io/repos/github/ezzygemini/ezzy-fs/badge.svg?branch=master)](https://coveralls.io/github/ezzygemini/ezzy-fs?branch=master) | ||
|
||
An enhancement to the basic fs library | ||
This wrapper enhances the fs module to include additional methods that return promises, rather than passing callbacks. | ||
|
||
```javascript | ||
const fs = require('ezzy-fs'); | ||
|
||
fs.readdirPromise(__dirname) | ||
.then(items => { | ||
// ... handle items | ||
}); | ||
``` |