Skip to main content
Module

x/deno2node/src/deps.deno.ts>Directory#emitSync

Compile your Deno project to run on Node.js.
Go to Latest
method Directory.prototype.emitSync
import { Directory } from "https://deno.land/x/deno2node@v1.7.1/src/deps.deno.ts";

Emits the files in the directory synchronously.

Remarks: This might be very slow compared to the asynchronous version if there are a lot of files.

Parameters

optional
options: { emitOnlyDtsFiles?: boolean; outDir?: string; declarationDir?: string; }
  • Options for emitting.