(Originally published at nodejs/node-v0.x-archive#14354)
Node.js convert build-in modules (child_process, path...) to C++ sources and add them to the Node.js binary on build time. Add a compile option to add some custom packages the same way so they are available with require() without needing to install them manually.
(If you are curious, I want to add kexec so it can be used on NodeOS on our own Javascript-based /usr/bin/env instead of child_process :-) )
(Originally published at nodejs/node-v0.x-archive#14354)
Node.js convert build-in modules (child_process, path...) to C++ sources and add them to the Node.js binary on build time. Add a compile option to add some custom packages the same way so they are available with require() without needing to install them manually.
(If you are curious, I want to add kexec so it can be used on NodeOS on our own Javascript-based
/usr/bin/envinstead ofchild_process:-) )