asfs

2.3.0 • Public • Published

asfs

Build Status npm Version JS Standard

Aynsc file system utility.

Installation

$ npm install asfs --save

Usage

'use strict'
 
const asfs = require('asfs')
const co = require('co')
 
co(function * () {
  let filename = 'foo.txt'
  let exists = yield asfs.existsAsync(filename)
  if (exists) {
    let content = yield asfs.readFileAsync(filename)
    console.log(content)
  }
})
 

License

This software is released under the MIT License.

Links

/asfs/

    Package Sidebar

    Install

    npm i asfs

    Weekly Downloads

    512

    Version

    2.3.0

    License

    MIT

    Unpacked Size

    14.6 kB

    Total Files

    24

    Last publish

    Collaborators

    • okunishinishi