kill-mongodb
Kill any currently running MongoDB instances.
Last updated 3 years ago by imlucas .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install kill-mongodb 
SYNC missed versions from official npm registry.

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

Current Tags

  • 1.0.1                                ...           latest (3 years ago)

3 Versions

  • 1.0.1                                ...           3 years ago
  • 1.0.0                                ...           4 years ago
  • 0.0.1                                ...           5 years ago

Copyright 2014 - 2016 © taobao.org |