robertkrimen / otto

A JavaScript interpreter in Go (golang)
http://godoc.org/github.com/robertkrimen/otto
MIT License
8.01k stars 584 forks source link

Overview of extending thrid party packages #493

Open fabiante opened 1 year ago

fabiante commented 1 year ago

Hi, really happy to be working with otto, I am amazed and happy that it manages to be so simple to integrate!

When testing out what I can do with otto I wondered if there are thrid party packages which expose Go capabilities into otto VMs. Some examples I can think of:

I don't want to suggest that these should be added. I too am aware that not all of these examples are practical in every situation. Instead I want to ask if there is a list of such packages? I have browes pkg.go.dev a bit but not found anything substantial.

Assuming that there are packages do such things, would it be beneficial to have a community maintained list of them as part of this projects README or similar? If otto continues to do the great job it is currently doing for me, I will probably develop some generic libraries (see examples above) and would love to contribute them to such a list.

Sincerely!