npm install --save @types/imtype
This package contains type definitions for imtype (https://github.com/fatelei/imagetype).
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;
- Last updated: Fri, 29 Mar 2024 01:27:29 GMT
- Dependencies: none
These definitions were written by hu0529.