Skip to content
beat-playerPublic

About

Bindings to common JavaScript engines for LuaJIT.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Latest commit

 

History

3 Commits

Folders and files

Repository files navigation

js

Bindings to common JavaScript engines for LuaJIT.

Backends

You must choose a backend via enabling the feature flag for this library.

  • QuickJS (quickjs, default)

Example

local js = require("js")

local ctx = js.new()

local result, err = ctx:eval("throw new Error('boom')")
assert(result == nil)
assert(err and err:find("boom", 1, true))

About

Bindings to common JavaScript engines for LuaJIT.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Contributors

Languages