Skip to content

s-h-a-d-o-w/create-nodew-exe

Repository files navigation

CI status npm version License: MIT

create-nodew-exe

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:

yarn global add create-nodew-exe
create-nodew-exe <src> <dst>

... or locally in your project:

yarn add create-nodew-exe
require('create-nodew-exe')({
	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.