Skip to content

addisonElliott/kill-mongodb

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Kill any currently running MongoDB instances.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%