npm-transient
provides a transient menu for working with npm projects.
This fork is based on @mojochao’s original package npm-mode
.
This project is not yet available on any package repository, so your only options are manual or semi-manual installation as shown below.
Start by cloning the npm-transient
repository wherever you wish to:
git clone https://github.com/Phundrak/npm-transient.git
Then, edit your Emacs configuration file ($HOME/.emacs
,
$HOME/.emacs.d/init.el
, or $XDG_CONFIG_DIR/emacs/init.el
) to include
the following lines:
(add-to-list 'load-path "path/to/your/clone/npm-transient")
(require 'npm-transient)
You can use straight
with use-package
to install this version of
npm-transinet
. To do so, you can use the following snippet:
(use-package npm-transient
:straight (npm-transient :type git
:host github
:fork "Phundrak/npm-transient"))
The transient menu can be called with M-x npm-transient
.
This repo is a rewrite of @mojochao’s original package, and its history has been preserved.