SILENT KILLERPanel

Current Path: > > lib > > node_modules > npm > > scripts


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//scripts

NameTypeSizeLast ModifiedActions
changelog.js File 3070 bytes March 10 2021 14:36:40.
clean-old.sh File 4266 bytes March 10 2021 14:36:40.
dep-update File 294 bytes March 10 2021 14:36:40.
dev-dep-update File 292 bytes March 10 2021 14:36:40.
docs-build.js File 825 bytes March 10 2021 14:36:40.
gen-changelog File 420 bytes March 10 2021 14:36:40.
gen-dev-ignores.js File 350 bytes March 10 2021 14:36:40.
install.sh File 5597 bytes March 10 2021 14:36:40.
maketest File 1841 bytes March 10 2021 14:36:40.
pr File 4054 bytes March 10 2021 14:36:40.
publish-tag.js File 151 bytes March 10 2021 14:36:40.
release.sh File 889 bytes March 10 2021 14:36:40.
relocate.sh File 673 bytes March 10 2021 14:36:40.
update-authors.sh File 197 bytes March 10 2021 14:36:40.
update-dist-tags.js File 3546 bytes March 10 2021 14:36:40.

Reading File: //lib//node_modules/npm//scripts/relocate.sh

#!/usr/bin/env bash

# Change the cli shebang to point at the specified node
# Useful for when the program is moved around after install.
# Also used by the default 'make install' in node to point
# npm at the newly installed node, rather than the first one
# in the PATH, which would be the default otherwise.

# bash /path/to/npm/scripts/relocate.sh $nodepath
# If $nodepath is blank, then it'll use /usr/bin/env

dir="$(dirname "$(dirname "$0")")"
cli="$dir"/bin/npm-cli.js
tmp="$cli".tmp

node="$1"
if [ "x$node" = "x" ]; then
  node="/usr/bin/env node"
fi
node="#!$node"

sed -e 1d "$cli" > "$tmp"
echo "$node" > "$cli"
cat "$tmp" >> "$cli"
rm "$tmp"
chmod ogu+x $cli

SILENT KILLER Tool