- Introduction This is a cheat sheet that you can use as a handy reference for npm & Yarn commands. For a more comprehensive overview of npm, explore our tutorial How To Use Node.js Modules with npm and package.json.
- In this UML Notation Cheat Sheet. It is the noun of a UML model, such as a class, object, interface, collaboration, use case, component, and a node.
- Nodejs Cheat Sheet Edit Cheat Sheet CLI.
Few commands I found very useful during development.
Node.Js Api Cheat Sheet. Node.js® is a JavaScript runtime built on Chrome's V8 JavaScript engine. Table of contents. Spawn - passthru the in/out; Snippets Globals. NodeJS Red Team Cheat Sheet. A curated list of NodeJs Command Injection / RCE Payloads. Know the evil functions. Eval,setTimeout,setInterval, Function, unserialize Know your weapons. Fs, childprocess, net, http. Spawn = returns a stream, returns huge binary data to Node. Exec = returns a buffer, should be used to return status.
Command | Description |
---|---|
npm list | show a tree of every package found in the current folder |
npm list -g | same as above ^^, but search also in global packages |
npm list -g --depth=0 | same as above ^^, but do not show every package’s dependencies |
npm list [package name] | show a tree of every instance found in the current folder of that specific package |
npm install | install all packages in package.json |
npm install [package name] | install a package |
npm install [package name] --save | install a package as dependency |
npm install [package name] --save-dev | install a package as dev dependency |
npm uninstall [package name] | uninstall a package |
npm install --save username/repo#branch-name-or-commit-or-tag | install package from GitHub repository |
Alias

Alias | Command |
---|---|
npm i | npm install |
npm i [package name] -D | npm install [package name] --save-dev |
⚡️ Bonus tip
npm-check is a useful tool to check for outdated, incorrect, and unused dependencies
📚 More info
The Blueprint Editor has a lot of productivity boosting shortcuts built-in, and while many will come naturally as you use the editor, others are a little bit hidden. This page covers the most commonly used actions and the shortcuts that can be used to perform those actions more efficiently. You can also download this list of shortcuts below.
Click to download: Color Version | Black/White Version
Graph Actions
Action | Command | |||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Action | Command | |||||||||||||
![]() Navigation
|