Skip to content

itw-creative-works/node-power-user

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation




Site | NPM Module | GitHub Repo

Node Power User is the CLI that NPM should have had!

📦 Install Node Power User

First, install the package via npm:

npm i -g node-power-user

🦄 Features

  • Clean and reinstall your node project
  • Easily bump your NPM project's version without opening an editor

📘 Example Setup

After installing via NPM, you can use the CLI with the npu command.

💻 Example CLI Usage

Bump Version

Bump your project's version by the specified level.

npu bump <level>
  • npu bump patch: Bump the last number
  • npu bump minor: Bump the middle number
  • npu bump major: Bump the first number

Clean Project

Clean your node project (runs rm -fr node_modules && rm -fr package-lock.json && npm cache clean --force && npm install && npm rb).

npu clean

Global Packages

List all global packages for all versions of Node.js on your machine (you must have NVM installed).

npu global

Outdated Packages

Compare the versions of installed modules to those in your package.json

npu outdated

List Packages

List all packages in your project.

npu packages

Sync Changes

Pull the latest changes from the remote repository and push your changes. You can optionally supply a --message="Your commit message here" flag.

npu sync

Check Version

Check the version of node-power-user.

npu -v

Wait

Wait for a specified number of ms.

npu wait <ms>

Global flags

  • --debug: Log the commands and flags before they are executed

🗨️ Final Words

If you are still having difficulty, we would love for you to post a question to the Node Power User issues page. It is much easier to answer questions that include your code and relevant files! So if you can provide them, we'd be extremely grateful (and more likely to help you find the answer!)

📚 Projects Using this Library

Somiibo: A Social Media Bot with an open-source module library.
JekyllUp: A website devoted to sharing the best Jekyll themes.
Slapform: A backend processor for your HTML forms on static sites.
Proxifly: A backend processor for your HTML forms on static sites.
Optiic: A backend processor for your HTML forms on static sites.
SoundGrail Music App: A resource for producers, musicians, and DJs.
Hammock Report: An API for exploring and listing backyard products.

Ask us to have your project listed! :)