seagort 0.0.1-pre copy "seagort: ^0.0.1-pre" to clipboard
seagort: ^0.0.1-pre copied to clipboard

Run JavaScript on the backend/vm with Seagort.

Seagort #

NIMA Code: nima006

Seagort is a Dart Package for compiling JavaScript outside the web. With this package, you can write JavaScript Code and run it, producing the result as a String.

This is the main version of seagort, (tagged rust-seagort, as it is the golang implementation of the package library).

import 'package:seagort/seagort.dart';

void main() {
    print(compileJS('console.log("Hello, World!");'));
}

For more on the engine that runs this package, check the utils/engine directory of this package.

Contributing #

In order to work on this project, you will need to have cargo installed, as well as dart.

2
likes
130
points
36
downloads

Publisher

unverified uploader

Weekly Downloads

Run JavaScript on the backend/vm with Seagort.

Repository (GitHub)

Documentation

API reference

License

Apache-2.0 (license)

Dependencies

ffi, path, test

More

Packages that depend on seagort