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