{"library":"makensis","title":"node-makensis","description":"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.","language":"javascript","status":"active","last_verified":"Fri May 01","install":{"commands":["npm install makensis"],"cli":null},"imports":["import { compile } from 'makensis'","import { commandHelp } from 'makensis'","import * as NSIS from 'makensis'"],"auth":{"required":false,"env_vars":[]},"quickstart":{"code":"import { compile } from 'makensis';\n\nconst options = {\n  verbose: 2,\n  define: {\n    SPECIAL_BUILD: true,\n    LANGUAGE: 'English'\n  }\n};\n\ntry {\n  const output = await compile('path/to/installer.nsi', options);\n  console.log('Compiler output:', output);\n} catch (error) {\n  console.error(error);\n}","lang":"typescript","description":"Compiles an NSIS installer script with custom defines and verbose logging using the promise-based API.","tag":null,"tag_description":null,"last_tested":null,"results":[]},"compatibility":null}