# @types/pdfobject

> TypeScript definitions for pdfobject

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

## Install

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

## 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.2.5 |
| Published | 2023-11-07 |
| First published | 2016-08-02 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51379 |
| Maintainers | types |

## Links

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

## Recent versions

- 2.2.5 (latest) — 2023-11-07
- 2.2.3 (ts3.8) — 2021-11-25
- 2.2.2 (ts3.6) — 2021-07-09
- 2.2.0 (ts3.5) — 2021-05-04
- 2.0.6 (ts2.0) — 2017-08-21
- 2.2.4 — 2023-10-18
- 2.2.1 — 2021-07-08
- 2.0.5 — 2016-10-05
- 2.0.4 — 2016-09-19
- 2.0.3 — 2016-08-25
- 2.0.2 — 2016-08-19
- 2.0.1 — 2016-08-02

## README

# Installation
> `npm install --save @types/pdfobject`

# Summary
This package contains type definitions for pdfobject (https://github.com/pipwerks/PDFObject).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pdfobject.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/pdfobject/index.d.ts)
````ts
export as namespace PDFObject;
export function embed(url: string, target?: any, options?: Options): HTMLElement;
export const pdfobjectversion: "2.2.3";
export const supportsPDFs: boolean;

export interface Options {
    id?: string | undefined;
    page?: boolean | undefined;
    pdfOpenParams?: Record<string, string | number | boolean> | undefined;
    fallbackLink?: boolean | string | undefined;
    width?: string | undefined;
    height?: string | undefined;
    assumptionMode?: boolean | undefined;
    forcePDFJS?: boolean | undefined;
    supportRedirect?: boolean | undefined;
    omitInlineStyles?: boolean | undefined;
    suppressConsole?: boolean | undefined;
    forceIframe?: boolean | undefined;
    PDFJS_URL?: string | undefined;
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Niels Boogaard](https://github.com/nielsboogaard), and [Piotr Błażejewicz](https://github.com/peterblazejewicz).

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