@liudonghua123/node-sea

0.1.4 • Public • Published

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

  • [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.

Package Sidebar

Install

npm i @liudonghua123/node-sea

Weekly Downloads

50

Version

0.1.4

License

MIT

Unpacked Size

19.7 kB

Total Files

9

Last publish

Collaborators

  • liudonghua123