0.1.3 • Published 6 years ago

nbx v0.1.3

Weekly downloads
5
License
MIT
Repository
github
Last release
6 years ago

nbx

npm shellcheck

Execute package binaries.

  • yarn <command> is a mess because it's trying to resolve a target from 3 (three) different places: yarn internal commands, npm scripts and ./node_modules/.bin/
  • npx <command> is doing too much, like checking in $PATH or autoinstalling a package if it's not found
  • ./node_modules/.bin/ in $PATH is very implicit and even wider guess than yarn <command>
  • shell aliases/functions are nice but not installable/shareable (?)
  • ./node_modules/.bin/<command> every time is just too verbose

Install

$ yarn global add nbx
# or
$ npm install --global nbx

Usage

$ nbx
One of the following binary names is required:
# …
$ nbx webpack --help

Windows?

It probably just works if you are using that native "Linux in Windows" thing, nbx is just an extremely primitive Bourne Shell (or whatever compatible /bin/sh is) script.

0.1.3

6 years ago

0.1.2

6 years ago

0.1.1

6 years ago

0.1.0

6 years ago