It would be great if the base set of types for Java in GraalJS and Rhino were published to npmjs so one can easily consume these.