index.js
function chmod(p, mode) {
  try {
    fs.chmodSync(p, mode);
    return true;
  } catch (e) {
    return false;
  }
}
function chmod(p, mode) {
  try {
    fs.chmodSync(p, mode);
    return true;
  } catch (e) {
    return false;
  }
}
function chmod ( p , mode ) { try { fs . chmodSync ( p , mode ) ; return true ; } catch ( e ) { return false ; } }
change path mode
@param  {String} p    [path]
@param  {String} mode [path mode]
@return {Boolean}      []
change path mode