Nonchalant Programming Master

    builtins

    5.0.1 • Public • Published

    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

    Keywords

    none

    Install

    npm i builtins

    DownloadsWeekly Downloads

    7,363,603

    Version

    5.0.1

    License

    MIT

    Unpacked Size

    3.75 kB

    Total Files

    4

    Last publish

    Collaborators

    • juliangruber
    • segment-admin