PHP 8.2.30
Preview: link-bin.js Size: 343 B
/opt/alt/alt-nodejs20/root/lib/node_modules/npm/node_modules/bin-links/lib/link-bin.js

const linkGently = require('./link-gently.js')
const fixBin = require('./fix-bin.js')

// linking bins is simple.  just symlink, and if we linked it, fix the bin up
const linkBin = ({ path, to, from, absFrom, force }) =>
  linkGently({ path, to, from, absFrom, force })
    .then(linked => linked && fixBin(absFrom))

module.exports = linkBin

Directory Contents

Dirs: 0 × Files: 15

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

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