Product
Introducing SSO
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
jsenvy
Advanced tools
Readme
Inspired by lightsofapollo/exhibition.
git clone https://github.com/gaye/envy.git
// set PATH=/path/to/envy:$PATH
npm install -g jsenvy@latest
# envy will download default versions of node and npm into a sandbox.
$ envy node --version
v2.2.1
$ envy npm --version
2.11.2
# Or you can configure the versions with environment variables.
$ NODEJS_VERSION=v1.8.1 envy node --version
v1.8.1
$ NPM_VERSION=1.4.28 envy npm --version
1.4.28
# npm -g will install stuff into the sandbox. No sudo required!
$ envy npm install -g mocha
/home/gareth/Documents/envy/npm/2.11.2/bin/bin/mocha -> /home/gareth/Documents/envy/npm/2.11.2/bin/lib/node_modules/mocha/bin/mocha
/home/gareth/Documents/envy/npm/2.11.2/bin/bin/_mocha -> /home/gareth/Documents/envy/npm/2.11.2/bin/lib/node_modules/mocha/bin/_mocha
mocha@2.2.5 /home/gareth/Documents/envy/npm/2.11.2/bin/lib/node_modules/mocha
├── escape-string-regexp@1.0.2
├── supports-color@1.2.1
├── growl@1.8.1
├── commander@2.3.0
├── diff@1.4.0
├── jade@0.26.3 (commander@0.6.1, mkdirp@0.3.0)
├── debug@2.0.0 (ms@0.6.2)
├── mkdirp@0.5.0 (minimist@0.0.8)
└── glob@3.2.3 (inherits@2.0.1, graceful-fs@2.0.3, minimatch@0.2.14)
# Magic!
$ envy mocha --help
You can also specify project-specific NODEJS_VERSION
and NPM_VERSION
by adding an .envyrc
file to your project root like this
NODEJS_VERSION=v0.12.4
NPM_VERSION=2.11.2
FAQs
envy ====
The npm package jsenvy receives a total of 7 weekly downloads. As such, jsenvy popularity was classified as not popular.
We found that jsenvy demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Streamline your login process and enhance security by enabling Single Sign-On (SSO) on the Socket platform, now available for all customers on the Enterprise plan, supporting 20+ identity providers.
Security News
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.