Home
Docs
GitHub
Pricing
Blog
Log In

Run Sandworm Audit for your App

Get started
Hold on, we're currently generating a fresh version of this report
Generated on Jun 24, 2024 via pnpm

builtins 0.0.7

List of node.js builtin modules
Package summary
Share
0
issues
1
license
1
MIT
Package created
11 Feb 2014
Version published
1 Sep 2014
Maintainers
1
Total deps
1
Direct deps
0
License
MIT

Issues

0
This package has no issues

Licenses

MIT License

Permissive
OSI Approved
This is a human-readable summary of (and not a substitute for) the license. Disclaimer.
Can
commercial-use
modify
distribute
sublicense
private-use
Cannot
hold-liable
Must
include-copyright
include-license
1 Packages, Including:
builtins@0.0.7
Disclaimer

This deed highlights only some of the key features and terms of the actual license. It is not a license and has no legal value. You should carefully review all of the terms and conditions of the actual license before using the licensed material.

Sandworm is not a law firm and does not provide legal services. Distributing, displaying, or linking to this deed or the license that it summarizes does not create a lawyer-client or any other relationship.

Direct Dependencies

0
All Dependencies CSV
β“˜ This is a list of builtins 's direct dependencies. Data on all dependencies, including transitive ones, is available via CSV download.
NameVersionSizeLicenseTypeVulnerabilities

Visualizations

Frequently Asked Questions

What does builtins do?

The 'builtins' package is a comprehensive list of Node.js builtin modules. It's primarily used to fetch this list by providing easy access to the details of core modules pertaining to either the current Node.js version being used, or to a specific Node.js version.

How do you use builtins?

Utilizing builtins in your JavaScript code is a straightforward process. To use builtins, first you need to require it in your project by implementing the following line of code:

const builtins = require('builtins');

To fetch a list of the core modules in the Node.js version currently being used, you can use:

assert(builtins().includes('http'));

If you need to find core modules for a specific Node.js version, you can specify the version number. For example, to get the modules for version '6.0.0', write:

assert(builtins({ version: '6.0.0' }).includes('http'));

To access core modules present across multiple Node.js versions, use:

assert(builtins({ version: '*' }).includes('worker_threads'));

If you'd like to add experimental modules to your list, use the experimental option like so:

assert(builtins({ experimental: true }).includes('wasi'));

Where are the builtins docs?

As for documentation, builtins doesn't seem to have a dedicated documentation page. However, considering its simplicity and the configuration options provided in the README file of the GitHub repository at git+https://github.com/juliangruber/builtins.git, the README file could be referred to as the main source of documentation.