Submit
Path:
~
/
/
proc
/
self
/
root
/
usr
/
lib
/
node_modules
/
npm
/
node_modules
/
has-flag
/
File Content:
index.js
'use strict'; module.exports = (flag, argv) => { argv = argv || process.argv; const prefix = flag.startsWith('-') ? '' : (flag.length === 1 ? '-' : '--'); const pos = argv.indexOf(prefix + flag); const terminatorPos = argv.indexOf('--'); return pos !== -1 && (terminatorPos === -1 ? true : pos < terminatorPos); };
Edit
Rename
Chmod
Delete
FILE
FOLDER
Name
Size
Permission
Action
index.js
320 bytes
0644
license
1109 bytes
0644
package.json
1655 bytes
0644
readme.md
986 bytes
0644
N4ST4R_ID | Naxtarrr