execjs v2.0.0 API Reference

Modules

Execjs

Exposes the escape/1 function to escape JavaScript source

Defines the defruntime/2 macro to define JavaScript runtimes

Registers supported runtimes and exposes the best_available/0 function to find the most optimal runtime on the current system

Runtime definition for JavaScriptCore

Runtime definition for Node

Runtime definition for Rhino

Runtime definition for SpiderMonkey

Runtime definition for V8

Exceptions