npm stats
  • Search
  • About
  • Repo
  • Sponsor
  • more
    • Search
    • About
    • Repo
    • Sponsor

Made by Antonio Ramirez

cani

0.1.0

@hemanth

npmHomeRepoSnykSocket
Downloads:6
$ npm install cani
DailyWeeklyMonthlyYearly

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