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

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