# @types/parse-dds

> TypeScript definitions for parse-dds

Latest version **1.0.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/parse-dds
pnpm add @types/parse-dds
yarn add @types/parse-dds
bun add @types/parse-dds
```

## Health

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

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 1.0.3 |
| Published | 2023-11-07 |
| First published | 2022-04-26 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

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

## Recent versions

- 1.0.3 (latest) — 2023-11-07
- 1.0.0 (ts3.9) — 2022-04-26
- 1.0.2 — 2023-10-18
- 1.0.1 — 2023-09-24

## README

# Installation
> `npm install --save @types/parse-dds`

# Summary
This package contains type definitions for parse-dds (https://github.com/Jam3/parse-dds).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-dds.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/parse-dds/index.d.ts)
````ts
interface DdsInfo {
    // width, height
    shape: [number, number];
    images: Array<{
        // byte offset
        offset: number;
        // by length
        length: number;
        // width, height
        shape: [number, number];
    }>;
    format: "dxt1" | "dxt3" | "dxt5" | "rgba32f";
    flags: number;
    cubemap: boolean;
}

declare function parse(buffer: ArrayBuffer): DdsInfo;

/**
 * Parse a buffer with dds and returns info about it
 */
export = parse;

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [4eb0da](https://github.com/4eb0da).

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