PHP 8.2.30
Preview: configure Size: 529 B
/opt/alt/alt-nodejs12/root/usr/lib/node_modules/npm/configure

#!/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

Directory Contents

Dirs: 9 × Files: 14

Name Size Perms Modified Actions
bin DIR
- drwxr-xr-x 2026-03-19 07:09:41
Edit Download
- drwxr-xr-x 2026-03-19 07:09:41
Edit Download
docs DIR
- drwxr-xr-x 2026-03-19 07:09:41
Edit Download
lib DIR
- drwxr-xr-x 2026-03-19 07:09:41
Edit Download
man DIR
- drwxr-xr-x 2024-03-03 22:38:53
Edit Download
- drwxr-xr-x 2026-03-19 07:09:42
Edit Download
- drwxr-xr-x 2026-03-19 07:17:00
Edit Download
scripts DIR
- drwxr-xr-x 2026-03-19 07:09:42
Edit Download
- drwxr-xr-x 2026-03-19 07:09:42
Edit Download
245 B lrw-r--r-- 2026-03-09 07:21:28
Edit Download
3.20 KB lrw-r--r-- 2026-03-09 07:21:29
Edit Download
368 B lrw-r--r-- 2026-03-09 07:21:28
Edit Download
0 B lrw-r--r-- 2026-03-09 07:21:36
Edit Download
269 B lrw-r--r-- 2026-03-09 07:21:29
Edit Download
26.51 KB lrw-r--r-- 2026-03-09 07:21:28
Edit Download
157.57 KB lrw-r--r-- 2026-03-09 07:21:29
Edit Download
529 B lrwxr-xr-x 2026-03-09 07:21:36
Edit Download
9.29 KB lrw-r--r-- 2026-03-09 07:21:29
Edit Download
9.51 KB lrw-r--r-- 2026-03-09 07:21:28
Edit Download
156 B lrw-r--r-- 2026-03-09 07:21:28
Edit Download
4.02 KB lrw-r--r-- 2026-03-09 07:21:28
Edit Download
7.89 KB lrw-r--r-- 2026-03-09 07:21:36
Edit Download
4.39 KB lrw-r--r-- 2026-03-09 07:21:28
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).