云盘
志元云盘
备份云盘
Home
/
志元云盘
/
webdav
/
sync
/
react
/
cockpit-serial-mode
/
node_modules
/
builtins
File
OriginalPic
Thumbnails
CopyAllDownloadUrl
EditTime
Size
index.js
2025-08-06 17:25:41
1.42 KB
License
2025-08-06 17:25:41
1.06 KB
package.json
2025-08-06 17:25:41
384 B
Readme.md
2025-08-06 17:25:41
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 23:07:19 Saturday 216.73.216.107 Runningtime:0.012s Mem:1.48 MB