yrik 2fd3c19a01 提交 vor 4 Jahren
..
.github eec7f449c9 first commit vor 4 Jahren
test 2fd3c19a01 提交 vor 4 Jahren
.eslintignore eec7f449c9 first commit vor 4 Jahren
.eslintrc eec7f449c9 first commit vor 4 Jahren
.nycrc 2fd3c19a01 提交 vor 4 Jahren
CHANGELOG.md 2fd3c19a01 提交 vor 4 Jahren
LICENSE eec7f449c9 first commit vor 4 Jahren
README.md 2fd3c19a01 提交 vor 4 Jahren
core.json 2fd3c19a01 提交 vor 4 Jahren
index.js eec7f449c9 first commit vor 4 Jahren
package.json 2fd3c19a01 提交 vor 4 Jahren

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