Skip to content

liudonghua123/node-sea

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

It's a simple tool which build js as a single executable for easy deploying.

Resources

License

Stars

Watchers

Forks

Packages

No packages published