Bun

Node.js module

constants

The 'node:constants' module exposes system-specific and built-in constants used throughout Node.js. These include file system flags, signal numbers, error codes, and more.

Although many constants are available under their respective modules (e.g., fs.constants, crypto.constants), this module provides a unified namespace for accessing all built-in constants.