kill-mongodb
v1.0.1
Published
Kill any currently running MongoDB instances.
Downloads
45
Maintainers
Readme
kill-mongodb
Kill any currently running MongoDB instances on OSX, Linux, or Windows.
Installation
npm install --save-dev kill-mongodb;
Examples
If your tests start mongodb, you can just add a handy posttest
hook
to kill off any instances that might be lingering.
{
...
"scripts": {
"test": "mocha",
"posttest": "kill-mongodb"
}
...
}
License
Apache 2.0