snack-file

1.0.0 • Public • Published

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.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.0
    84
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.0
    84

Package Sidebar

Install

npm i snack-file

Weekly Downloads

84

Version

1.0.0

License

Apache-2.0

Last publish

Collaborators

  • subchen