Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/marcello3d/node-safestart

Safe start ensures all your node dependencies exist and are up to date
https://github.com/marcello3d/node-safestart

Last synced: 15 days ago
JSON representation

Safe start ensures all your node dependencies exist and are up to date

Awesome Lists containing this project

README

        

Safe start
=================

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

Usage / Examples
----------------

```js
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.

```bash
npm run test
npm run scan_packages
```

License
-------
Open source software under the [zlib license](LICENSE).