npm/nm

Name: nm

Owner: npm

Description: Manage your `node_modules` as a set of directories on disk.

Created: 2017-09-14 22:09:44.0

Updated: 2017-11-24 15:08:20.0

Pushed: 2017-09-14 22:44:58.0

Homepage: null

Size: 11

Language: JavaScript

GitHub Committers

UserMost Recent Commit# Commits

Other Committers

UserEmailMost Recent Commit# Commits

README

nm

Manage your node_modules as a set of directories on disk.

 rm module-name
le-name removed
 rm module-name
r: ENOENT: no such file or directory, lstat 'node_modules/wrappyy'

Try it out with npx:

x nm rm module-name
Description

This is a command line tool for doing physical operations on your node_modules with some minimal level of package.json and package-lock.json awareness.

Commands
rm

Remove from node-modules if it exists.

Planned options: -r remove and its transitive dependencies. -f -r remove and its transitive dependencies, even if they're also used by another module.

Planned Commands

These are not implemented yet.

ls

Would be what llmod outputs.

install/add

Add packages w/o installing anything else. Read registry auth from .npmrc (no nm login however, use npm for that).

–save

A suite of save option that can update package.json and package-lock.json


This work is supported by the National Institutes of Health's National Center for Advancing Translational Sciences, Grant Number U24TR002306. This work is solely the responsibility of the creators and does not necessarily represent the official views of the National Institutes of Health.