Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/fcannizzaro/npm-install
sublime package to auto install/uninstall npm modules, show current status, open npmjs documentation.
https://github.com/fcannizzaro/npm-install
npm sublime-package sublime-text-3
Last synced: 3 months ago
JSON representation
sublime package to auto install/uninstall npm modules, show current status, open npmjs documentation.
- Host: GitHub
- URL: https://github.com/fcannizzaro/npm-install
- Owner: fcannizzaro
- License: gpl-3.0
- Created: 2017-06-17T10:27:21.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-17T09:02:36.000Z (over 5 years ago)
- Last Synced: 2024-10-28T14:26:59.413Z (3 months ago)
- Topics: npm, sublime-package, sublime-text-3
- Language: Python
- Homepage:
- Size: 176 KB
- Stars: 6
- Watchers: 2
- Forks: 4
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# `npm-install` for sublime text 3
auto install npm modules, show npm icons, autocomplete require, open npmjs documentation.![preview](https://raw.githubusercontent.com/fcannizzaro/npm-install/master/npm-install.png)
## Installation
You can install this package through the [Package Control](https://packagecontrol.io/packages/npm-install).
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](https://www.npmjs.com)|CTRL+ALT+D
CTRL+ALT+CLICK|⌘+option+D
⌘+option+CLICK| Command Palette
Context Menu## Icons
| Icon | Description |
|:----:|:----------------:|
| ![on](https://raw.githubusercontent.com/fcannizzaro/npm-install/master/icon-on.png) | installed module |
| ![off](https://raw.githubusercontent.com/fcannizzaro/npm-install/master/icon-off.png) | missing module |
| ![installing](https://raw.githubusercontent.com/fcannizzaro/npm-install/master/icon-dw.png) | 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](https://raw.githubusercontent.com/fcannizzaro/npm-install/master/autocomplete.gif)