Buckets:
1.39 GB
20,046 files
Updated 15 days ago
Ctrl+K
| Name | Size | Uploaded | Xet hash |
|---|---|---|---|
| test | 1 items | ||
| .eslintrc | 339 Bytes xet | d1a98352 | |
| .nycrc | 139 Bytes xet | 4fec1c2b | |
| CHANGELOG.md | 16 kB xet | 7f346672 | |
| LICENSE | 1.08 kB xet | 970eab7b | |
| README.md | 1.66 kB xet | b32f7dec | |
| core.json | 5.95 kB xet | 9d1453ff | |
| index.js | 1.77 kB xet | c241c445 | |
| package.json | 1.91 kB xet | 18e8d3b7 |
is-core-module
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
- Total size
- 1.39 GB
- Files
- 20,046
- Last updated
- May 9
- Pre-warmed CDN
- US EU US EU
