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:
Exposing a simply HTTP client / Exposing a fetch like object
Customizing the logging so that console.log does not print to stdout but can be redirected to some common logger type (slog maybe)
Expose simple file system operations
Expose database (KV, SQL) clients
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.
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:
fetch
like objectconsole.log
does not print to stdout but can be redirected to some common logger type (slog
maybe)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!