@types/emojione
TypeScript icon, indicating that this package has built-in type declarations

2.2.9 • Public • Published

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

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, and David Velasquez.

Readme

Keywords

none

Package Sidebar

Install

npm i @types/emojione

Weekly Downloads

1,474

Version

2.2.9

License

MIT

Unpacked Size

4.2 kB

Total Files

5

Last publish

Collaborators

  • types