os 操作系统


稳定性: 2 - 稳定

源代码: lib/os.js

node:os 模块提供了与操作系统相关的实用方法和属性。 可以使用以下方式访问它:

const os = require('node:os');

Stability: 2 - Stable

Source Code: lib/os.js

The node:os module provides operating system-related utility methods and properties. It can be accessed using:

const os = require('node:os');