asfs
Aynsc file system utility.
Last updated 6 months ago by okunishinishi .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install asfs 
SYNC missed versions from official npm registry.

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

Current Tags

  • 2.3.0                                ...           latest (6 months ago)

22 Versions

  • 2.3.0                                ...           6 months ago
  • 2.2.4                                ...           6 months ago
  • 2.2.3                                ...           a year ago
  • 2.2.2                                ...           a year ago
  • 2.2.1                                ...           a year ago
  • 2.2.0                                ...           2 years ago
  • 2.1.1                                ...           2 years ago
  • 2.1.0                                ...           2 years ago
  • 2.0.3                                ...           2 years ago
  • 2.0.2                                ...           3 years ago
  • 2.0.1                                ...           3 years ago
  • 2.0.0                                ...           3 years ago
  • 1.2.3                                ...           3 years ago
  • 1.2.2                                ...           4 years ago
  • 1.2.1                                ...           4 years ago
  • 1.1.1                                ...           4 years ago
  • 1.1.0                                ...           4 years ago
  • 1.0.5                                ...           4 years ago
  • 1.0.4                                ...           4 years ago
  • 1.0.3                                ...           4 years ago
  • 1.0.2                                ...           4 years ago
  • 1.0.0                                ...           4 years ago

Copyright 2014 - 2017 © taobao.org |