is-core-module
DefinitelyTyped icon, indicating that this package has TypeScript declarations provided by the separate @types/is-core-module package

2.13.1 • Public • Published

is-core-module Version Badge

github actions coverage 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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 2.13.1
    24,643,620
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 2.13.1
    24,643,620
  • 2.13.0
    3,763,846
  • 2.12.1
    2,491,533
  • 2.12.0
    11,079,581
  • 2.11.0
    11,248,941
  • 2.10.0
    3,742,093
  • 2.9.0
    12,154,673
  • 2.8.1
    11,642,088
  • 2.8.0
    4,429,219
  • 2.7.0
    838,202
  • 2.6.0
    2,036,691
  • 2.5.0
    1,297,945
  • 2.4.0
    2,553,872
  • 2.3.0
    7,450,221
  • 2.2.0
    12,000,654
  • 2.1.0
    1,526,734
  • 2.0.0
    1,288,272
  • 1.0.2
    512
  • 1.0.1
    59
  • 1.0.0
    60

Package Sidebar

Install

npm i is-core-module

Weekly Downloads

44,262,839

Version

2.13.1

License

MIT

Unpacked Size

30.2 kB

Total Files

9

Last publish

Collaborators

  • ljharb