cani
v0.1.0
Published
Can I read/write/execute this file/path?
Downloads
2
Maintainers
Readme
cani
Can I read/write/execute this file/path?
Install
$ npm install --save cani
Usage
Node.js
var cani = require('cani');
if( cani.write("/usr/bin") ) {
console.log("/usr/bin is writeable");
}
Properties:
cani.read
-> Returns true
if readable else false
cani.write
-> Returns true
if writeable else false
cani.exec
-> Returns true
if executeable else false
License
MIT © Hemanth.HM