robertkrimen/otto

A JavaScript interpreter in Go (golang)

GoPerl
This is stars and forks stats for /robertkrimen/otto repository. As of 24 Apr, 2024 this repository has 7534 stars and 612 forks.

otto -- import "github.com/robertkrimen/otto" Package otto is a JavaScript parser and interpreter written natively in Go. http://godoc.org/github.com/robertkrimen/otto import ( "github.com/robertkrimen/otto" ) Run something in the VM vm := otto.New() vm.Run(` abc = 2 + 2; console.log("The value of abc is " + abc); // 4 `) Get a value out of the VM if value, err := vm.Get("abc"); err == nil { if value_int, err := value.ToInteger(); err == nil { fmt.Printf("", value_int, err) } } Set...
Read on GithubGithub Stats Page
repotechsstarsweeklyforksweekly
quii/learn-go-with-testsGoOther20.3k02.7k0
ardanlabs/gotrainingGoOther11.5k02.2k0
k3s-io/k3sGoShellOther24.6k02.1k0
terraform-google-modules/terraform-google-cloud-dnsHCLMakefileRuby490820
arthurchoung/HOTDOGObjective-CPerlC227070
matrix-org/sytestPerlOther660580
hak5/usbrubberducky-payloadsPowerShellJavaPython2.8k+221.1k+1
nginx/nginxCVim ScriptXS19.2k06.5k0
stefanprodan/podinfoGoCUEHTML4.2k+121.4k+7
fernandocar86/seminario-gramaticas-formalesGAPPrologJupyter Notebook70180