1.2.0 • Published 8 years ago

lie-fs v1.2.0

Weekly downloads
2
License
MIT
Repository
github
Last release
8 years ago

lie-fs Build Status

Promise wrappers for Node's file system.

All the async methods of node's fs API are converted to promises using lie-denodify.

Below methods, to be precise:

[ 'readFile',
  'close',
  'open',
  'read',
  'readSync',
  'write',
  'rename',
  'truncate',
  'ftruncate',
  'rmdir',
  'fdatasync',
  'fsync',
  'mkdir',
  'readdir',
  'fstat',
  'lstat',
  'stat',
  'readlink',
  'symlink',
  'link',
  'unlink',
  'fchmod',
  'lchmod',
  'chmod',
  'lchown',
  'fchown',
  'chown',
  'utimes',
  'futimes',
  'writeFile',
  'appendFile',
  'realpath' ]

Installing :

npm install lie-fs

Usage Example:

var lieFS = require('lie-fs');

lieFS.stat('/tmp').then(console.log, console.error)
1.2.0

8 years ago

1.1.0

9 years ago

1.0.0

10 years ago

0.1.3

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago