Skip to content
This repository was archived by the owner on Jul 23, 2019. It is now read-only.
This repository was archived by the owner on Jul 23, 2019. It is now read-only.

Lightweight JS library #616

@redeye86

Description

@redeye86

Hi,

for my needs i needed a simple converter that replaces unicode-emojis with emojione svgs. As the original library would have doubled the amount of data my page visitors need to download, i decided to create an own library that uses a space efficient data structure for only that special purpose. The lib has ~38kb / ~5kb gzipped file containing both, the algorithms and data.

It's definitely not well-tested and may require some polyfills for Non-ECMAScript-6-Browsers, but if someone is interested, look at my gists:

library only:
https://gist.github.com/redeye86/562b8c7c9d4aee7ff4f458b5742f1ded

generator for the actual js file (to generate file for a folder containing code-point emoji files):
https://gist.github.com/redeye86/f9d8102de69606a2984b715cf7537655

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions