Registry / devops / fetch-installed-software

fetch-installed-software

JSON →
library0.0.7jsnpmunverified

A Node.js library for retrieving metadata about software installed on Windows machines. Version 0.0.7 is the latest stable release, though the package appears to be in early development with no clear release cadence. It functions without elevated privileges, external dependencies, or native bindings, distinguishing it from alternatives like node-windows-registry or wmic. Currently limited to Windows only; cross-platform support is planned but not yet implemented. The package offers functions like getAllInstalledSoftware() that return an array of software objects with name, version, publisher, and install date.

devops
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ESM only; no CommonJS support. Named import required.

import { getAllInstalledSoftware } from 'fetch-installed-software'

Default import works if exported as default (check documentation; may not be available).

import fetchInstalledSoftware from 'fetch-installed-software'

Attempting CommonJS require will cause TypeError: ... is not a function.

import { getAllInstalledSoftware } from 'fetch-installed-software'

Demonstrates importing getAllInstalledSoftware, calling it asynchronously, and iterating over the returned array to display software name, version, and publisher.

import { getAllInstalledSoftware } from 'fetch-installed-software'; async function main() { try { const softwareList = await getAllInstalledSoftware(); console.log('Installed software:'); softwareList.forEach((software, index) => { console.log(`${index + 1}. ${software.DisplayName || 'Unnamed'} v${software.DisplayVersion || 'N/A'} from ${software.Publisher || 'Unknown'}`); }); } catch (err) { console.error('Failed to fetch installed software:', err.message); } } main();
Debug
Known footguns
gotchaPackage only works on Windows; calling on Linux/macOS throws or returns empty array.
gotchaESM-only package; CommonJS require will fail with 'require() of ES Module not supported'.
gotchaMay require PowerShell execution policy to allow script execution; can throw if restricted.
gotchaResults may include system components and hidden software; filtering is recommended.
Upgrade
Version history

Breaking-change detection hasn't run for this library yet.

Audit
Security & dependencies

CVE tracking and dependency tree are planned for a later release.

Agent activity
8 hits · last 30 days
gptbot
3
ahrefsbot
1
Resources