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 28K
  • Win 21K
  • OS X 5K
  • Linux 2K
Aug 24 Aug 23 Aug 22 Aug 21 Aug 20 Aug 19 Aug 18 Aug 17 Aug 16 Aug 15 Aug 14 Aug 13 Aug 12 Aug 11 Aug 10 Aug 9 Aug 8 Aug 7 Aug 6 Aug 5 Aug 4 Aug 3 Aug 2 Aug 1 Jul 31 Jul 30 Jul 29 Jul 28 Jul 27 Jul 26 Jul 25 Jul 24 Jul 23 Jul 22 Jul 21 Jul 20 Jul 19 Jul 18 Jul 17 Jul 16 Jul 15 Jul 14 Jul 13 Jul 12 Jul 11 Jul 10
Windows 1 26 24 25 27 23 24 15 30 29 25 30 19 19 8 19 28 21 25 19 10 16 17 32 27 22 27 19 21 19 31 16 23 29 23 26 16 22 34 25 27 14 21 24 25 37
OS X 1 6 3 6 4 9 2 4 12 3 3 12 4 5 5 6 5 5 3 9 5 2 4 6 4 4 6 1 1 7 7 5 8 5 4 10 7 4 11 7 9 7 4 10 9 3
Linux 0 1 1 0 0 3 3 2 3 3 1 1 5 3 1 1 2 3 1 1 1 0 0 3 2 2 2 2 2 3 1 1 0 3 0 2 3 2 1 2 0 2 1 1 2 2

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