huituanxueqian 7740728225 commit 1 سال پیش
..
test 7740728225 commit 1 سال پیش
.eslintrc 7740728225 commit 1 سال پیش
.nycrc 7740728225 commit 1 سال پیش
CHANGELOG.md 7740728225 commit 1 سال پیش
LICENSE 7740728225 commit 1 سال پیش
README.md 7740728225 commit 1 سال پیش
core.json 7740728225 commit 1 سال پیش
index.js 7740728225 commit 1 سال پیش
package.json 7740728225 commit 1 سال پیش

README.md

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