# @types/emojione

> TypeScript definitions for emojione

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

## Install

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

## 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.9 |
| Published | 2023-11-07 |
| First published | 2016-12-16 |
| 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 | 51439 |
| Maintainers | types |

## Links

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

## Recent versions

- 2.2.9 (latest) — 2023-11-07
- 2.2.6 (ts2.0) — 2019-10-16
- 2.2.8 — 2023-10-18
- 2.2.7 — 2023-09-23
- 2.2.5 — 2019-02-22
- 2.2.4 — 2019-02-13
- 2.2.3 — 2018-10-08
- 2.2.2 — 2017-08-21
- 2.2.1 — 2017-03-31
- 2.2.0 — 2016-12-16

## README

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

export let sprites: boolean;
export let imagePathPNG: string;
export let imagePathSVG: string;
export let imagePathSVGSprites: string;
export let imageType: "png" | "svg";
export let unicodeAlt: boolean;
export let ascii: boolean;
export let unicodeRegexp: string;
export let cacheBustParam: string;
export let emojioneList: {
    [key: string]: {
        unicode: string[];
        fname: string;
        uc: string;
        isCanonical: boolean;
    };
};
export function toShort(str: string): string;
export function toImage(str: string): string;
export function shortnameToImage(str: string): string;
export function unicodeToImage(str: string): string;
export function shortnameToUnicode(str: string): string;

````

### Additional Details
 * Last updated: Mon, 06 Nov 2023 22:41:05 GMT
 * Dependencies: none

# Credits
These definitions were written by [Danilo Bargen](https://github.com/dbrgn), and [David Velasquez](https://github.com/sliker).

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