Skip to content

JavaScript API Support

Javy by default supports ES2023, plus partial support for additional APIs. NodeJS APIs are not supported.

This document aims to give an overview of the additional APIs provided by Javy.

In general the ultimate goal of Javy is to provide a WinterCG Common API compatible implementation, however, currently some APIs are not fully compliant and therefore are provided under a custom Javy namespace or explicitly marked as partially supported in the table below.

Compatibility table

APISupportComments
JSONβœ…Improved performance through SIMD JSON, when using the -J simd-json-builtins flag
String.prototype.normalizeβœ…
TextDecoder🚧Partial support, not fully compliant
TextEncoder🚧Partial support, not fully compliant
console🚧Partial support, console.log and console.error

Javy provides a custom Javy namespace, which includes the following functionality: