1.1.0 • Published 2 years ago

windowsapps v1.1.0

Weekly downloads
-
License
MIT
Repository
github
Last release
2 years ago

**windowsapps**

A javascript library for managing installed applications on windows

MIT License

Installation

To install the windowsappsjs, use npm.

npm install windowsapps

or

npm i windowsapps

Documentation

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.

ParameterTypeDescription
appnamestringRequired. 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**

MIT

**Support**

For support, you can buy me a cofee ☕

or

You can even pay a fraction of BTC to my BTC address: bc1qwxpusvdd3w9vglmdwn945uz2m87czrh3na52mq

**Authors**

**🔗 Links**

YouTube Channel Views