Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

npm-sh

sramam597Apache-2.01.0.1

A shell that adds node_modules/.bin to path.

npm, shell, node_modules, bin, path

readme

JavaScript Style Guide dependencies license

npm-sh

A shell that adds node_modules/.bin to path.

Basically it spawns a new shell with node_modules/.bin in the path. This allows one to use installed binaries locally without having to type ./node_modules/.bin The package is almost completely copied from similar implementation from a similar implementation in ied

Currently, only tested on macosx. Issue reports/ pull-requests welcome!

Installation

npm install npm-sh

Usage

$ ./node_modules/.bin/npm-sh

---
Starting npm shell
added:  _mocha, mocha, standard
type "exit" when done
---

bash-4.3$