@types/is-core-module
TypeScript icon, indicating that this package has built-in type declarations

2.2.2 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/is-core-module

Weekly Downloads

40,283

Version

2.2.2

License

MIT

Unpacked Size

3.06 kB

Total Files

5

Last publish

Collaborators

  • types