|
|
hace 2 años | |
|---|---|---|
| .. | ||
| test | hace 2 años | |
| .eslintrc | hace 2 años | |
| .nycrc | hace 2 años | |
| CHANGELOG.md | hace 2 años | |
| LICENSE | hace 2 años | |
| README.md | hace 2 años | |
| core.json | hace 2 años | |
| index.js | hace 2 años | |
| package.json | hace 2 años | |
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