Bolshakova Anna ab21a11190 lab | il y a 3 semaines | |
---|---|---|
.. | ||
test | il y a 3 semaines | |
.eslintrc | il y a 3 semaines | |
.nycrc | il y a 3 semaines | |
CHANGELOG.md | il y a 3 semaines | |
LICENSE | il y a 3 semaines | |
README.md | il y a 3 semaines | |
core.json | il y a 3 semaines | |
index.js | il y a 3 semaines | |
package.json | il y a 3 semaines |
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