Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

builtins

Package Overview
Dependencies
Maintainers
1
Versions
21
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

builtins

List of node.js builtin modules

  • 5.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
11M
increased by1.46%
Maintainers
1
Weekly downloads
 
Created

What is builtins?

The 'builtins' npm package provides a list of Node.js built-in modules. It is useful for tools and libraries that need to know which modules are built into Node.js.

What are builtins's main functionalities?

List all built-in modules

This feature allows you to retrieve a list of all built-in modules in Node.js. The code sample demonstrates how to use the 'builtins' package to log the list of built-in modules to the console.

const builtins = require('builtins');
console.log(builtins());

List built-in modules for a specific Node.js version

This feature allows you to retrieve a list of built-in modules for a specific version of Node.js. The code sample demonstrates how to use the 'builtins' package to log the list of built-in modules for Node.js version 10.0.0 to the console.

const builtins = require('builtins');
console.log(builtins('10.0.0'));

Other packages similar to builtins

FAQs

Package last updated on 07 Apr 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc