npm.io
0.1.3 • Published 3 years ago

get-win-software

Licence
gpl-3.0
Version
0.1.3
Deps
2
Size
6 kB
Vulns
0
Weekly
0

get-win-software

Install | Functions | Roadmap | Example | Updates

Если можете помочь с правильным переводом на английский язык, буду премного благодарен. Использовался Google Translate

Obtaining information about installed programs of the Windows operating system.

Install

npm i get-win-software

Functions

Name of Function Description
GetWinSoftware.getAIS() Getting an array of objects with a description of installed programs. Each element contains DisplayName, Publisher, DisplayVersion. If there is InstallLocation data.
GetWinSoftware.getAISCustom() Function for custom data output.
GetWinSoftware.saveToFile() Function for save data to a file.

Roadmap

  • Add information about Google Chrome
  • Optimize script performance
  • Push package to NPM

Example

Example 1 - With custom properties

const gws = require('get-win-software')

gws.getAIS([
    ['uninstall', 'UninstallString']
]).then(res => {
    console.log(res[0])
})

Example 2 - Get all installed software

const gws = require('get-win-software')

gws.getAIS().then(res => {
    console.log(res[0])
})

Updates

Date Version Decription
12/16/2022 0.1.3 Added savetoFile() function to save data to a file.
12/15/2022 0.1.2 Changed directory structure. Renamed function names (getAllInstalledSoftware() > getAIS()). Added getAISCustom() function for custom data output.

Keywords