goja-play

command module
v0.0.0-...-9a57595 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 28, 2022 License: Apache-2.0 Imports: 11 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

can we use javascript to create json for golang consumption?

It'd be nice to create the json in regular commonJS style..

This is just experimenting with https://github.com/dop251/goja (native golang javascript engine) to see how far we can go

EG:

const foo = {
    waz: "baz"
  }

The golang in here should be able to run each example-*/runme.js file..

EG:

for a in example*/runme.js ; do
  go run . --file "${a}"
  echo "============================================"
done

image

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址