{"repo":"Ray-D-Song/lexe","free":true,"listed":false,"github":"https://github.com/Ray-D-Song/lexe","clone":"git clone https://github.com/Ray-D-Song/lexe.git","description":"Package your Node.js application into a single executable file, but only 10MB.🔥","language":"Rust","stars":642,"topics":["executable","javascript","nodejs","quickjs"],"license":"Apache-2.0","category":"dev-tools","readme_excerpt":"Lexe 中文文档 Lexe is a fork of AWS's lightweight JavaScript runtime \"LLRT\". You can use it to package your Node.js applications into a single executable file, but the size is only 8 10MB. Options: - -i : input file(required) - -o : output file(optional, default: - ) - -d : output directory(optional, default: ./dist ) - -p : target platform, use \",\" to separate multiple platforms options: linux-x64,linux-arm64,darwin-x64,darwin-arm64,windows-x64 (optional, default: current platform) [!IMPORTANT] Lexe(or LLRT) currently does not support the complete http and https modules, but implements fetch for requests and net for low-level network services. In the LLRT team's ROADMAP, http and https modules are a 2025 goal So I currently do not recommend using Lexe to build HTTP services, but to create CLI tools [!WARNING] Lexe is not a drop-in replacement for Node.js. It only supports a subset of Node.js APIs. You can read more about LLRT in LLRT README Since Lexe is a fork of LLRT, the following document is basically a copy of LLRT Compatibility matrix Modules Node.js LLRT ⚠️ -------------- ------- ------- assert ✔︎ ✔︎️ buffer ✔︎ ✔︎️ child process ✔︎ ✔︎⏱ console ✔︎ ✔︎ crypto ✔︎ ✔︎ dns ✔︎ ✔︎ events ✔︎ ✔︎ fs/promises ✔︎ ✔︎ fs ✔︎ ✘⏱ http ✔︎ ✘⏱\\ \\ https ✔︎ ✘⏱\\ \\ net:sockets ✔︎ ✔︎⏱ net:server ✔︎ ✔︎ os ✔︎ ✔︎ path ✔︎ ✔︎ perf hooks ✔︎ ✔︎ process ✔︎ ✔︎ streams ✔︎ ✔︎\\ string decoder ✔︎ ✔︎ timers ✔︎ ✔︎ tty ✔︎ ✔︎ url ✔︎ ✔︎ util ✔︎ ✔︎ tls ✔︎ ✘⏱ zlib ✔︎ ✔︎ Other modules ✔︎ ✘ Features Node.js LLRT ⚠️ ----","default_branch":null,"files":null,"tree":[],"storefront":"/r/Ray-D-Song","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/Ray-D-Song/lexe/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."}