ctrl+shift+p filters: :st2 :st3 :win :osx :linux
Browse

npm

by PixnBits ST3

npm commands within Sublime Text

Details

Installs

  • Total 38K
  • Win 25K
  • Mac 8K
  • Linux 5K
Jun 22 Jun 21 Jun 20 Jun 19 Jun 18 Jun 17 Jun 16 Jun 15 Jun 14 Jun 13 Jun 12 Jun 11 Jun 10 Jun 9 Jun 8 Jun 7 Jun 6 Jun 5 Jun 4 Jun 3 Jun 2 Jun 1 May 31 May 30 May 29 May 28 May 27 May 26 May 25 May 24 May 23 May 22 May 21 May 20 May 19 May 18 May 17 May 16 May 15 May 14 May 13 May 12 May 11 May 10 May 9
Windows 1 1 0 1 0 0 0 1 0 1 1 0 1 0 0 0 0 1 0 1 1 0 0 1 1 2 1 0 0 2 3 3 0 0 0 0 2 0 1 1 1 2 1 0 0
Mac 0 0 1 1 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 1 0 0 0 0 0 0 0 1 1 1 1 0 2 0 0 0 1 0 0 0 0 0 0 0
Linux 1 1 0 0 0 1 0 0 0 0 0 1 0 0 1 1 1 0 1 0 0 0 0 1 1 0 0 0 0 0 0 0 0 0 1 0 1 0 0 1 0 0 1 0 0
01234Jun 22Jun 19Jun 16Jun 13Jun 10Jun 7Jun 4Jun 1May 29May 26May 23May 20May 17May 14May 11Jun 22 Linux: 1 Mac: 0 Windows: 1Jun 21 Linux: 1 Mac: 0 Windows: 1Jun 20 Linux: 0 Mac: 1 Windows: 0Jun 19 Linux: 0 Mac: 1 Windows: 1Jun 18 Linux: 0 Mac: 0 Windows: 0Jun 17 Linux: 1 Mac: 0 Windows: 0Jun 16 Linux: 0 Mac: 0 Windows: 0Jun 15 Linux: 0 Mac: 0 Windows: 1Jun 14 Linux: 0 Mac: 0 Windows: 0Jun 13 Linux: 0 Mac: 0 Windows: 1Jun 12 Linux: 0 Mac: 1 Windows: 1Jun 11 Linux: 1 Mac: 1 Windows: 0Jun 10 Linux: 0 Mac: 0 Windows: 1Jun 9 Linux: 0 Mac: 1 Windows: 0Jun 8 Linux: 1 Mac: 0 Windows: 0Jun 7 Linux: 1 Mac: 0 Windows: 0Jun 6 Linux: 1 Mac: 0 Windows: 0Jun 5 Linux: 0 Mac: 0 Windows: 1Jun 4 Linux: 1 Mac: 0 Windows: 0Jun 3 Linux: 0 Mac: 0 Windows: 1Jun 2 Linux: 0 Mac: 1 Windows: 1Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 0 Windows: 0May 30 Linux: 1 Mac: 0 Windows: 1May 29 Linux: 1 Mac: 0 Windows: 1May 28 Linux: 0 Mac: 0 Windows: 2May 27 Linux: 0 Mac: 0 Windows: 1May 26 Linux: 0 Mac: 0 Windows: 0May 25 Linux: 0 Mac: 1 Windows: 0May 24 Linux: 0 Mac: 1 Windows: 2May 23 Linux: 0 Mac: 1 Windows: 3May 22 Linux: 0 Mac: 1 Windows: 3May 21 Linux: 0 Mac: 0 Windows: 0May 20 Linux: 0 Mac: 2 Windows: 0May 19 Linux: 1 Mac: 0 Windows: 0May 18 Linux: 0 Mac: 0 Windows: 0May 17 Linux: 1 Mac: 0 Windows: 2May 16 Linux: 0 Mac: 1 Windows: 0May 15 Linux: 0 Mac: 0 Windows: 1May 14 Linux: 1 Mac: 0 Windows: 1May 13 Linux: 0 Mac: 0 Windows: 1May 12 Linux: 0 Mac: 0 Windows: 2May 11 Linux: 1 Mac: 0 Windows: 1May 10 Linux: 0 Mac: 0 Windows: 0May 9 Linux: 0 Mac: 0 Windows: 0Jun 22 Linux: 1 Mac: 0 Windows: 1Jun 21 Linux: 1 Mac: 0 Windows: 1Jun 20 Linux: 0 Mac: 1 Windows: 0Jun 19 Linux: 0 Mac: 1 Windows: 1Jun 18 Linux: 0 Mac: 0 Windows: 0Jun 17 Linux: 1 Mac: 0 Windows: 0Jun 16 Linux: 0 Mac: 0 Windows: 0Jun 15 Linux: 0 Mac: 0 Windows: 1Jun 14 Linux: 0 Mac: 0 Windows: 0Jun 13 Linux: 0 Mac: 0 Windows: 1Jun 12 Linux: 0 Mac: 1 Windows: 1Jun 11 Linux: 1 Mac: 1 Windows: 0Jun 10 Linux: 0 Mac: 0 Windows: 1Jun 9 Linux: 0 Mac: 1 Windows: 0Jun 8 Linux: 1 Mac: 0 Windows: 0Jun 7 Linux: 1 Mac: 0 Windows: 0Jun 6 Linux: 1 Mac: 0 Windows: 0Jun 5 Linux: 0 Mac: 0 Windows: 1Jun 4 Linux: 1 Mac: 0 Windows: 0Jun 3 Linux: 0 Mac: 0 Windows: 1Jun 2 Linux: 0 Mac: 1 Windows: 1Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 0 Windows: 0May 30 Linux: 1 Mac: 0 Windows: 1May 29 Linux: 1 Mac: 0 Windows: 1May 28 Linux: 0 Mac: 0 Windows: 2May 27 Linux: 0 Mac: 0 Windows: 1May 26 Linux: 0 Mac: 0 Windows: 0May 25 Linux: 0 Mac: 1 Windows: 0May 24 Linux: 0 Mac: 1 Windows: 2May 23 Linux: 0 Mac: 1 Windows: 3May 22 Linux: 0 Mac: 1 Windows: 3May 21 Linux: 0 Mac: 0 Windows: 0May 20 Linux: 0 Mac: 2 Windows: 0May 19 Linux: 1 Mac: 0 Windows: 0May 18 Linux: 0 Mac: 0 Windows: 0May 17 Linux: 1 Mac: 0 Windows: 2May 16 Linux: 0 Mac: 1 Windows: 0May 15 Linux: 0 Mac: 0 Windows: 1May 14 Linux: 1 Mac: 0 Windows: 1May 13 Linux: 0 Mac: 0 Windows: 1May 12 Linux: 0 Mac: 0 Windows: 2May 11 Linux: 1 Mac: 0 Windows: 1May 10 Linux: 0 Mac: 0 Windows: 0May 9 Linux: 0 Mac: 0 Windows: 0Jun 22 Linux: 1 Mac: 0 Windows: 1Jun 21 Linux: 1 Mac: 0 Windows: 1Jun 20 Linux: 0 Mac: 1 Windows: 0Jun 19 Linux: 0 Mac: 1 Windows: 1Jun 18 Linux: 0 Mac: 0 Windows: 0Jun 17 Linux: 1 Mac: 0 Windows: 0Jun 16 Linux: 0 Mac: 0 Windows: 0Jun 15 Linux: 0 Mac: 0 Windows: 1Jun 14 Linux: 0 Mac: 0 Windows: 0Jun 13 Linux: 0 Mac: 0 Windows: 1Jun 12 Linux: 0 Mac: 1 Windows: 1Jun 11 Linux: 1 Mac: 1 Windows: 0Jun 10 Linux: 0 Mac: 0 Windows: 1Jun 9 Linux: 0 Mac: 1 Windows: 0Jun 8 Linux: 1 Mac: 0 Windows: 0Jun 7 Linux: 1 Mac: 0 Windows: 0Jun 6 Linux: 1 Mac: 0 Windows: 0Jun 5 Linux: 0 Mac: 0 Windows: 1Jun 4 Linux: 1 Mac: 0 Windows: 0Jun 3 Linux: 0 Mac: 0 Windows: 1Jun 2 Linux: 0 Mac: 1 Windows: 1Jun 1 Linux: 0 Mac: 0 Windows: 0May 31 Linux: 0 Mac: 0 Windows: 0May 30 Linux: 1 Mac: 0 Windows: 1May 29 Linux: 1 Mac: 0 Windows: 1May 28 Linux: 0 Mac: 0 Windows: 2May 27 Linux: 0 Mac: 0 Windows: 1May 26 Linux: 0 Mac: 0 Windows: 0May 25 Linux: 0 Mac: 1 Windows: 0May 24 Linux: 0 Mac: 1 Windows: 2May 23 Linux: 0 Mac: 1 Windows: 3May 22 Linux: 0 Mac: 1 Windows: 3May 21 Linux: 0 Mac: 0 Windows: 0May 20 Linux: 0 Mac: 2 Windows: 0May 19 Linux: 1 Mac: 0 Windows: 0May 18 Linux: 0 Mac: 0 Windows: 0May 17 Linux: 1 Mac: 0 Windows: 2May 16 Linux: 0 Mac: 1 Windows: 0May 15 Linux: 0 Mac: 0 Windows: 1May 14 Linux: 1 Mac: 0 Windows: 1May 13 Linux: 0 Mac: 0 Windows: 1May 12 Linux: 0 Mac: 0 Windows: 2May 11 Linux: 1 Mac: 0 Windows: 1May 10 Linux: 0 Mac: 0 Windows: 0May 9 Linux: 0 Mac: 0 Windows: 0

