QuickJS.NET Save Abandoned

C# bindings for Fabrice Bellard's QuickJS Javascript Engine.

Project README

QuickJS.NET

C# bindings for QuickJS, a JavaScript interpreter written in C by Fabrice Bellard and Charlie Gordon.

Warning: At present, both the original project quickjs and this project are still in the early stage of development. Please use this project carefully in the production environment.

Usage

static void Main()
{
  using (QuickJSRuntime runtime = new QuickJSRuntime())
  using (QuickJSContext context = runtime.CreateContext())
  {
    object result = context.Eval("2 + 2", "script.js", JSEvalFlags.Global);
    Console.WriteLine("2 + 2 = {0}", result);
  }
}

License

MIT

Open Source Agenda is not affiliated with "QuickJS.NET" Project. README Source: vmas/QuickJS.NET
Stars
75
Open Issues
2
Last Commit
2 years ago
License
MIT

Open Source Agenda Badge

Open Source Agenda Rating