/
opt
/
canhelp
/
node_modules
/
is-binary-path
/
/opt/canhelp/node_modules/is-binary-path
mkdir
upload
Name
Size
Mode
Actions
index.d.ts
290
0644
edit
dl
rm
index.js
239
0644
edit
dl
rm
license
1159
0644
edit
dl
rm
package.json
657
0644
edit
dl
rm
readme.md
733
0644
edit
dl
rm
Edit:
/opt/canhelp/node_modules/is-binary-path/index.js
(239B)
'use strict'; const path = require('path'); const binaryExtensions = require('binary-extensions'); const extensions = new Set(binaryExtensions); module.exports = filePath => extensions.has(path.extname(filePath).slice(1).toLowerCase());
Save
cmd:
run