Safe start ensures all your node dependencies exist and are up to date
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
test
.eslintignore
.eslintrc
.gitignore
.travis.yml
HISTORY.md
LICENSE
Readme.md
git_dependency_match.js
index.js
package.json

Readme.md

Safe start

Checks if your dependencies are valid. Or throws an Error.

Usage / Examples

var safestart = require('safestart')

safestart(__dirname) // throws an Error on failure

// you can exclude particular libraries, e.g. if you've installed
// `foo` from a fork on GitHub, causing a version mismatch
safestart(__dirname, {
  exclude: ['foo']
})

Can also be used commandline:

safestart

Development

When developing, be sure to test the package and also check the dependencies are free of CVEs.

npm run test
npm run scan_packages

License

Open source software under the zlib license.