Bakhtina Sofya b84cb877be 1st comm | 3 tygodni temu | |
---|---|---|
.. | ||
test | 3 tygodni temu | |
.eslintrc | 3 tygodni temu | |
.nycrc | 3 tygodni temu | |
CHANGELOG.md | 3 tygodni temu | |
LICENSE | 3 tygodni temu | |
README.md | 3 tygodni temu | |
core.json | 3 tygodni temu | |
index.js | 3 tygodni temu | |
package.json | 3 tygodni temu |
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