2.1.1 • Published 1 year ago
@jameslnewell/resolve-bin v2.1.1
@jameslnewell/resolve-bin
Resolve the path of a npm package's binary
Installation
npm i -S @jameslnewell/resolve-bin
Usage
import resolveBin from "@jameslnewell/resolve-bin";
const path = resolveBin({
from: __dirname,
package: 'typescript',
command: 'tsc',
})