Skip to content

Commit

Permalink
feat: export promisified fs
Browse files Browse the repository at this point in the history
  • Loading branch information
vzaccaria committed Jul 25, 2015
1 parent adb65e4 commit 31e0d05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ var mod = function () {
$mMaybe: monet.Maybe,
$mDoMaybe: doMaybe,
$m: monet.Maybe.fromNull,
$fs: fs,
$f: {
readLocal: function (f) {
return fs.readFileAsync(path.join(__dirname, "/../../" + f), "utf8");
Expand Down
1 change: 1 addition & 0 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ var mod = () => {
$mMaybe: monet.Maybe,
$mDoMaybe: doMaybe,
$m: monet.Maybe.fromNull,
$fs: fs,
$f: {
readLocal: (f) => fs.readFileAsync(path.join(__dirname, `/../../${f}`), 'utf8')
}
Expand Down

0 comments on commit 31e0d05

Please sign in to comment.