@liudonghua123/node-sea
v0.1.8
Published
It's a simple tool which build js as a single executable for easy deploying.
Downloads
71
Maintainers
Readme
node-sea
It's a simple tool which build js as a single executable for easy deploying.
How to use it
Use it as a tool
npm i -g @liudonghua123/node-sea
node-sea -h
node-sea -e /path/to/your/script -o /path/to/single/executable
Use it as a libary
npm i -S @liudonghua123/node-sea
import sea from "@liudonghua123/node-sea";
- invoke
sea
function just likenode-sea.js
.
Example usage
ToDos
- [x] add github ci action for building node with intl customization.
- [x] config the node binary used when create sea to reduce the size of executable.
- [ ] add ncc build feature.
License
MIT License
Copyright (c) 2024 liudonghua.