create-nodew-exe
TypeScript icon, indicating that this package has built-in type declarations

2.1.0 • Public • Published

npm version License: MIT

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.

Readme

Keywords

none

Package Sidebar

Install

npm i create-nodew-exe

Weekly Downloads

36

Version

2.1.0

License

MIT

Unpacked Size

8.55 kB

Total Files

9

Last publish

Collaborators

  • s-h-a-d-o-w