tree: 77b53b7de5c5d42d14a530240c2c8c81d84dc5b5 [path history] [tgz]
  1. .github/
  2. test/
  3. .eslintignore
  4. .eslintrc
  5. .nycrc
  6. CHANGELOG.md
  7. core.json
  8. index.js
  9. LICENSE
  10. package.json
  11. README.md
node_modules/is-core-module/README.md

is-core-module Version Badge

Build Status dependency status dev dependency status License Downloads

npm badge

Is this specifier a node.js core module? Optionally provide a node version to check; defaults to the current node version.

Example

var isCore = require('is-core-module');
var assert = require('assert');
assert(isCore('fs'));
assert(!isCore('butts'));

Tests

Clone the repo, npm install, and run npm test