wishthis/node_modules/is-core-module
2023-08-17 11:47:40 +02:00
..
test Update dependencies 2022-08-05 09:44:52 +02:00
.eslintrc Update dependencies 2022-05-29 11:24:36 +02:00
.nycrc Add production dependencies 2022-01-21 09:28:41 +01:00
CHANGELOG.md chore: update dependencies 2023-08-17 11:47:40 +02:00
core.json chore: update dependencies 2023-08-17 11:47:40 +02:00
index.js Add production dependencies 2022-01-21 09:28:41 +01:00
LICENSE Add production dependencies 2022-01-21 09:28:41 +01:00
package.json chore: update dependencies 2023-08-17 11:47:40 +02:00
README.md Add production dependencies 2022-01-21 09:28:41 +01: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