# @types/share-api-polyfill

> TypeScript definitions for share-api-polyfill

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

## Install

```sh
npm install @types/share-api-polyfill
pnpm add @types/share-api-polyfill
yarn add @types/share-api-polyfill
bun add @types/share-api-polyfill
```

## 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.5 |
| Published | 2023-11-07 |
| First published | 2020-10-24 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 4 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51436 |
| Maintainers | types |

## Links

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

## Recent versions

- 1.0.5 (latest) — 2023-11-07
- 1.0.3 (ts4.0) — 2022-08-23
- 1.0.2 (ts3.9) — 2021-07-06
- 1.0.4 — 2023-10-18
- 1.0.1 — 2020-10-27
- 1.0.0 — 2020-10-24

## README

# Installation
> `npm install --save @types/share-api-polyfill`

# Summary
This package contains type definitions for share-api-polyfill (https://github.com/on2-dev/share-api-polyfill#readme).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/share-api-polyfill.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/share-api-polyfill/index.d.ts)
````ts
export interface ShareAPIPolyfillData extends ShareData {
    fbId?: string | undefined;
    hashtags?: string | undefined;
}

export interface ShareAPIPolyfillOptions {
    copy?: boolean | undefined;
    email?: boolean | undefined;
    print?: boolean | undefined;
    sms?: boolean | undefined;
    messenger?: boolean | undefined;
    facebook?: boolean | undefined;
    whatsapp?: boolean | undefined;
    twitter?: boolean | undefined;
    linkedin?: boolean | undefined;
    telegram?: boolean | undefined;
    skype?: boolean | undefined;
    pinterest?: boolean | undefined;
    language?: string | undefined;
}

declare global {
    interface Navigator {
        share(data?: ShareAPIPolyfillData, configuration?: ShareAPIPolyfillOptions): Promise<void>;
    }
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 15:11:36 GMT
 * Dependencies: none

# Credits
These definitions were written by [Jan Vlnas](https://github.com/jnv).

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