npm.io
1.0.2 • Published 5 years ago

browser-kill

Licence
MIT
Version
1.0.2
Deps
2
Size
4 kB
Vulns
0
Weekly
0
Stars
1

browser-kill

Build

Kill browser process in Mac, Linux, Windows

Install

npm i browser-kill

Usage


const Brkill = require('browser-kill');

(async () => {

  // Kills chrome process
  await Brkill.chrome();

  // Kills firefox process
  await Brkill.firefox();
})

API

  • chrome()
    • Kills the chrome process, throws error if chrome process is not running
  • firefox()
    • Kills the chrome process, throws error if chrome process is not running

Contributing

Interested in contributing to this project? You can log any issues or suggestion related to this library here

Read our contributing guide on getting started with contributing to the codebase

Contributors

Thank you to all the contributors who have helped us in making this project better

Keywords