0.0.1 • Published 10 years ago

virtual-fs v0.0.1

Weekly downloads
13
License
-
Repository
github
Last release
10 years ago

virtual-fs

Abstraction for fs virtual usage

Usage

var Vfs = require('virtual-fs')
var vfs = new Vfs({
  'readme': 'hello!',
  'license': 'mit',
  'node_modules': {
    'lodash': 'lodash.js'
  }
}, 'node_modules')
vfs.readFileSync('lodash/lodash.js')
vfs.writeFile('/readme', 'damn', function(err){/**/})

API Supported

  • writeFile
  • readFile
  • unlink
  • mkdir
  • readdir
  • rmdir
  • stat
0.0.1

10 years ago

0.0.0

10 years ago