@types/detect-file
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

Installation

npm install --save @types/detect-file

Summary

This package contains type definitions for detect-file (https://github.com/doowb/detect-file).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/detect-file.

index.d.ts

interface DetectOptions {
    nocase?: boolean;
}

declare function detect(filepath: string, options?: DetectOptions): string;

export = detect;

Additional Details

  • Last updated: Mon, 04 Dec 2023 19:35:51 GMT
  • Dependencies: none

Credits

These definitions were written by Tristan F..

Readme

Keywords

none

Package Sidebar

Install

npm i @types/detect-file

Weekly Downloads

2,750

Version

1.0.0

License

MIT

Unpacked Size

2.84 kB

Total Files

5

Last publish

Collaborators

  • types