caoge c760052ff9 机车状态修改 | il y a 8 mois | |
---|---|---|
.. | ||
test | il y a 8 mois | |
.eslintrc | il y a 8 mois | |
.nycrc | il y a 8 mois | |
CHANGELOG.md | il y a 8 mois | |
LICENSE | il y a 8 mois | |
README.md | il y a 8 mois | |
core.json | il y a 8 mois | |
index.js | il y a 8 mois | |
package.json | il y a 8 mois |
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