@pnpm/link-bins
v1000.0.1
Published
Link bins to node_modules/.bin
Downloads
1,027,197
Readme
@pnpm/link-bins
Link bins to node_modules/.bin
Installation
pnpm add @pnpm/link-bins
Usage
import linkBins, {linkBinsOfPackages} from '@pnpm/link-bins'
function warn (msg) { console.warn(msg) }
await linkBins('node_modules', 'node_modules/.bin', {warn})
const packages = [{manifest: packageJson, location: pathToPackage}]
await linkBinsOfPackages(packages, 'node_modules/.bin', {warn})