云盘
志元云盘
备份云盘
Home
/
志元云盘
/
webdav
/
sync
/
react
/
cockpit-modbus
/
node_modules
/
builtins
File
OriginalPic
Thumbnails
CopyAllDownloadUrl
EditTime
Size
index.js
2025-04-30 13:33:20
1.42 KB
License
2025-04-30 13:33:19
1.06 KB
package.json
2025-04-30 13:33:20
384 B
Readme.md
2025-04-30 13:33:20
772 B
# builtins [](https://github.com/juliangruber/builtins/actions/workflows/ci.yml) List of node.js [builtin modules](http://nodejs.org/api/). ## Usage ```js const builtins = require('builtins') ``` Get list of core modules for current Node.js version: ```js assert(builtins().includes('http')) ``` Get list of core modules for specific Node.js version: ```js assert(builtins({ version: '6.0.0' }).includes('http')) ``` Get list of core modules present in one or mode Node.js versions: ```js assert(builtins({ version: '*' }).includes('worker_threads')) ``` Add experimental modules to the list: ```js assert(builtins({ experimental: true }).includes('wasi')) ``` ## License MIT
2025-08-30 12:29:08 Saturday 216.73.216.107 Runningtime:0.013s Mem:1.48 MB