Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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: 8 days 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 (about 5 years ago)
- Default Branch: master
- Last Pushed: 2022-07-12T16:19:15.000Z (over 2 years ago)
- Last Synced: 2024-10-06T19:35:02.411Z (29 days ago)
- Topics: cross-platform, electron, process, process-name, task-name, windows-task-manager
- Language: JavaScript
- Size: 31.3 KB
- Stars: 1
- Watchers: 2
- 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
[![Build](https://github.com/arshadkazmi42/process-name/actions/workflows/nodejs.yml/badge.svg)](https://github.com/arshadkazmi42/process-name/actions/workflows/nodejs.yml)
[![NPM Version](https://img.shields.io/npm/v/process-name.svg)](https://www.npmjs.com/package/process-name)
[![NPM Downloads](https://img.shields.io/npm/dt/process-name.svg)](https://www.npmjs.com/package/process-name)
[![Github Repo Size](https://img.shields.io/github/repo-size/arshadkazmi42/process-name.svg)](https://github.com/arshadkazmi42/process-name)
[![LICENSE](https://img.shields.io/npm/l/process-name.svg)](https://github.com/arshadkazmi42/process-name/blob/master/LICENSE)
[![Contributors](https://img.shields.io/github/contributors/arshadkazmi42/process-name.svg)](https://github.com/arshadkazmi42/process-name/graphs/contributors)
[![Commit](https://img.shields.io/github/last-commit/arshadkazmi42/process-name.svg)](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