npm Community Forum (Archive)

The npm community forum has been discontinued.

To discuss usage of npm, visit the GitHub Support Community.

install/uninstall command wrapped into one

Wondering if this is interesting to people, I often find myself removing and then adding a package at the same time, like so:

npm un babel-core && npm i -D @babel/core

it would be cool if I could write something like:

npm alter -babel-core +@babel/core

not sure about the keyword alter just yet, but I think the core idea is useful enough and harmless