0.5.3 • Published 6 years ago

js.sh v0.5.3

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

js.sh

Use a specific version node in the current directory.

install

# install globally
npm install -g js.sh
# local download
curl -LO "https://github.com/zertosh/js.sh/raw/master/js.sh" && chmod +x js.sh

defaults

$NODE_VERSION=v6.0.0

usage

js.sh will look in $PWD/vendor for a node installation that matches NODE_VERSION. If it isn't there, it'll download it and continue running your command. The command will run with a PATH and NODE_PATH set to the local node.

# jump into the REPL
js.sh node

# run "npm install"
js.sh npm install

# run "npm install" with a particular version of node
NODE_VERSION=v5.11.0 js.sh npm install

# run a local CLI package (node_modules/.bin)
js.sh browserify app/main.js > public/built.js

# run a nightly node
NODE_VERSION=v6.0.0-nightly201604227940ecfa00 js.sh node

# update npm and then use it
js.sh npm install npm
js.sh npm

credit

Thank you @tomcz!

0.5.3

6 years ago

0.5.2

6 years ago

0.5.1

8 years ago

0.5.0

8 years ago

0.4.0

8 years ago

0.3.0

8 years ago

0.2.1

8 years ago

0.2.0

9 years ago

0.1.1

9 years ago

0.1.0

9 years ago

0.0.11

9 years ago

0.0.10

9 years ago

0.0.9

9 years ago

0.0.12

9 years ago

0.0.8

9 years ago

0.0.7

9 years ago

0.0.6

9 years ago

0.0.5

9 years ago

0.0.4

9 years ago

0.0.3

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago