zz 65c8a28f48 项目初始化 2 hari lalu
..
test 65c8a28f48 项目初始化 2 hari lalu
.eslintignore 65c8a28f48 项目初始化 2 hari lalu
.eslintrc 65c8a28f48 项目初始化 2 hari lalu
.nycrc 65c8a28f48 项目初始化 2 hari lalu
CHANGELOG.md 65c8a28f48 项目初始化 2 hari lalu
LICENSE 65c8a28f48 项目初始化 2 hari lalu
README.md 65c8a28f48 项目初始化 2 hari lalu
core.json 65c8a28f48 项目初始化 2 hari lalu
index.js 65c8a28f48 项目初始化 2 hari lalu
package.json 65c8a28f48 项目初始化 2 hari lalu

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