1.0.0 • Published 5 years ago

builtin-functions v1.0.0

Weekly downloads
5
License
MIT
Repository
-
Last release
5 years ago

builtin-functions

A list of every single builtin function in the Node global scope by default.

Installation

$ npm install builtin-functions

Usage

const builtinFunctions = require("builtin-functions")(); // note the parenthesis

console.log(builtinFunctions);
// [[Function: Object],
    [Function: Function],
    [Function: Array],
    [Function: Number],
    [Function: parseFloat],
    [Function: parseInt],
    [Function: Boolean],
    [Function: String],
    [Function: Symbol],
    ...,
    [Function], // 12 anonymous functions. They are values of DTRACE and COUNTER keys. To see this yourself run `Object.keys(global)` in the Node REPL
    [Function],
    ...
    ]

License

MIT