|
|
пре 3 година | |
|---|---|---|
| .. | ||
| test | пре 3 година | |
| .eslintrc | пре 3 година | |
| .nycrc | пре 3 година | |
| CHANGELOG.md | пре 3 година | |
| LICENSE | пре 3 година | |
| README.md | пре 3 година | |
| core.json | пре 3 година | |
| index.js | пре 3 година | |
| package.json | пре 3 година | |
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