Server IP : 162.0.209.157 / Your IP : 3.137.214.16 [ Web Server : LiteSpeed System : Linux premium178.web-hosting.com 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64 User : balaoqob ( 2395) PHP Version : 8.0.30 Disable Function : NONE Domains : 1 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /lib/node_modules/npm/ |
Upload File : |
#!/usr/bin/env bash # set configurations that will be "sticky" on this system, # surviving npm self-updates. CONFIGS=() i=0 # get the location of this file. unset CDPATH CONFFILE=$(cd $(dirname "$0"); pwd -P)/npmrc while [ $# -gt 0 ]; do conf="$1" case $conf in --help) echo "./configure --param=value ..." exit 0 ;; --*) CONFIGS[$i]="${conf:2}" ;; *) CONFIGS[$i]="$conf" ;; esac let i++ shift done for c in "${CONFIGS[@]}"; do echo "$c" >> "$CONFFILE" done