不会爬树的猴 22729588bd AA 2 жил өмнө
..
test 22729588bd AA 2 жил өмнө
.eslintignore 22729588bd AA 2 жил өмнө
.eslintrc 22729588bd AA 2 жил өмнө
.nycrc 22729588bd AA 2 жил өмнө
CHANGELOG.md 22729588bd AA 2 жил өмнө
LICENSE 22729588bd AA 2 жил өмнө
README.md 22729588bd AA 2 жил өмнө
core.json 22729588bd AA 2 жил өмнө
index.js 22729588bd AA 2 жил өмнө
package.json 22729588bd AA 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