create-nodew-exe
v2.1.0
Published
Creates an executable based on node.exe that will not show a terminal on launch.
Downloads
165
Readme
create-nodew-exe
Use v1 for legacy node versions!
Creates an executable based on node.exe that will not show a terminal on launch (sometimes also called "silent mode").
Credit for originally discovering how to do this goes to: @ukoloff (who came up with it for his project nvm$)
Usage
The conversion can be done on any platform, Windows is not required.
Either through the CLI, e.g.:
pnpm add --global create-nodew-exe
create-nodew-exe <src> <dst>
... or locally in your project:
pnpm add -D create-nodew-exe
import { createNodewExe } from "create-nodew-exe";
createNodewExe({
src: 'path/to/source',
dst: 'path/to/destination',
});
Notes
To see it in action, check out Spotify Ad Blocker.
Windows users may experience issues with wrong icons being
displayed due to caching. See notes on ie4uinit
here.