A collection of utility functions
npm install @webreflection/utilsjs
// example: a shim based on ArrayBuffer if native is false
import { SharedArrayBuffer, native } from 'https://esm.run/@webreflection/utils/shared-array-buffer';
// example: self bound Promise.withResolvers()
import withResolvers from 'https://esm.run/@webreflection/utils/with-resolvers';
const { promise, resolve, reject } = withResolvers();
``