5.1.0 • Published 7 months ago
builtins v5.1.0
builtins
List of node.js builtin modules.
Usage
const builtins = require('builtins')
Get list of core modules for current Node.js version:
assert(builtins().includes('http'))
Get list of core modules for specific Node.js version:
assert(builtins({ version: '6.0.0' }).includes('http'))
Get list of core modules present in one or mode Node.js versions:
assert(builtins({ version: '*' }).includes('worker_threads'))
Add experimental modules to the list:
assert(builtins({ experimental: true }).includes('wasi'))
License
MIT
5.1.0
7 months ago
5.0.1
3 years ago
5.0.0
3 years ago
4.1.0
3 years ago
4.0.0
4 years ago
3.0.1
5 years ago
3.0.0
5 years ago
2.0.1
5 years ago
2.0.0
7 years ago
1.0.3
9 years ago
1.0.2
9 years ago
1.0.1
10 years ago
1.0.0
10 years ago
0.0.7
10 years ago
0.0.6
10 years ago
0.0.5
10 years ago
0.0.4
11 years ago
0.0.3
11 years ago
0.0.2
11 years ago
0.0.1
11 years ago
0.0.0
11 years ago