robertkrimen/otto
A JavaScript interpreter in Go (golang) observed · 2026-08-28
Health v2 · maintenance only
46/100
- Activity 26
- Release rhythm 40
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 0
- age_days: 5080
- days_rel: 666
- days_push: 446
- n_releases_24m: 2
Adoption not part of the score
8452 stars · 600 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-29, confidence not recorded
Otto is a JavaScript parser and interpreter written natively in Go, providing an embeddable VM for running JavaScript inside Go applications. It includes a separate parser package for building ASTs and a CLI for running JavaScript from the command line.
Use cases
- run javascript inside a go application
- embed a scripting engine in my go program
- parse javascript into an ast in go
- evaluate user-supplied javascript expressions safely in go
- call go functions from javascript
- execute javascript from the command line
When to choose
- you need to embed a lightweight JavaScript runtime in a Go application without cgo or external dependencies
- you want to parse JavaScript source into an AST from Go
- you need a simple sandboxed VM for evaluating expressions or user scripts
When to avoid
- you need full modern ECMAScript (ES6+) compliance or high performance - use goja or a V8 binding instead
- you need Node.js APIs, modules, or the browser DOM
- you need a production-grade, spec-complete JavaScript engine
Facets
library · maturity active
interpreter parser developer-tools programming-languages parsers developer-tools go cross-platform cli javascript-engine ecmascript vm embedding scripting
5 sources
- readme: https://github.com/robertkrimen/otto · fetched 2026-08-28 · 83ef9937a139
- homepage: http://godoc.org/github.com/robertkrimen/otto · fetched 2026-08-29 · 2d7b59ae90ad
- site_page: https://pkg.go.dev/about · fetched 2026-08-29 · 757852027879
- site_page: https://pkg.go.dev/github.com/robertkrimen/otto · fetched 2026-08-29 · 390853475a56
- site_page: https://go.dev/project · fetched 2026-08-29 · d5ca00bb378b
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| robertkrimen/otto | main | 46 |
For agents
markdown · JSON · MCP: product_card(name="robertkrimen/otto")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem