-
Notifications
You must be signed in to change notification settings - Fork 1.8k
Description
Feature request
Please include the following information:
Is your feature request related to a problem? Please describe.
The most useful feature of Graal or Truffle in my opinion should be to execute npm modules from Java. I've tried this using the Java API but it's no means trivial trying to include all the "system" libraries through the API.
Describe the solution you'd like.
It would be really cool if one could simple execute NPM scripts like you can from NodeJVM by Mike Hearn.
Describe who do you think will benefit the most.
People with build tools on the backend. Compressing, bundling, packaging, purging. Web builders, online dev tools, etc. In fact, any dynamic app that requires access to NPM's vast array of JS tools. Also, running a GraalVM buildpack on Heroku is one thing. Now needing to try and fudge in an alternative java executable is another.
Describe alternatives you've considered.
NodeJVM
Additional context.
3rd Party Implementation: https://mikehearn.github.io/nodejvm/using-from-java/