Skip to content

Get process name of applications crossplatform

License

Notifications You must be signed in to change notification settings

arshadkazmi42/process-name

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

process-name

Build NPM Version NPM Downloads Github Repo Size LICENSE Contributors Commit

Get platform specific application process name (cross platform)

Install

npm i process-name --save

Usage

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

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

About

Get process name of applications crossplatform

Topics

Resources

License

Contributing

Stars

Watchers

Forks

Sponsor this project

 

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •