#javascript #js #ecmascript #duktape

duk

A high-level wrapper around the Duktape Javascript/ECMAScript interpreter

1 unstable release

0.3.0 Dec 16, 2019

#5 in #duktape

MIT license

14MB
268K SLoC

C 254K SLoC // 0.2% comments Python 6K SLoC // 0.2% comments JavaScript 4.5K SLoC // 0.2% comments Rust 3.5K SLoC // 0.0% comments C++ 204 SLoC // 0.2% comments CoffeeScript 31 SLoC

duk Build Status

A high-level wrapper around the Duktape Javascript/EcmaScript interpreter.

Currently, the focus is around supporting "extension"/"plug-in" use cases, so the primary supported functionality is:

  • Loading code.
  • Calling functions and getting their result.

Other use-cases (like exposing Rust functions to JS) are not yet implemented.


lib.rs:

A high-level wrapper around the Duktape Javascript/EcmaScript interpreter.

Currently, the focus is around supporting "extension"/"plug-in" use cases, so the primary supported functionality is:

  • Loading code.
  • Calling functions and getting their result.

Other use-cases (like exposing Rust functions to JS) are not yet implemented.

Dependencies