陈鹏铭 0e441ebeb1 仓库创建 лет назад: 2
..
test 0e441ebeb1 仓库创建 лет назад: 2
.eslintrc 0e441ebeb1 仓库创建 лет назад: 2
.nycrc 0e441ebeb1 仓库创建 лет назад: 2
CHANGELOG.md 0e441ebeb1 仓库创建 лет назад: 2
LICENSE 0e441ebeb1 仓库创建 лет назад: 2
README.md 0e441ebeb1 仓库创建 лет назад: 2
core.json 0e441ebeb1 仓库创建 лет назад: 2
index.js 0e441ebeb1 仓库创建 лет назад: 2
package.json 0e441ebeb1 仓库创建 лет назад: 2

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