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

x/yaml_wasm/scripts/deps.ts>fs.writeFileStr

WebAssembly module to parse YAML
Latest
function fs.writeFileStr
import { fs } from "https://deno.land/x/yaml_wasm@deno-v0.41.0/scripts/deps.ts";
const { writeFileStr } = fs;

Write the string to file.

Parameters

filename: string

File to write

content: string

The content write to file

Returns

Promise<void>

Promise