JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 2
  • Score
    100M100P100Q39560F
  • License ISC

Get the paths of installed programs on Windows

Package Exports

  • installed-win-apps

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (installed-win-apps) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

installed-win-apps

returns the paths of all installed apps on Windows

Update 1.0.8: Removed dependency win-codepage module as it won't work on non-English Windows

Why: I could not use the existing modules to get the path of certain programs like WPS

How: Read start menu folders recursively for shortcut files (.lnk) and get the path information.

installation

npm i installed-win-apps

Usage

    const installedPaths = require ('installed-win-apps');

    installedPaths.getAllPaths().then (paths=>{
        console.log(paths)   //paths is an array that contains the paths of all installed apps
    })

Caveats

  • Implementation only currently supports Windows systems