Current Path: > > lib > node_modules > npm > node_modules > shebang-command >
Operation : Linux premium131.web-hosting.com 4.18.0-553.44.1.lve.el8.x86_64 #1 SMP Thu Mar 13 14:29:12 UTC 2025 x86_64 Software : Apache Server IP : 162.0.232.56 | Your IP: 216.73.216.111 Domains : 1034 Domain(s) Permission : [ 0755 ]
Name | Type | Size | Last Modified | Actions |
---|---|---|---|---|
index.js | File | 346 bytes | March 10 2021 14:36:37. | |
license | File | 1125 bytes | March 10 2021 14:36:37. | |
package.json | File | 1652 bytes | March 10 2021 14:36:37. | |
readme.md | File | 567 bytes | March 10 2021 14:36:37. |
'use strict'; var shebangRegex = require('shebang-regex'); module.exports = function (str) { var match = str.match(shebangRegex); if (!match) { return null; } var arr = match[0].replace(/#! ?/, '').split(' '); var bin = arr[0].split('/').pop(); var arg = arr[1]; return (bin === 'env' ? arg : bin + (arg ? ' ' + arg : '') ); };
SILENT KILLER Tool