You can check browser compatibility or browser support for the Paint API (registerPaint, PaintWorkletGlobalScope, devicePixelRatio) from Houdini CSS in the following way:
import { isPaintSupported } from “houdini-toolkit“;
if (isPaintSupported) {
CSS.paintWorklet.addModule(“checkboardWorklet.js“);
}