To see information about a JS package, there’s npm-view command.

For example, to see a current version of Dotenv, I can use:

$ npm view dotenv version
16.0.2

I can also use info, show, or v instead of view.

To see all dependencies:

$ npm info dotenv dependencies

To see…

--

--