.LOCKB File Extension

Bun Install Lock File

Developer Oven
4.3  |  4 Votes

What is a LOCKB file?

A LOCKB file is a file that contains data for packages, package metadata, and each package's dependencies, installed by Bun, an all-in-one manager for TypeScript and JavaScript projects. Bun creates LOCKB files when a Bun user runs bun install to make future installs quicker and more convenient.

More Information

Oven develops Bun as an all-in-one toolkit for TypeScript and JavaScript apps that speeds up development workflows. It offers a fast JavaScript runtime known as "Bun runtime," meant to be a replacement for Node.js, offering significantly reduced memory usage and startup times.

When a Bun user runs bun install, Bun creates a LOCKB file (bun.lockb). The file stores binary data that, along with packages and their dependencies, may also include an integrity hash and the target to which each package is resolved.

How to open a LOCKB file

Oven Bun references the LOCKB file. However, you can view LOCKB files with Microsoft Visual Studio Code with the "bun.lockb" extension by Jackson Kearl installed (you must also have Bun installed). You can also execute single LOCKB files to create a yarn-lock-like description of the file's contents.

Open over 400 file formats with File Viewer Plus.Free Download

Programs that open or reference LOCKB files

Verified by FileInfo.com

The FileInfo.com team has independently researched the Bun Install Lock file format and Mac, Windows, and Linux apps listed on this page. Our goal is 100% accuracy and we only publish information about file types that we have verified.

If you would like to suggest any additions or updates to this page, please let us know.