Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/moshfeu/auto-npm-install
vscode plugin to automatic install a missing npm package
https://github.com/moshfeu/auto-npm-install
extension vscode vscode-extension
Last synced: 4 months ago
JSON representation
vscode plugin to automatic install a missing npm package
- Host: GitHub
- URL: https://github.com/moshfeu/auto-npm-install
- Owner: moshfeu
- License: mit
- Created: 2018-09-22T20:59:11.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-12-08T01:27:01.000Z (about 2 years ago)
- Last Synced: 2024-10-20T23:42:29.364Z (4 months ago)
- Topics: extension, vscode, vscode-extension
- Language: TypeScript
- Homepage: https://marketplace.visualstudio.com/items?itemName=moshfeu.auto-npm-install
- Size: 877 KB
- Stars: 5
- Watchers: 1
- Forks: 3
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
An extension to quick `npm install` directly from the editor. Usually used for pasted code which include `import` statment for an uninstalled package.
## Features
When the cursor is on a `import` statment from a not installed package, a quick fixer icons will show up with offer to install this package. Once the package is installed a confirmation notification will show up. If something get wrong, an error notification will show up with the details.
![screen record](assets/screen.gif)
## Known Issues
Working on **npm** only and only with `import` format (not `require`)
## Change log
#### 1.0.17
Add install as `devDependencies`. (Thanks to @capaj for the idea)-----------------------------------------------------------------------------------------------------------
## Contributors
[@capaj](https://github.com/capaj)
**Enjoy!**