Emacs package with tools for working with npm - Node Package Manager.
So far npm2 is only to be found here on GitHub.
(add-to-list 'load-path "~/path/to/dir/with/npm2")
(require 'npm2)
If you want to use use-package:
(use-package npm2
:load-path "~/path/to/dir/with/npm2")
- Generate package.json.
npm2-init-package
- Suggest current directory as default name
- Check if a package.json already exist
- wrapper for npm run script-name.
npm2-run-script
- Suggest scripts from package.json
- Search parent directories for package.json
- Install npm packages.
npm2-install-package
- If in js-mode suggest packages from require("package-name").
- Install npm2.el from melpa.
- Package.json Major-mode.