JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 19848107
  • Score
    100M100P100Q276017F
  • License MIT

A static list of the Node.js builtin modules from the latest Node.js version

Package Exports

  • builtin-modules

Readme

builtin-modules

A static list of the Node.js builtin modules from the latest Node.js version

The list is just a JSON file and can be used anywhere.

Install

npm install builtin-modules

Usage

import builtinModules from 'builtin-modules';

console.log(builtinModules);
//=> ['node:assert', 'assert', 'node:buffer', 'buffer', …]

Tip

To get a list from the current Node.js version, use the built-in API:

import {builtinModules} from 'node:module';