jsigen

Last updated:

0 purchases

jsigen Image
jsigen Images
Add to Cart

Description:

jsigen

JSIGEN - Generate JavaScript Bindings for your Dart Code #
Jsigen is a CLI tool to generate JavaScript bindings for your Dart code.
It parses, analyzes and generates the given Dart Objects for your JavaScript code using Dart's JavaScript interop guidelines
Using this Tool #
By default, jsigen uses the latest extension type interop strategy to create Dart Bindings. If you are using a much older codebase, or prefer not to use this, you can use the --legacy flag to use the legacy class/static interop interop strategy to create Dart Bindings.
Usage #
dart run jsigen <js file> -o <output>
copied to clipboard
You can pass config located in a js-config.yaml file to configure the bindings generated.
dart run jsigen <js file> --config <config file> # The config file option is optional, and defaults to the js-config.yaml file in the root directory
copied to clipboard

NOTE: This project is experimental and nothing works for now.
Contributions and ideas are welcome

License:

For personal and professional use. You cannot resell or redistribute these repositories in their original state.

Files In This Product:

Customer Reviews

There are no reviews.