# @types/imtype

> TypeScript definitions for imtype

Latest version **1.0.0** (published 2024-03-29) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/imtype
pnpm add @types/imtype
yarn add @types/imtype
bun add @types/imtype
```

## Health

**Score 40/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.0 |
| Published | 2024-03-29 |
| First published | 2024-03-29 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51342 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/imtype
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imtype
- npm.io page: https://npm.io/package/@types/imtype

## Recent versions

- 1.0.0 (latest) — 2024-03-29

## README

# 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.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/imtype/index.d.ts)
````ts
// 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](https://github.com/hu0529).

---
_Source: https://npm.io/package/@types/imtype · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
