Node.js virtual environment wrapper on top of nodeenv
Project description
npmworkon
Quick script to handle nodeenv outside of the virtualenv wrapper.
If you want it in the same virtualenv wrapper, nodeenv -p
is what you want and you don't need npmworkon.
Installation
pip install npmworkon
The npm virtualenv will be created in the home directory .npmvirtualenvs
. For now, this value is hardcoded.
Usage
Create a Python virtualenv
➜ mkvirtualenv py_venv
[...]
Install npmworkon
(py_venv) ➜ pip install npmworkon
[...]
Create a npm virtualenv
(py_venv) ➜ $(npmworkon node_venv)
List npm virtualenv
(node_venv) (py_venv) ➜ npmworkon
node_venv
Desactivate npm virtualenv
(node_venv) (py_venv) ➜ deactivate_node
Remove npm virtualenv
(py_venv) ➜ npmworkon --rm node_venv
(py_venv) ➜ npmworkon
# node_venv is gone :)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
npmworkon-0.1.0.tar.gz
(2.5 kB
view hashes)
Built Distribution
Close
Hashes for npmworkon-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7b5de119e7bcb96809a503c8dfd95e8102462e8d9003c8a7c40d1bb87145ad0c |
|
MD5 | d7be44ca6cbf1384560503d83641288b |
|
BLAKE2b-256 | 0a467408de0d80e7eb49b1163ee169d1a01042a7cc044c905252ab65958c85ec |