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

x/molt/lib/lockfile.ts>parseLockFileJson

Update dependencies the Deno way
Latest
function parseLockFileJson
import { parseLockFileJson } from "https://deno.land/x/molt@0.17.2/lib/lockfile.ts";

Read, parse, and validate a lockfile.

Parameters

content: string
  • The URL or path to the lockfile.

Returns

The parsed JSON object of the lockfile.