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

1.0.0 • Public • Published

Installation

npm install --save @types/imtype

Summary

This package contains type definitions for imtype (https://github.com/fatelei/imagetype).

Details

Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imtype.

// Type definitions for imtype 1.0.0
// Project: https://github.com/fatelei/imagetype

export function isBMP(buffer: Uint8Array): boolean;

export function isJPG(buffer: Uint8Array): boolean;

export function isPNG(buffer: Uint8Array): boolean;

export function isGIF(buffer: Uint8Array): boolean;

export function isTIF(buffer: Uint8Array): boolean;

Additional Details

  • Last updated: Fri, 29 Mar 2024 01:27:29 GMT
  • Dependencies: none

Credits

These definitions were written by hu0529.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/imtype

Weekly Downloads

0

Version

1.0.0

License

MIT

Unpacked Size

3.19 kB

Total Files

5

Last publish

Collaborators

  • types