Skip to content

bobrowadam/fnm.el

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 

Repository files navigation

fnm.el - Emacs wrapper for Fast Node Manager (FNM)

Introduction

fnm.el is an Emacs Lisp package providing a simple wrapper around FNM.

Requirements

This package depends on the following Emacs packages:

Installation

With use-package and straight.el

(use-package fnm
  :straight (:host github :repo "bobrowadam/fnm.el"))

Using package.el

TBD (Still not available at MELPA)

Usage

Interactive

To use a specific Node version in your Emacs session:

M-x fnm-use RET <node-version>

Programmatically

;; Use a specific node version:
(fnm-use "18")

;; Utility functions:
(fnm-node-bin-path "18")
==> "/Users/bob/Library/Caches/fnm_multishells/37395_1705833222623/bin"

(fnm-node-modules-path "18")
==> "/Users/bob/Library/Caches/fnm_multishells/37478_1705833256189/lib/node_modules/"

Contributing

Contributions to fnm.el are welcome!

About

Emacs FNM package

Resources

Stars

Watchers

Forks

Packages

No packages published