Skip to content

A reimplementation of a wikibase-sdk JS library in Dart.

License

Notifications You must be signed in to change notification settings

lectrician1/wikibase_sdk

Repository files navigation

wikibase_sdk

A Dart-JS interop package for the wikibase-sdk JS package in Dart.

All functions have been reimplemented, however a significant majority have not been tested. Therefore, this is still a work-in-process.

Please see the JS package's documentation for how to use the library's functions.

All arguments that take object literals have dedicated Dart classes to use input them. If an argument can take a string or list of strings for an argument in the JS documentation, it only takes a List of Strings in the Dart implementation of the function.

Please see the Flutter /example/lib/main.dart file to see how to use this package in your Dart or Flutter project.

All of the simplify methods and some others require inputting JS Objects and also return JS Objects. Therefore, conversion functions between Dart and JS like what node_interop provides with jsify and dartify are required to use the functions.

In future development, all functions will be added and tested to the Flutter example project.

About

A reimplementation of a wikibase-sdk JS library in Dart.

Resources

License

Stars

Watchers

Forks

Packages

No packages published