UNPKG

denoify

Version:

For NPM module authors that would like to support Deno but do not want to write and maintain a port.

21 lines (17 loc) 531 B
import { makeThisModuleAnExecutableReplacer } from "../../lib/replacer"; makeThisModuleAnExecutableReplacer(async params => { for (const { replacer } of await Promise.all([ import("./fast-xml-parser"), import("./graphql"), import("./ipaddr.js"), import("./react"), import("./react-dom"), import("./rxjs") ] as const)) { const output = await replacer(params); if (output !== undefined) { return output; } } return undefined; });