pkg-lumo

1.0.2 • Public • Published

Info

  • pkg-lumo is basically a nodejs app that patches node.js and lumo in such a way that you can pack your own self-hosted application in a single binary.
  • pkg-lumo is just a hobby project and can only compile the latest version of lumo, given that I've configured it to do so
  • pkg-lumo can load .node dynamic modules, given that the binary is loaded from file but not inside the bundle itself. You application could handle this by spitting the binary to disk before requireing it.
  • Each compilation compiles V8 which takes at least 5-10 minutes, in cases where you bundle large amount of data into the binary, you may run out of memory. Consider increasing your swap memory if this happens.

Installation

npm -g install pkg-lumo

Example

For: https://github.com/hlolli/lumo-quiz-game Goto lumo-quiz-game

$ pkg-lumo --classpath `clojure -Scp` --resources resources --main lumo-quiz-game.main

Dependents (0)

Package Sidebar

Install

npm i pkg-lumo

Weekly Downloads

1

Version

1.0.2

License

EPL-1.0

Unpacked Size

31.9 MB

Total Files

9

Last publish

Collaborators

  • hlolli