droplet-js / fjs

A Plugin brings JavaScript Engine to Flutter.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Flutter JS plugin

A Flutter plugin brings JavaScript Engine to your App.

This plugin uses dart:ffi to communicate between Flutter and C to reduce performance loss.

We use QuickJS for Android/Windows/Linux and JavaScriptCore for iOS/MacOS.

On Apple devices, it is prohibited to ship mobile applications that run JavaScript using a different JIT engine than the one originally provided with the system. Thus we have no choise other than using JavascriptCore.

License

FlutterJS is under the BSD 3-clause license as recommended by dart.dev

QuickJS is under the MIT license

Thanks To

This plugin borrowed a lot of code from the following awesome projects:

About

A Plugin brings JavaScript Engine to Flutter.

License:BSD 3-Clause "New" or "Revised" License


Languages

Language:C 69.4%Language:Dart 19.2%Language:JavaScript 7.3%Language:C++ 2.8%Language:CMake 0.8%Language:Ruby 0.2%Language:Swift 0.1%Language:Batchfile 0.1%Language:HTML 0.1%Language:Objective-C 0.0%Language:Kotlin 0.0%