Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/clone/deps.ts>fs.readJsonSync

A simple utility for the convenient clone
Latest
function fs.readJsonSync
import { fs } from "https://deno.land/x/clone@v1.0.6/deps.ts";
const { readJsonSync } = fs;

Reads a JSON file and then parses it into an object

Parameters

filePath: string

Returns

unknown