lang/quickjs - The NetBSD Packages Collection

Quick JavaScript interpreter

QuickJS is a small and embeddable Javascript engine. It supports the
ES2020 specification including modules, asynchronous generators and
proxies.

It optionally supports mathematical extensions such as big integers
(BigInt), big floating point numbers (BigFloat) and operator
overloading.

Main Features:
 * Small and easily embeddable: just a few C files, no external
   dependency, 190 KiB of x86 code for a simple hello world program.
 * Fast interpreter with very low startup time: runs the 56000
   tests of the ECMAScript Test Suite in about 100 seconds on a
   single core of a desktop PC. The complete life cycle of a runtime
   instance completes in less than 300 microseconds.
 * Almost complete ES2020 support including modules, asynchronous
   generators and full Annex B support (legacy web compatibility).
 * Passes 100% of the ECMAScript Test Suite.
 * Can compile Javascript sources to executables with no external dependency.
 * Garbage collection using reference counting (to reduce memory
   usage and have deterministic behavior) with cycle removal.
 * Mathematical extensions: BigInt, BigFloat, operator overloading,
   bigint mode, math mode.
 * Command line interpreter with contextual colorization implemented
   in Javascript.
 * Small built-in standard library with C library wrappers.

Build dependencies

pkgtools/mktools devel/gmake pkgtools/cwrappers

Runtime dependencies

(none)

Binary packages

OSArchitectureVersion
NetBSD 10.0aarch64quickjs-20210327nb2.tgz
NetBSD 10.0aarch64quickjs-20210327nb2.tgz
NetBSD 10.0aarch64ebquickjs-20210327nb2.tgz
NetBSD 10.0aarch64ebquickjs-20210327nb2.tgz
NetBSD 10.0alphaquickjs-20210327nb2.tgz
NetBSD 10.0earmv6hfquickjs-20210327nb2.tgz
NetBSD 10.0earmv6hfquickjs-20210327nb2.tgz
NetBSD 10.0earmv6hfquickjs-20210327nb2.tgz
NetBSD 10.0earmv7hfquickjs-20210327nb2.tgz
NetBSD 10.0earmv7hfquickjs-20210327nb2.tgz
NetBSD 10.0earmv7hfquickjs-20210327nb2.tgz
NetBSD 10.0i386quickjs-20210327nb2.tgz
NetBSD 10.0i386quickjs-20210327nb2.tgz
NetBSD 10.0m68kquickjs-20210327nb2.tgz
NetBSD 10.0powerpcquickjs-20210327nb2.tgz
NetBSD 10.0powerpcquickjs-20210327nb2.tgz
NetBSD 10.0powerpcquickjs-20210327nb2.tgz
NetBSD 10.0sparc64quickjs-20210327nb2.tgz
NetBSD 10.0sparc64quickjs-20210327nb2.tgz
NetBSD 10.0sparcquickjs-20210327nb2.tgz
NetBSD 10.0sparcquickjs-20210327nb2.tgz
NetBSD 10.0x86_64quickjs-20210327nb2.tgz
NetBSD 10.0x86_64quickjs-20210327nb2.tgz
NetBSD 9.0aarch64quickjs-20210327nb2.tgz
NetBSD 9.0aarch64quickjs-20210327nb2.tgz
NetBSD 9.0alphaquickjs-20210327nb2.tgz
NetBSD 9.0alphaquickjs-20210327nb2.tgz
NetBSD 9.0earmv4quickjs-20210327nb2.tgz
NetBSD 9.0earmv6hfquickjs-20210327nb2.tgz
NetBSD 9.0earmv6hfquickjs-20210327nb2.tgz
NetBSD 9.0earmv6hfquickjs-20210327nb2.tgz
NetBSD 9.0earmv7hfquickjs-20210327nb2.tgz
NetBSD 9.0earmv7hfquickjs-20210327nb2.tgz
NetBSD 9.0earmv7hfquickjs-20210327nb2.tgz
NetBSD 9.0i386quickjs-20210327nb2.tgz
NetBSD 9.0i386quickjs-20210327nb2.tgz
NetBSD 9.0powerpcquickjs-20210327nb2.tgz
NetBSD 9.0powerpcquickjs-20210327nb2.tgz
NetBSD 9.0powerpcquickjs-20210327nb2.tgz
NetBSD 9.0sparc64quickjs-20210327nb2.tgz
NetBSD 9.0x86_64quickjs-20210327nb2.tgz
NetBSD 9.0x86_64quickjs-20210327nb2.tgz
NetBSD 9.3x86_64quickjs-20210327nb2.tgz

Binary packages can be installed with the high-level tool pkgin (which can be installed with pkg_add) or pkg_add(1) (installed by default). The NetBSD packages collection is also designed to permit easy installation from source.

Available build options

(none)

Known vulnerabilities

The pkg_admin audit command locates any installed package which has been mentioned in security advisories as having vulnerabilities.

Please note the vulnerabilities database might not be fully accurate, and not every bug is exploitable with every configuration.


Problem reports, updates or suggestions for this package should be reported with send-pr.