@liudonghua123/node-sea

0.1.8 • 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

8

Version

0.1.8

License

MIT

Unpacked Size

182 MB

Total Files

11

Last publish

Collaborators

  • liudonghua123