semver-check

0.0.2 • Public • Published

semver-check

Checks package.json dependencies and devDependencies stanzas for semantic version characters.

If found, it logs each offending dependency to the console.

Usage

# Install as dep 
$ npm install semver-check --save-dev
 
# Add a dep to your package.json that has one of these chars: *=~<>^ 
$ npm install chalk --save
 
# Run as a cli program. 
$ ./node_modules/.bin/semver-check package.json
// -> chalk not pinned to specific version

Note

The first() higher order function, and why I'm using it.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    3
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    3
  • 0.0.1
    0
  • 0.0.0
    0

Package Sidebar

Install

npm i semver-check

Weekly Downloads

3

Version

0.0.2

License

ISC

Last publish

Collaborators

  • wayneseymour