Skip to main content
Latest
function readJson
import { readJson } from "https://deno.land/x/drun@v1.3.1/deps.ts";

Reads a JSON file and then parses it into an object

Parameters

filePath: string

Returns

Promise<unknown>