simple-debug-version
v2.0.0
Published
Exports the version of the package as a named export called VERSION
Downloads
2
Readme
simple-npm-version
This package export at named variable called VERSION of type String
This variable always matches the current version of this package.
import {
VERSION
} from 'simple-debug-version'
// Assuming you installed version 1.0.0
expect(VERSION).to.equal("1.0.0")
What is the purpose of this
Sometimes you want to debug which version of a package is being used by npm.