JavaScript API Support

March 7, 2026 ยท View on GitHub

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:

  • IO: provides readSync and writeSync, analogous to Node's fs API.