Skip to main content

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


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 details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

npmworkon-0.1.0-py3-none-any.whl (2.6 kB view details)

Uploaded Python 3

File details

Details for the file npmworkon-0.1.0.tar.gz.

File metadata

  • Download URL: npmworkon-0.1.0.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.0.0 requests-toolbelt/0.8.0 tqdm/4.41.1 CPython/3.8.2

File hashes

Hashes for npmworkon-0.1.0.tar.gz
Algorithm Hash digest
SHA256 986da5edf5071d6451026546f1c79e76ef09dd5d2e676e6082f06af5b5b4ecdb
MD5 8b6b2d800bc05b2ea4873ecc04539aa7
BLAKE2b-256 1b9655cfc99b98226a87ff6b8fcd9c73e1ef3e0041253d56ad432f5bd45119fa

See more details on using hashes here.

File details

Details for the file npmworkon-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: npmworkon-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 2.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.0.0 requests-toolbelt/0.8.0 tqdm/4.41.1 CPython/3.8.2

File hashes

Hashes for npmworkon-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7b5de119e7bcb96809a503c8dfd95e8102462e8d9003c8a7c40d1bb87145ad0c
MD5 d7be44ca6cbf1384560503d83641288b
BLAKE2b-256 0a467408de0d80e7eb49b1163ee169d1a01042a7cc044c905252ab65958c85ec

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page