1.0.0 • Published 10 years ago

snack-file v1.0.0

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

Build Status Code Coverage NPM Repo License

snack-file

File manipulation functions for node.js

Installation

npm install snack-file

Example

var file = require('snack-file');

console.log(file.exists('/etc/passwd'));

APIs

  • exists
  • isFile
  • isDirectory
  • isSymbolicLink
  • read
  • readBuffer
  • write
  • writeBuffer
  • mkdirs
  • glob
  • move
  • copy
  • delete
  • stat
  • size
  • lastModified
  • readJSON
  • resolve
  • path

License

Released under the Apache 2 License.