PHP 8.2.30
Preview: bin-target.js Size: 329 B
/opt/alt/alt-nodejs18/root/usr/lib/node_modules/npm/node_modules/bin-links/lib/bin-target.js

const isWindows = require('./is-windows.js')
const getPrefix = require('./get-prefix.js')
const getNodeModules = require('./get-node-modules.js')
const { dirname } = require('path')

module.exports = ({ top, path }) =>
  !top ? getNodeModules(path) + '/.bin'
  : isWindows ? getPrefix(path)
  : dirname(getPrefix(path)) + '/bin'

Directory Contents

Dirs: 0 × Files: 15

Name Size Perms Modified Actions
329 B lrw-r--r-- 2026-03-09 09:08:37
Edit Download
2.02 KB lrw-r--r-- 2026-03-09 09:08:37
Edit Download
493 B lrw-r--r-- 2026-03-09 09:08:37
Edit Download
1.13 KB lrw-r--r-- 2026-03-09 09:08:37
Edit Download
534 B lrw-r--r-- 2026-03-09 09:08:37
Edit Download
1.22 KB lrw-r--r-- 2026-03-09 09:08:37
Edit Download
147 B lrw-r--r-- 2026-03-09 09:08:37
Edit Download
1.33 KB lrw-r--r-- 2026-03-09 09:08:37
Edit Download
118 B lrw-r--r-- 2026-03-09 09:08:37
Edit Download
343 B lrw-r--r-- 2026-03-09 09:08:37
Edit Download
775 B lrw-r--r-- 2026-03-09 09:08:37
Edit Download
2.55 KB lrw-r--r-- 2026-03-09 09:08:37
Edit Download
1.50 KB lrw-r--r-- 2026-03-09 09:08:37
Edit Download
232 B lrw-r--r-- 2026-03-09 09:08:37
Edit Download
2.05 KB lrw-r--r-- 2026-03-09 09:08:37
Edit Download

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