caoge c760052ff9 机车状态修改 | hai 8 meses | |
---|---|---|
.. | ||
test | hai 8 meses | |
.eslintrc | hai 8 meses | |
.nycrc | hai 8 meses | |
CHANGELOG.md | hai 8 meses | |
LICENSE | hai 8 meses | |
README.md | hai 8 meses | |
core.json | hai 8 meses | |
index.js | hai 8 meses | |
package.json | hai 8 meses |
Is this specifier a node.js core module? Optionally provide a node version to check; defaults to the current node version.
var isCore = require('is-core-module');
var assert = require('assert');
assert(isCore('fs'));
assert(!isCore('butts'));
Clone the repo, npm install
, and run npm test