bytebox - v1.0.0
    Preparing search index...

    Function generateBindings

    • Reads each package's TypeScript types and returns the Java that binds them.

      Nothing is written; writeBindings does that. An npm package is JavaScript, so none of this enters the WebAssembly: the generated methods are @JSBody scripts against a static import, which is what makes the package resolvable to a bundler.

      Parameters

      Returns Promise<BindgenResult>

      one entry per requested package

      1.0.0