Readme

Source
raw.​githubusercontent.​com

sublime-text-npm

npm commands within Sublime Text (v3)

Git integration is handy, so why not npm too?

Installation

  1. Install node and npm on your machine
  2. Install Package Control in Sublime Text
  3. Open the “Command Pallet” (CTRL+SHIFT+P or +SHIFT+P)
  4. type “pkgctlinspkg” (for “Package Control: Install Package” ;-)
  5. type “npm
  6. Tah-dah!

Usage

  1. Open a file (usually a *.js or *.coffee) in your npm project/package
  2. CTRL+SHIFT+P or +SHIFT+P
  3. Type npm: to see all npm commands
  4. Press Enter to invoke the selected command. The npm command will be run in the directory of your focused file.

Commands Implemented

If you don't see your favorite here, please file an issue.

Install:

  • Install Saved Packages: npm install
  • Install Package: npm install <pkg name>
  • Install and Save Package: npm install <pkg name> --save
  • Install and Save Development Package: npm install <pkg name> --save-dev

Uninstall:

  • Remove/Uninstall Package: npm rm
  • Remove/Uninstall Saved Package: npm rm --save --save-dev -save-optional

List:

  • List Installed Packages: npm list --depth 0
  • List Installed Packages, Deep: npm list

Outdated:

  • Check for outdated packages: npm outdated

Run:

  • Run Script: npm run <script>

Update:

  • Update Local Packages: npm update or npm update <name>

Search:

  • Search Packages: npm search <name>

Link:

  • Register this Package for Linking: npm link
  • Link Package Here: npm link <name>

Test:

  • Test a package: npm test

Run Arbitrary:

  • Run something not covered here (basically, npm <whatever your input was>)