1.0.1 • Published 7 years ago

kill-mongodb v1.0.1

Weekly downloads
5
License
Apache-2.0
Repository
github
Last release
7 years ago

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