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

npm-install

by fcannizzaro ST3

sublime package to auto install/uninstall npm modules, show current status, open npmjs documentation.

Labels npm, node, commands

Details

Installs

  • Total 64K
  • Win 49K
  • Mac 12K
  • Linux 4K
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 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
Windows 2 8 6 6 4 2 2 4 5 9 3 5 6 6 3 11 6 8 5 3 5 4 4 2 7 8 4 2 8 6 4 1 4 1 4 4 4 3 8 7 6 5 8 2 7 10
Mac 0 0 0 1 0 0 1 0 3 0 0 2 1 0 2 2 0 2 2 0 1 0 3 1 2 5 1 0 2 1 0 2 0 0 1 0 0 2 0 3 0 1 0 1 3 2
Linux 0 0 0 0 0 0 0 0 0 0 1 0 0 1 0 1 1 0 1 0 1 1 0 1 0 1 1 1 1 1 1 2 0 0 0 0 1 2 0 0 0 1 1 0 0 0

Readme

Source
raw.​githubusercontent.​com

npm-install for sublime text 3

auto install npm modules, show npm icons, autocomplete require, open npmjs documentation.

preview

Installation

You can install this package through the Package Control.

Press /Ctrl + + P to open the command palette.

Type Install Package and press Enter. Then search for npm-install.

Commands

Command Default shortcut key
(Windows, Linux)
Default shortcut key
(OS X)
Extra
Install Modules CTRL+ALT+I +option+I Command Palette
Uninstall Module CTRL+ALT+U
CTRL+ALT+RIGHT CLICK
+option+U
+option+RIGHT CLICK
Command Palette
Context Menu
Open Documentation on npmjs CTRL+ALT+D
CTRL+ALT+CLICK
+option+D
+option+CLICK
Command Palette
Context Menu

Icons

Icon Description
on installed module
off missing module
installing installing module

Settings

key default action
icons true enable/disable status icons
autocomplete false autocomplete node modules's require.
autocomplete_prefix “var” javascript prefix: var, const, let
install_on_save true auto-install node modules on save.
prune_on_uninstall false auto-remove unused packages after uninstall.
install_manager “npm” javascript package manager: npm, yarn, pnpm

Autocomplete Sample

autocomplete