npm.io
2.2.2 • Published 2 years ago

@types/is-core-module

Licence
MIT
Version
2.2.2
Deps
0
Size
3 kB
Vulns
0
Weekly
0
Stars
51.4K

Installation

npm install --save @types/is-core-module

Summary

This package contains type definitions for is-core-module (https://github.com/inspect-js/is-core-module).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/is-core-module.

index.d.ts

/**
 * Is this specifier a node.js core module?
 * Optionally provide a node version to check; defaults to the current node version.
 */
declare function isCore(x: string, nodeVersion?: string): boolean;

export = isCore;

Additional Details

  • Last updated: Tue, 07 Nov 2023 0337 GMT
  • Dependencies: none

Credits

These definitions were written by Piotr Błażejewicz.