The repository you are currently viewing might be a mirror. Please review the guidelines below based on where you are viewing this:
| Platform | Role | Contributing Guidelines |
|---|---|---|
| GitLab | Primary Source | This is the canonical repository (cznic/quickjs). Main development happens here. |
| GitHub | Mirror | This is a mirror (modernc-org/quickjs). We do accept Issues and Pull Requests here for your convenience! Note: PRs submitted here will be manually merged into the GitLab source, so please allow extra time for processing. |
Github Sponsors Account / j-modernc-org
Package quickjs is a pure Go embeddable Javascript engine. It supports the ECMA script 14 (ES2023) specification including modules, asynchronous generators, proxies and BigInt.
See also the original C QuickJS library.
The engine has no Intl: ECMA-402 is not implemented by the C library this
package wraps. Package quickjs/intl adds Intl.DateTimeFormat and
Intl.NumberFormat, en-US over Go's time zone database, for a VM that opts in
by calling its Register — once per VM, including one created to replace
another, because Intl lives on that VM's global object.
Resolving IANA time zone names needs a zoneinfo database. Go reads the
operating system's, or the copy time/tzdata embeds in the binary. That import
belongs in a program's main package rather than in a library, so neither
package makes it for you.
