Skip to content

hemanth/node-cani

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

cani Build Status

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

About

Can I read/write/execute this file/path?

Resources

License

Stars

Watchers

Forks

Packages

No packages published