Unable to get version for NPM artifacts

We can get it for the Maven repository. But How do we get the version for the NPM?
Maven has the version details in the Maven path