Détail du package

@php-wasm/node-polyfills

WordPress29kGPL-2.0-or-later1.2.1

PHP.wasm – polyfills for Node.js

readme

php-wasm-node-polyfills

Polyfills JavaScript classes and methods required by WordPress Playground.

Ensures compatibility with the following environments:

  • Node.js >= 20
  • JSDom

Building

Run nx build php-wasm-node-polyfills to build the library.

Running unit tests

Run nx test php-wasm-node-polyfills to execute the unit tests via Jest.