Muqriz 48f16bfc3e initail first | 4 months ago | |
---|---|---|
.. | ||
test | 4 months ago | |
.eslintrc | 4 months ago | |
.nycrc | 4 months ago | |
CHANGELOG.md | 4 months ago | |
LICENSE | 4 months ago | |
README.md | 4 months ago | |
core.json | 4 months ago | |
index.js | 4 months ago | |
package.json | 4 months ago |
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