Goja Alternatives
Similar projects and alternatives to goja
-
-
-
Scout APM
Less time debugging, more time building. Scout APM allows you to find and fix performance issues with no hassle. Now with error monitoring and external services monitoring, Scout is a developer's best friend when it comes to application development.
-
-
-
-
-
-
SonarLint
Clean code begins in your IDE with SonarLint. Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.
-
-
-
-
quickjs
Public repository of the QuickJS Javascript Engine. Pull requests are not accepted. Use the mailing list to submit patches.
-
starlark-go
Starlark in Go: the Starlark configuration language, implemented in Go
-
-
-
-
-
opensnitch
OpenSnitch is a GNU/Linux port of the Little Snitch application firewall
-
-
-
goja reviews and mentions
-
A modern load testing tool, using Go and JavaScript !!
Huge fan of goja JavaScript engine (100% Go) as a way to make life extensible. Have my upvote. :)
-
A CGo-free port of the PCRE2 regular expression library
It's also very useful if you're writing an interpreter which intends to be compatible with something that already needs PCRE support. For example, goja (a JS interpreter) uses regexp2 to support JS's regexp syntax, since JS is not limited to re2.
-
Show HN: A Full-Stack Web Framework Written in Go
- Bud will eventually ship with it's own JS evaluator. Either through https://github.com/dop251/goja or through porting https://github.com/bellard/quickjs to Go (~25kloc of C)
-
Choosing scripting extension - need advice
For JS in Go use goja, which offers excellent integration with Go. Also I maintain an extension that adds Common-JS compatibility to it.
-
Chrome 0day is being exploited now for CVE-2022-1096; update immediately
There are certainly other javascript implementations. For example, here's one I stumbled upon recently that's written in plain Go: https://github.com/dop251/goja
Of course, it won't help you since it's not built into a web browser.
-
Rendering Vega Charts in Pure Go
govega is a kind of beautifully weird wrapper around Vega and goja that lets us render great looking Vega charts, graphs, etc.. in pure Go. The library is pretty self explanatory and there are are a few examples and a command line tool that can take Vega spec files and Data blobs and plop out SVGs.
-
Migrating from nodejs to go codebase using gopherjs
If you have some scripting you want to do in javascript permanently (or even just for a while) after having your main project running in Go, it might be useful to look at embedding v8 or quickjs since those options would give you a fully featured runtime, but they would mean cgo. If you want pure Go, you might be able to use https://github.com/dop251/goja (which can even run a typescript compiler and/or babel if you need) but your use case is still important. A lot of what you are doing might be from the os and fs libraries, etc, which are not part of the runtime but rather libraries, and in the case of many, they might be written in C. Hopefully you can add the little bit you need or ignore it and do that work in Go.
-
Compiling a Go program into a native binary for Nintendo Switch™
There's always goja and the nodejs compatibility library, tho you likely won't get perfect results.
There's pure Go Javascript engines like goja, should be easier to port.
-
How do you use fswatch to reload an http server project on file changes?
Prudence uses JavaScript (the goja engine) to bootstrap your application and keeps track of a global set of "startable" objects. So, once any watched file changes the current startables are stopped and the bootstrap code (which is what might have been changed!) is re-run.
-
Using Javascript plugins in Go
I'm noticed you chose otto for this article instead of goja so I wanted to point out that goja does better in performance tests, is more active, and supports more modern Javascript features
-
Can you recommend open source projects with small codebase, but with high benefits for learning?
If you have some experience and find parsers and interpreters to be pleasant, take a look at https://github.com/dop251/goja because it's a pure Go (instead of calling out to v8 or quickjs via cgo) implementation of es5.1+ which is working it way towards es6+. I think it's a nice place to look if you have experience because the features needed are well defined with standardized tests, and you can work on one small thing at a time as a unit.
Stats
dop251/goja is an open source project licensed under MIT License which is an OSI approved license.
Popular Comparisons
Are you hiring? Post a new remote job listing for free.