SILENT KILLERPanel

Current Path: > > lib > node_modules > npm > node_modules > has-flag


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 ]

Files and Folders in: //lib/node_modules/npm/node_modules/has-flag

NameTypeSizeLast ModifiedActions
index.js File 320 bytes March 10 2021 14:36:39.
license File 1109 bytes March 10 2021 14:36:39.
package.json File 1655 bytes March 10 2021 14:36:39.
readme.md File 986 bytes March 10 2021 14:36:39.

Reading File: //lib/node_modules/npm/node_modules/has-flag/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);
};

SILENT KILLER Tool