Take a look on this article:
https://medium.com/@calbertts/how-to-create-asynchronous-apis-for-quickjs-8aca5488bb2e
*Carlos Alberto Castaño*
Tecnólogo en Sistemas de Información
Movil: +34 684 275 791
Madrid - España
El mié., 21 ago. 2019 a las 14:58, Mario Gliewe (<mag@xxxxxxxxx>) escribió:
Hi,
is there a way to use qjsc to precompile javascript modules, and use
them as shared libs?
Or, even better, register such precompilations as known/builtin modules
into the qjs binary?
I noticed the -M flag for qjsc, but couldn't quiet figure out what that
is for or how it works..
greets maG