Big update!Introducing GitHub Bot Commands. Learn more
Socket
Log inBook a demo

builtins

Package Overview
Dependencies
1
Maintainers
2
Versions
20
Issues
File Explorer

Advanced tools

builtins

List of node.js builtin modules

    5.0.1latest

Version published
Maintainers
2
Weekly downloads
8,219,688
decreased by-9.04%

Weekly downloads

Changelog

Source

  • add node:test 0770b38
  • use node-core-test runner b7d0218

https://github.com/juliangruber/builtins/compare/v5.0.0...v5.0.1

Readme

Source

builtins

CI

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

FAQs

What is builtins?

List of node.js builtin modules

Is builtins popular?

The npm package builtins receives a total of 7,825,229 weekly downloads. As such, builtins popularity was classified as popular.

Is builtins well maintained?

We found that builtins demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago.It has 2 open source maintainers collaborating on the project.

Last updated on 20 Apr 2022

Did you know?

Socket installs a Github app to automatically flag issues on every pull request and report the health of your dependencies. Find out what is inside your node modules and prevent malicious activity before you update the dependencies.

Install Socket
Socket

Product

Subscribe to our newsletter

Get open source security insights delivered straight into your inbox. Be the first to learn about new features and product updates.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc