A TypeScript wrapper for the NSIS (Nullsoft Scriptable Install System) compiler, makensis. Current stable version is 3.0.5 (released 2025). Requires Node.js >=18 and NSIS >=3.06. Provides a promise-based API to compile installer scripts, retrieve version/help/license information, and manage compiler options like defines, verbose output, and environment variables. Ships TypeScript types. Supports Deno via JSR. Key differentiator: modern ESM-native library with full TypeScript typings, replacing raw child_process calls with a robust, type-checked interface. Maintained on GitHub, with regular updates and CI.
npm install makensisNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Compiles an NSIS installer script with custom defines and verbose logging using the promise-based API.
Install NSIS 3.06 or later (https://nsis.sourceforge.io/Download).
Remove event listeners; use the returned Promise or the dedicated methods like compile().
Use the `env` option in compiler options to pass environment variables, or rely on process.env directly.
Upgrade Node.js to version 18 or later.
Migrate to makensis@3 and upgrade NSIS to 3.06+.
Set `pathToMakensis` in options to the full path of the makensis executable.
Install NSIS and ensure makensis is in PATH, or set pathToMakensis option.
Upgrade to makensis@3 and use the returned Promise values instead of events.
Add "type": "module" to package.json, or use .mjs extension.
No dependency data recorded yet.