@whitetrefoil/check-dependencies
A simple lib to check node / npm / package dependencies.
Last updated a year ago by whitetrefoil .
CC0-1.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @whitetrefoil/check-dependencies 
SYNC missed versions from official npm registry.

Check Dependencies

A simple lib to check node / npm / package dependencies.

I create this for myself to ensure all teammates will upgrade their node / npm packages during development.

Important

If your code isn't targeting the latest syntax spec of JS / ES, please use something like babel to transfer this library.

Usage


import check from '@whitetrefoil/check-dependencies'

check()
  .then((isOk) => {
    if (isOk !== true) {
      // The lib should already print enough logs automatically.
      // So don't need to print them again.
      process.exit(-1)
    }
  }, (err) => {
    // Shouldn't reach, handle UNEXPECTED error here.
  })

Changelog & Roadmap

v0.1.2

  • Use Chalk to make the logs louder.

v0.1.1

  • Fix wrong info in README.

v0.1.0

  • Initial release.

Current Tags

  • 0.1.2                                ...           latest (a year ago)

3 Versions

  • 0.1.2                                ...           a year ago
  • 0.1.1                                ...           a year ago
  • 0.1.0                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 1
Last Month 2
Dependencies (6)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |