1.0.4 • Published 7 years ago

@sane/fs v1.0.4

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

@sane/fs

Promisified 'fs' API, for TypeScript.

Just import it and use it like the regular 'fs' module.

Install

npm install @sane/fs --save

Api

If foo gives you a callback, fooAsync will give you a promise. See src/index.ts for a list of promisifed methods.

Example

import * as fs from '@sane/fs';

await fs.unlinkAsync('/tmp/foo');

Compatibility

  • Requires Node >= v4.0.0

Release

  1. Bump up the version number in package.json
  2. Add a section for the new release in CHANGELOG.md
  3. Run npm run prepublish to ensure it builds
  4. Commit
  5. Run npm publish
  6. Create a git tag for the new release and push it
1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

8 years ago

1.0.1

8 years ago

1.0.0

8 years ago