{"library":"bin-links","type":"library","category":null,"description":"bin-links is a fundamental JavaScript library within the npm ecosystem, responsible for linking package binaries and man pages. It handles the creation of symbolic links or shims for executable scripts defined in a package's `bin` field, directing them to appropriate locations like `node_modules/.bin` for local installs or global binary directories for global packages. It also manages linking man pages from the `man` field. The current stable version is v6.0.0, released in late 2025. This package generally follows the Node.js release cadence for its engine support, aligning with npm's own requirements. Its key differentiator is being a core, low-level utility maintained by the npm team, providing robust and cross-platform binary linking functionality crucial for package execution and discoverability in Node.js environments.","language":"javascript","status":"active","version":"6.0.0","tags":["javascript","npm","link","bins"],"last_verified":"Wed May 27","install":[{"cmd":"npm install bin-links","imports":["import binLinks from 'bin-links';","import binLinks from 'bin-links';\nconst paths = await binLinks.getPaths({ /* ... */ });","import binLinks from 'bin-links';\nawait binLinks.checkBins({ /* ... */ });"]},{"cmd":"yarn add bin-links","imports":[]},{"cmd":"pnpm add bin-links","imports":[]}],"homepage":null,"github":"https://github.com/npm/bin-links","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/bin-links","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":{"summary":{"python_range":"18–22","success_rate":0,"avg_install_s":null,"avg_import_s":null,"wheel_type":null},"url":"https://checklist.day/v1/registry/bin-links/compatibility"}}