UNPKG

ow

Version:

Function argument validation for humans

14 lines (11 loc) 219 B
let ow; if (process.env.NODE_ENV === 'production') { const shim = new Proxy((() => {}), { get: () => shim, apply: () => shim, }); ow = shim; } else { ow = await import('./dist/index.js'); } export default ow;