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