windowsapps v1.1.0
**windowsapps**
A javascript library for managing installed applications on windows
Installation
To install the windowsappsjs, use npm.
npm install windowsappsor
npm i windowsappsDocumentation
As windowsapps module in python this module also does the same operations such as getting the list of applicaions installed ,searching for an installed application or opening an applicaion.
**Importing the module:**
// Import the required functions from the package
const {get_apps,find_app,open_app} = require("windowsapps")**Below is the info and usage of each functions:**
get_apps():
This function is used to get the list of all applications installed.\ It returns the Name and AppID of each application installed.
Usage:
/* get the list of applications installed using get_apps function */
console.log(get_apps()) /* get the list of applications installed using get_apps function */find_app(appname):
This function is used to find/search for application in the list of installed applications. It returns the Name and AppID of the application searched/found or returns Application not found if the application is not installed or found.
| Parameter | Type | Description |
|---|---|---|
appname | string | Required. Name of the application to be searched |
Usage:
/*Find or search an application using find_app function*/
console.log(find_app('notepad')) /*prints the Name and AppID of the application searched*/open_app(appname):
This function is used to open/start an installed application. It returns Application not found if the application is not installed or found.
| Parameter | Type | Description |
| :-------- | :------- | :-------------------------------- |
| appname | string | Required. Name of the application to be searched |
Usage:
/*Open or start an application using open_app function*/
console.log(open_app("notepad")) /*prints "Application opened" if success or prints "Application not found" if failed to start application */**Platform**
Windows only
**License**
**Support**
For support, you can buy me a cofee ☕
or
You can even pay a fraction of BTC to my BTC address: bc1qwxpusvdd3w9vglmdwn945uz2m87czrh3na52mq