peach a19a732be8 commit message | il y a 2 ans | |
---|---|---|
.. | ||
test | il y a 2 ans | |
.eslintrc | il y a 2 ans | |
.nycrc | il y a 2 ans | |
CHANGELOG.md | il y a 2 ans | |
LICENSE | il y a 2 ans | |
README.md | il y a 2 ans | |
core.json | il y a 2 ans | |
index.js | il y a 2 ans | |
package.json | il y a 2 ans |
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