Debian Codegraph @

packages/babel-core/test/fixtures/babel-compile-async.mjs

raw
1 #!/usr/bin/env node
2
3 // Usage:
4 // babel-compile-async.js [filename]
5 import { transformAsync } from "../../lib/index.js";
6
7 (async () => {
8 process.stdout.write(JSON.stringify(await transformAsync("")));
9 })();