{"repo":"nexe/nexe","free":true,"listed":false,"github":"https://github.com/nexe/nexe","clone":"git clone https://github.com/nexe/nexe.git","description":"🎉 create a single executable out of your node.js apps","language":"TypeScript","stars":13570,"topics":["nexe","javascript","bundle","nodejs","binary","executable","binaries","cli","bundler"],"license":"MIT","category":"cli-tools","readme_excerpt":"Install:&nbsp npm i nexe -g Nexe is a command-line utility that compiles your Node.js application into a single executable file. Motivation and Features - Self contained applications - Ability to run multiple applications with different node.js runtimes. - Distribute binaries without needing node / npm. - Idempotent builds - Start and deploy faster. - Lockdown specific application versions, and easily rollback. - Flexible build pipeline - Cross platform builds Usage - Application entrypoint: nexe my-app.js - stdin interface rollup -c nexe --resource \"./public/ / \" -o my-app.exe For more CLI options see: nexe --help Examples - nexe server.js -r \"public/ / .html\" - nexe --build - nexe -t x86-8.0.0 Resources Additional files or resources can be added to the binary by passing -r \"glob/pattern/ / \" . These included files can be read in the application by using fs.readFile or fs.readFileSync . Compiling the nexe Executable By default nexe will attempt to download a pre-built executable. These are listed on the releases page. The exact version you want may be unavailable or you may want to customize what is built. See nexe --help for a list of options available when passing the --build option. You will also need to ensure your environment is setup to build node. Note: the python binary in your path should be an acceptable version of python 3; you can create a symlink or use the --python parameter (e.g. nexe --build --python=$(which python3) ). Linux and macOS Prerequisites & details","default_branch":null,"files":null,"tree":[],"storefront":"/r/nexe","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/nexe/nexe/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}