Bun Install Lock File
4.3 | 4 Votes
What is a LOCKB file?
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.