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
May 10 May 9 May 8 May 7 May 6 May 5 May 4 May 3 May 2 May 1 Apr 30 Apr 29 Apr 28 Apr 27 Apr 26 Apr 25 Apr 24 Apr 23 Apr 22 Apr 21 Apr 20 Apr 19 Apr 18 Apr 17 Apr 16 Apr 15 Apr 14 Apr 13 Apr 12 Apr 11 Apr 10 Apr 9 Apr 8 Apr 7 Apr 6 Apr 5 Apr 4 Apr 3 Apr 2 Apr 1 Mar 31 Mar 30 Mar 29 Mar 28 Mar 27 Mar 26
Windows 0 0 0 0 1 2 1 1 0 0 2 0 4 1 2 0 1 1 1 0 2 0 1 1 2 3 2 1 0 0 1 2 1 3 0 1 0 0 1 1 0 0 1 2 1 1
Mac 0 0 0 0 0 0 0 0 0 1 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 2 0 0 0 0 0 0 1 0 1 0 1 0 0 0 1 0 0 0 1 0
Linux 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 2 0 0 0 1 0 0 0 0 0 0 0 0 1 1 0 1 0 0 0 0 0 0 0 0
0246May 10May 7May 4May 1Apr 28Apr 25Apr 22Apr 19Apr 16Apr 13Apr 10Apr 7Apr 4Apr 1Mar 29Mar 26May 10 Linux: 0 Mac: 0 Windows: 0May 9 Linux: 0 Mac: 0 Windows: 0May 8 Linux: 0 Mac: 0 Windows: 0May 7 Linux: 0 Mac: 0 Windows: 0May 6 Linux: 0 Mac: 0 Windows: 1May 5 Linux: 0 Mac: 0 Windows: 2May 4 Linux: 0 Mac: 0 Windows: 1May 3 Linux: 0 Mac: 0 Windows: 1May 2 Linux: 0 Mac: 0 Windows: 0May 1 Linux: 0 Mac: 1 Windows: 0Apr 30 Linux: 0 Mac: 0 Windows: 2Apr 29 Linux: 0 Mac: 0 Windows: 0Apr 28 Linux: 0 Mac: 0 Windows: 4Apr 27 Linux: 0 Mac: 0 Windows: 1Apr 26 Linux: 0 Mac: 0 Windows: 2Apr 25 Linux: 0 Mac: 0 Windows: 0Apr 24 Linux: 0 Mac: 0 Windows: 1Apr 23 Linux: 0 Mac: 0 Windows: 1Apr 22 Linux: 0 Mac: 0 Windows: 1Apr 21 Linux: 0 Mac: 0 Windows: 0Apr 20 Linux: 0 Mac: 0 Windows: 2Apr 19 Linux: 2 Mac: 0 Windows: 0Apr 18 Linux: 0 Mac: 2 Windows: 1Apr 17 Linux: 0 Mac: 0 Windows: 1Apr 16 Linux: 0 Mac: 0 Windows: 2Apr 15 Linux: 1 Mac: 2 Windows: 3Apr 14 Linux: 0 Mac: 0 Windows: 2Apr 13 Linux: 0 Mac: 0 Windows: 1Apr 12 Linux: 0 Mac: 0 Windows: 0Apr 11 Linux: 0 Mac: 0 Windows: 0Apr 10 Linux: 0 Mac: 0 Windows: 1Apr 9 Linux: 0 Mac: 0 Windows: 2Apr 8 Linux: 0 Mac: 1 Windows: 1Apr 7 Linux: 0 Mac: 0 Windows: 3Apr 6 Linux: 1 Mac: 1 Windows: 0Apr 5 Linux: 1 Mac: 0 Windows: 1Apr 4 Linux: 0 Mac: 1 Windows: 0Apr 3 Linux: 1 Mac: 0 Windows: 0Apr 2 Linux: 0 Mac: 0 Windows: 1Apr 1 Linux: 0 Mac: 0 Windows: 1Mar 31 Linux: 0 Mac: 1 Windows: 0Mar 30 Linux: 0 Mac: 0 Windows: 0Mar 29 Linux: 0 Mac: 0 Windows: 1Mar 28 Linux: 0 Mac: 0 Windows: 2Mar 27 Linux: 0 Mac: 1 Windows: 1Mar 26 Linux: 0 Mac: 0 Windows: 1May 10 Linux: 0 Mac: 0 Windows: 0May 9 Linux: 0 Mac: 0 Windows: 0May 8 Linux: 0 Mac: 0 Windows: 0May 7 Linux: 0 Mac: 0 Windows: 0May 6 Linux: 0 Mac: 0 Windows: 1May 5 Linux: 0 Mac: 0 Windows: 2May 4 Linux: 0 Mac: 0 Windows: 1May 3 Linux: 0 Mac: 0 Windows: 1May 2 Linux: 0 Mac: 0 Windows: 0May 1 Linux: 0 Mac: 1 Windows: 0Apr 30 Linux: 0 Mac: 0 Windows: 2Apr 29 Linux: 0 Mac: 0 Windows: 0Apr 28 Linux: 0 Mac: 0 Windows: 4Apr 27 Linux: 0 Mac: 0 Windows: 1Apr 26 Linux: 0 Mac: 0 Windows: 2Apr 25 Linux: 0 Mac: 0 Windows: 0Apr 24 Linux: 0 Mac: 0 Windows: 1Apr 23 Linux: 0 Mac: 0 Windows: 1Apr 22 Linux: 0 Mac: 0 Windows: 1Apr 21 Linux: 0 Mac: 0 Windows: 0Apr 20 Linux: 0 Mac: 0 Windows: 2Apr 19 Linux: 2 Mac: 0 Windows: 0Apr 18 Linux: 0 Mac: 2 Windows: 1Apr 17 Linux: 0 Mac: 0 Windows: 1Apr 16 Linux: 0 Mac: 0 Windows: 2Apr 15 Linux: 1 Mac: 2 Windows: 3Apr 14 Linux: 0 Mac: 0 Windows: 2Apr 13 Linux: 0 Mac: 0 Windows: 1Apr 12 Linux: 0 Mac: 0 Windows: 0Apr 11 Linux: 0 Mac: 0 Windows: 0Apr 10 Linux: 0 Mac: 0 Windows: 1Apr 9 Linux: 0 Mac: 0 Windows: 2Apr 8 Linux: 0 Mac: 1 Windows: 1Apr 7 Linux: 0 Mac: 0 Windows: 3Apr 6 Linux: 1 Mac: 1 Windows: 0Apr 5 Linux: 1 Mac: 0 Windows: 1Apr 4 Linux: 0 Mac: 1 Windows: 0Apr 3 Linux: 1 Mac: 0 Windows: 0Apr 2 Linux: 0 Mac: 0 Windows: 1Apr 1 Linux: 0 Mac: 0 Windows: 1Mar 31 Linux: 0 Mac: 1 Windows: 0Mar 30 Linux: 0 Mac: 0 Windows: 0Mar 29 Linux: 0 Mac: 0 Windows: 1Mar 28 Linux: 0 Mac: 0 Windows: 2Mar 27 Linux: 0 Mac: 1 Windows: 1Mar 26 Linux: 0 Mac: 0 Windows: 1May 10 Linux: 0 Mac: 0 Windows: 0May 9 Linux: 0 Mac: 0 Windows: 0May 8 Linux: 0 Mac: 0 Windows: 0May 7 Linux: 0 Mac: 0 Windows: 0May 6 Linux: 0 Mac: 0 Windows: 1May 5 Linux: 0 Mac: 0 Windows: 2May 4 Linux: 0 Mac: 0 Windows: 1May 3 Linux: 0 Mac: 0 Windows: 1May 2 Linux: 0 Mac: 0 Windows: 0May 1 Linux: 0 Mac: 1 Windows: 0Apr 30 Linux: 0 Mac: 0 Windows: 2Apr 29 Linux: 0 Mac: 0 Windows: 0Apr 28 Linux: 0 Mac: 0 Windows: 4Apr 27 Linux: 0 Mac: 0 Windows: 1Apr 26 Linux: 0 Mac: 0 Windows: 2Apr 25 Linux: 0 Mac: 0 Windows: 0Apr 24 Linux: 0 Mac: 0 Windows: 1Apr 23 Linux: 0 Mac: 0 Windows: 1Apr 22 Linux: 0 Mac: 0 Windows: 1Apr 21 Linux: 0 Mac: 0 Windows: 0Apr 20 Linux: 0 Mac: 0 Windows: 2Apr 19 Linux: 2 Mac: 0 Windows: 0Apr 18 Linux: 0 Mac: 2 Windows: 1Apr 17 Linux: 0 Mac: 0 Windows: 1Apr 16 Linux: 0 Mac: 0 Windows: 2Apr 15 Linux: 1 Mac: 2 Windows: 3Apr 14 Linux: 0 Mac: 0 Windows: 2Apr 13 Linux: 0 Mac: 0 Windows: 1Apr 12 Linux: 0 Mac: 0 Windows: 0Apr 11 Linux: 0 Mac: 0 Windows: 0Apr 10 Linux: 0 Mac: 0 Windows: 1Apr 9 Linux: 0 Mac: 0 Windows: 2Apr 8 Linux: 0 Mac: 1 Windows: 1Apr 7 Linux: 0 Mac: 0 Windows: 3Apr 6 Linux: 1 Mac: 1 Windows: 0Apr 5 Linux: 1 Mac: 0 Windows: 1Apr 4 Linux: 0 Mac: 1 Windows: 0Apr 3 Linux: 1 Mac: 0 Windows: 0Apr 2 Linux: 0 Mac: 0 Windows: 1Apr 1 Linux: 0 Mac: 0 Windows: 1Mar 31 Linux: 0 Mac: 1 Windows: 0Mar 30 Linux: 0 Mac: 0 Windows: 0Mar 29 Linux: 0 Mac: 0 Windows: 1Mar 28 Linux: 0 Mac: 0 Windows: 2Mar 27 Linux: 0 Mac: 1 Windows: 1Mar 26 Linux: 0 Mac: 0 Windows: 1

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