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.readJson

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

Reads a JSON file and then parses it into an object

Parameters

filePath: string

Returns

Promise<unknown>