npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

node-venv

v1.0.7

Published

Automated node version setup

Downloads

39

Readme

Node-Venv - Simplify Node.js Environment Management

Overview

Node-Venv is an npm package designed to streamline Node.js environment management on Linux-based systems. With Node-Venv, you can effortlessly set the desired Node.js version for your projects using NVM (Node Version Manager) automatically. No more manual interventions or repetitive 'nvm use' commands. Node-Venv simplifies your Node.js development workflow, making it more convenient and efficient.

Installation

To get started with Node-Venv, you need to install it globally on your system. Open your terminal and run the following command:

npm install -g node-venv

Usage

Node-Venv provides two main commands to help you manage your Node.js environment: set and activate.

1. Setting Node.js Version

Use the set command to specify the Node.js version you want for your project. This will create or update a .nvmrc file in the current directory with your desired semantic version. To set the required Node.js version, run the following command:

node-venv set <semantic_version>

Replace <semantic_version> with the specific version you need, such as "14.17.6" or "16.9.0."

2. Activating Node-Venv

After you've set your Node.js version with the set command, you can activate Node-Venv to ensure that the specified version is used in your terminal session without manually running 'nvm use' each time.

To activate Node-Venv, run the following command:

node-venv activate

This command will update your .bashrc (or equivalent) file to use the Node.js version you previously set or the default version, making it convenient to work with the appropriate Node.js environment.

Uninstallation

If you ever wish to uninstall Node-Venv, you can use the following command:

npm uninstall -g node-venv

Troubleshooting

If you encounter any issues or have questions regarding Node-Venv, please check the FAQ or reach out at [email protected].

Contributing

We welcome contributions from the community. If you want to help improve Node-Venv, please visit our GitHub repository and submit a pull request.

License

Node-Venv is open-source software released under the MIT License. You are encouraged to use, modify, and distribute it in accordance with the terms of the license.


Simplify your Node.js development process with Node-Venv. Say goodbye to manual Node.js version management and enjoy a more efficient workflow. Happy coding!