@factry/package-versions
v2.0.1
Published
Get exact versions for dependencies in package.json
Downloads
5
Readme
Package versions
Usage
import getVersions from '@factry/package-versions'
import packageLock from './package-lock.json'
getVersions(packageLock, )
getVersions(packageLock, 'dependencies')
getVersions(packageLock, 'peerDependencies')
getVersions(packageLock, 'devDependencies')