@jameslnewell/resolve-bin
TypeScript icon, indicating that this package has built-in type declarations

2.1.1 • Public • Published

@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',
})

Readme

Keywords

none

Package Sidebar

Install

npm i @jameslnewell/resolve-bin

Weekly Downloads

2,813

Version

2.1.1

License

MIT

Unpacked Size

2.69 kB

Total Files

5

Last publish

Collaborators

  • jameslnewell