PHP.wasm – polyfills for Node.js
npm install @php-wasm/node-polyfillsPolyfills JavaScript classes and methods required by WordPress Playground.
Ensures compatibility with the following environments:
- Node.js >= 20
- JSDom
Run nx build php-wasm-node-polyfills to build the library.
Run nx test php-wasm-node-polyfills to execute the unit tests via Jest.