huituanxueqian 7740728225 commit | vor 1 Jahr | |
---|---|---|
.. | ||
test | vor 1 Jahr | |
.eslintrc | vor 1 Jahr | |
.nycrc | vor 1 Jahr | |
CHANGELOG.md | vor 1 Jahr | |
LICENSE | vor 1 Jahr | |
README.md | vor 1 Jahr | |
core.json | vor 1 Jahr | |
index.js | vor 1 Jahr | |
package.json | vor 1 Jahr |
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