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 53K
  • Win 40K
  • Mac 10K
  • Linux 3K
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 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
Windows 19 18 17 18 18 14 16 10 16 12 21 16 17 12 15 7 15 15 8 9 15 10 12 14 17 23 17 20 16 17 17 12 15 27 27 17 11 25 22 18 21 18 16 14 20 19
Mac 1 1 2 4 5 4 3 1 3 2 5 1 6 4 3 2 2 3 1 1 3 3 3 2 1 1 3 2 5 2 6 7 7 3 2 2 4 3 4 5 8 0 2 2 4 5
Linux 0 0 2 2 1 2 0 0 1 0 1 1 0 2 2 2 0 0 0 1 1 0 1 1 0 1 0 1 0 1 3 1 0 0 0 2 1 2 0 2 1 3 0 1 3 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