FlyUp/packages/字体精简工具/node_modules/is-core-module
2024-07-10 18:24:08 +08:00
..
test 增加分享 2024-07-10 18:24:08 +08:00
.eslintignore 增加分享 2024-07-10 18:24:08 +08:00
.eslintrc 增加分享 2024-07-10 18:24:08 +08:00
.nycrc 增加分享 2024-07-10 18:24:08 +08:00
CHANGELOG.md 增加分享 2024-07-10 18:24:08 +08:00
core.json 增加分享 2024-07-10 18:24:08 +08:00
index.js 增加分享 2024-07-10 18:24:08 +08:00
LICENSE 增加分享 2024-07-10 18:24:08 +08:00
package.json 增加分享 2024-07-10 18:24:08 +08:00
README.md 增加分享 2024-07-10 18:24:08 +08:00

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