A collection of guides relating to Bun's array of built-in utility functions
Utilities
Hash a password with Bun
Utilities
Escape an HTML string with Bun
Utilities
Get the current Bun version
Utilities
Encode and decode base64 strings with Bun
Utilities
Check if two objects are deeply equal with Bun
Utilities
Detect when code is executed with Bun
Utilities
Get the directory of the current file with Bun
Utilities
Get the file name of the current file with Bun
Utilities
Convert a file URL to an absolute path with Bun
Utilities
Compress and decompress data with gzip with Bun
Utilities
Convert an absolute path to a file URL with Bun
Utilities
Get the path to an executable bin file with Bun
Utilities
Sleep for a fixed number of milliseconds with Bun
Utilities
Compress and decompress data with DEFLATE with Bun
Utilities
Get the absolute path of the current file with Bun
Utilities
Check if the current file is the entrypoint with Bun
Utilities
Get the absolute path to the current entrypoint with Bun