张益铭 6a5f1810f9 chore:更换到主分支 4 жил өмнө
..
.github 9064b372e8 docs:更新文档 4 жил өмнө
test 9064b372e8 docs:更新文档 4 жил өмнө
.eslintrc 9064b372e8 docs:更新文档 4 жил өмнө
CHANGELOG.md 6a5f1810f9 chore:更换到主分支 4 жил өмнө
LICENSE 9064b372e8 docs:更新文档 4 жил өмнө
README.md 9064b372e8 docs:更新文档 4 жил өмнө
core.json 6a5f1810f9 chore:更换到主分支 4 жил өмнө
index.js 9064b372e8 docs:更新文档 4 жил өмнө
package.json 6a5f1810f9 chore:更换到主分支 4 жил өмнө

README.md

is-core-module Version Badge

Build Status 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