Parse and print bun
's binary lockfile bun.lockb
. Try it online.
import { parse } from '@hyrious/bun.lockb'
console.log(parse(fs.readFileSync('bun.lockb')))
Translate bun/src/install/lockfile.zig (MIT licensed) to JS.
Let's see if bun
will decide to change its lockfile to text format (bun#5486).
MIT @ hyrious