@jswork/next-npm-version
v1.0.1
Published
Get npm package version.
Downloads
4
Readme
next-npm-version
Get npm package version.
installation
npm install -S @jswork/next-npm-version
usage
import '@jswork/next-npm-version';
nx.npmVersion('@jswork/next-js-core2');
// '2.6.0'
nx.npmVersion('@jswork/next-js-core2xxx');
// null
resources
- https://stackoverflow.com/questions/11949419/npm-how-to-show-the-latest-version-of-a-package
license
Code released under the MIT license.