bytebox - v1.0.0
    Preparing search index...

    Function writeBindings

    • Generates the bindings and writes them under a directory, one file per package.

      This is what the bytebox-bindgen command runs. That command, in src/bin/bindgen.ts, is a wrapper: it parses arguments, calls this, and prints the result. Import this instead when the caller is TypeScript rather than a shell.

      Parameters

      • options: BindgenOptions & { out: string }

        what to generate, plus where to put it

      Returns Promise<BindgenResult>

      one entry per requested package

      1.0.0