Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 918 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 918 Bytes

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

  1. npm i -g @liudonghua123/node-sea
  2. node-sea -h
  3. node-sea -e /path/to/your/script -o /path/to/single/executable

Use it as a libary

  1. npm i -S @liudonghua123/node-sea
  2. import sea from "@liudonghua123/node-sea";
  3. invoke sea function just like node-sea.js.

Example usage

asciicast

ToDos

  • add github ci action for building node with intl customization.
  • 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.