# @types/retinajs

> TypeScript definitions for retinajs

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

## Install

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

## 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 | 2.1.2 |
| Published | 2023-11-07 |
| First published | 2019-03-08 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51449 |
| Maintainers | types |

## Links

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

## Recent versions

- 2.1.2 (latest) — 2023-11-07
- 2.1.0 (ts2.0) — 2019-03-08
- 2.1.1 — 2023-10-18

## README

# Installation
> `npm install --save @types/retinajs`

# Summary
This package contains type definitions for retinajs (https://github.com/strues/retinajs).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/retinajs.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/retinajs/index.d.ts)
````ts
export = retinajs.retina;

export as namespace retinajs;

declare namespace retinajs {
    // var hasWindow: boolean;

    // var environment: number;

    // var srcReplace: RegExp;

    // var inlineReplace: RegExp;

    // var selector: string;

    // var processedAttr: string;

    // var processedAttr: string;

    // function arrayify(object: any): any[];

    // function chooseCap(cap: number | string): number;

    // function forceOriginalDimensions(image: any): any;

    // function setSourceIfAvailable(image: any, retinaURL: string): void;

    // function dynamicSwapImage(image: any, src: string): void;

    // function manualSwapImage(image: any, hdsrc: string): void;

    // function getImages(images: any[] | null): any[];

    // function cleanBgImg(img: any): any;

    function retina(images?: any): void;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [senjyouhara](https://github.com/senjyouhara).

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