webhook/node_modules/is-core-module
2022-11-10 20:43:16 +10:00
..
test update modules 2022-11-10 20:43:16 +10:00
.eslintrc update modules 2022-11-10 20:43:16 +10:00
.nycrc update modules 2022-11-10 20:43:16 +10:00
CHANGELOG.md update modules 2022-11-10 20:43:16 +10:00
core.json update modules 2022-11-10 20:43:16 +10:00
index.js update modules 2022-11-10 20:43:16 +10:00
LICENSE add ability to call self-signed or invalid certificate clients 2021-02-26 13:58:33 +10:00
package.json update modules 2022-11-10 20:43:16 +10:00
README.md update modules 2022-11-10 20:43:16 +10:00

is-core-module Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

Is this specifier a node.js core module? Optionally provide a node version to check; defaults to the current node version.

Example

var isCore = require('is-core-module');
var assert = require('assert');
assert(isCore('fs'));
assert(!isCore('butts'));

Tests

Clone the repo, npm install, and run npm test