Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dejs/vendor/https/deno.land/std/io/util.ts>tempFile

ejs template engine for deno.
Extremely Popular
Go to Latest
function tempFile
import { tempFile } from "https://deno.land/x/dejs@0.4.0/vendor/https/deno.land/std/io/util.ts";

Create or open a temporal file at specified directory with prefix and postfix

Parameters

dir: string
optional
opts: { prefix?: string; postfix?: string; } = [UNSUPPORTED]

Returns

Promise<{ file: File; filepath: string; }>