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 30K
  • Win 22K
  • OS X 6K
  • Linux 2K
Oct 22 Oct 21 Oct 20 Oct 19 Oct 18 Oct 17 Oct 16 Oct 15 Oct 14 Oct 13 Oct 12 Oct 11 Oct 10 Oct 9 Oct 8 Oct 7 Oct 6 Oct 5 Oct 4 Oct 3 Oct 2 Oct 1 Sep 30 Sep 29 Sep 28 Sep 27 Sep 26 Sep 25 Sep 24 Sep 23 Sep 22 Sep 21 Sep 20 Sep 19 Sep 18 Sep 17 Sep 16 Sep 15 Sep 14 Sep 13 Sep 12 Sep 11 Sep 10 Sep 9 Sep 8 Sep 7
Windows 3 24 15 15 31 38 35 18 20 12 18 27 31 33 31 16 20 16 12 21 20 32 21 27 19 21 33 27 30 27 18 22 21 27 28 30 41 11 12 15 39 26 46 27 23 18
OS X 1 8 6 6 5 6 7 4 7 7 10 9 6 6 9 5 1 7 4 9 1 8 7 8 8 5 11 7 4 11 3 5 5 5 3 4 10 3 1 1 11 5 11 7 1 5
Linux 0 2 1 2 2 1 0 0 2 1 1 4 4 0 1 1 2 1 2 2 0 2 3 0 0 2 0 3 4 4 0 1 1 2 3 3 3 1 2 5 3 3 2 3 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