https://github.com/arshadkazmi42/browser-kill
Kill browser process in Mac, Linux, Windows
https://github.com/arshadkazmi42/browser-kill
chrome-kill chrome-process crossplatform firefox-kill firefox-process fkill kill kill-process
Last synced: 6 months ago
JSON representation
Kill browser process in Mac, Linux, Windows
- Host: GitHub
- URL: https://github.com/arshadkazmi42/browser-kill
- Owner: arshadkazmi42
- License: mit
- Created: 2019-08-15T08:18:51.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2022-07-15T05:00:44.000Z (over 3 years ago)
- Last Synced: 2025-08-09T02:46:13.356Z (6 months ago)
- Topics: chrome-kill, chrome-process, crossplatform, firefox-kill, firefox-process, fkill, kill, kill-process
- Language: JavaScript
- Size: 97.7 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# browser-kill
[](https://github.com/arshadkazmi42/browser-kill/actions/workflows/nodejs.yml)
[](https://www.npmjs.com/package/browser-kill)
[](https://www.npmjs.com/package/browser-kill)
[](https://github.com/arshadkazmi42/browser-kill)
[](https://github.com/arshadkazmi42/browser-kill/blob/master/LICENSE)
[](https://github.com/arshadkazmi42/browser-kill/graphs/contributors)
[](https://github.com/arshadkazmi42/browser-kill/commits/master)
Kill browser process in Mac, Linux, Windows
## Install
```
npm i browser-kill
```
## Usage
```javascript
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](https://github.com/arshadkazmi42/browser-kill/issues/new)
Read our contributing [guide](CONTRIBUTING.md) on getting started with contributing to the codebase