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 03:09:37 GMT
- Dependencies: none
Credits
These definitions were written by Piotr Błażejewicz.