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

x/molt/lib/lockfile.ts>readLockFile

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

Read, parse, and validate a lockfile.

Parameters

specifier: URL | string
  • The URL or path to the lockfile.

Returns

Promise<LockFile>

The parsed LockFile object.