https://github.com/arshadkazmi42/process-name
Get process name of applications crossplatform
https://github.com/arshadkazmi42/process-name
cross-platform electron process process-name task-name windows-task-manager
Last synced: 3 months ago
JSON representation
Get process name of applications crossplatform
- Host: GitHub
- URL: https://github.com/arshadkazmi42/process-name
- Owner: arshadkazmi42
- License: mit
- Created: 2019-08-16T09:59:50.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2022-07-12T16:19:15.000Z (almost 4 years ago)
- Last Synced: 2025-10-11T09:12:50.482Z (8 months ago)
- Topics: cross-platform, electron, process, process-name, task-name, windows-task-manager
- Language: JavaScript
- Size: 31.3 KB
- Stars: 1
- Watchers: 1
- Forks: 3
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
Awesome Lists containing this project
README
# process-name
[](https://github.com/arshadkazmi42/process-name/actions/workflows/nodejs.yml)
[](https://www.npmjs.com/package/process-name)
[](https://www.npmjs.com/package/process-name)
[](https://github.com/arshadkazmi42/process-name)
[](https://github.com/arshadkazmi42/process-name/blob/master/LICENSE)
[](https://github.com/arshadkazmi42/process-name/graphs/contributors)
[](https://github.com/arshadkazmi42/process-name/commits/master)
Get platform specific application process name (cross platform)
## Install
```
npm i process-name --save
```
## Usage
```javascript
const { ProcessName, ProcessNameConstants } = require('process-name');
const chromeProcessName = ProcessName.BROWSERS[ProcessNameConstants.BROWSERS.CHROME][process.platform];
const firefoxProcessName = ProcessName.BROWSERS[ProcessNameConstants.BROWSERS.FIREFOX][process.platform];
console.log(chromeProcessName, firefoxProcessName);
// Output
// Chrome, firefox
```
## Contributing
Interested in contributing to this project?
You can log any issues or suggestion related to this library [here](https://github.com/arshadkazmi42/process-name/issues/new)
Read our contributing [guide](CONTRIBUTING.md) on getting started with contributing to the codebase