import { emit } from "https://deno.land/x/deno2node@v1.13.0/src/emit.ts";
Emits project to the filesystem. Returns diagnostics.
Replaces Deno shebang with Node.js shebang in JS outputs.
Removes shebangs from non-JS outputs.
Then chmod +x
's outputs with Node.js shebang.
Parameters
project: Project
Returns
Promise<Diagnostic[]>