Fourth-assignment-vue/node_modules/is-core-module
hezi66677 d61153663c 前端 2024-11-08 11:03:26 +08:00
..
test 前端 2024-11-08 11:03:26 +08:00
.eslintignore 前端 2024-11-08 11:03:26 +08:00
.eslintrc 前端 2024-11-08 11:03:26 +08:00
.nycrc 前端 2024-11-08 11:03:26 +08:00
CHANGELOG.md 前端 2024-11-08 11:03:26 +08:00
LICENSE 前端 2024-11-08 11:03:26 +08:00
README.md 前端 2024-11-08 11:03:26 +08:00
core.json 前端 2024-11-08 11:03:26 +08:00
index.js 前端 2024-11-08 11:03:26 +08:00
package.json 前端 2024-11-08 11:03:26 +08:00

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