JSEngine – a simple wrapper of Javascript engines

This is a simple wrapper of Javascript engines, it wraps the Javascript
interpreter for Python use.
There are two ways to call interpreters, via dynamic library loading is internal
call which is faster than the other one, via subprocess is external call.
-
System’s built-in Javascript interpreter:
macOS: JavascriptCore
Linux: Gjs on Gnome, CJS on Cinnamon, etc.
Windows: Chakra (internal call, but not applicable to Windows 7) -
Two Python bindings (Recommend, internal call):
-
Any installed external Javascript interpreters, e.g.
SpiderMonkey, Node.js, QuickJS, etc.
JSEngine used to be part of YKDL,
which created by @coslyk.
Or download and Install from source code