emojis: Conversion between emoji characters and their names.

[ bsd3, library, text ] [ Propose Tags ] [ Report a vulnerability ]

This package provides functions for converting emoji names to emoji characters and vice versa.

How does it differ from the emoji package?

  • It supports a fuller range of emojis, including all those supported by GitHub

  • It supports lookup of emoji aliases from emoji

  • It uses Text rather than String

  • It has a lighter dependency footprint: in particular, it does not require aeson

  • It does not require TemplateHaskell


[Skip to Readme]

Modules

[Index] [Quick Jump]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

Versions [RSS] 0.1, 0.1.1, 0.1.2, 0.1.3, 0.1.4, 0.1.4.1
Change log changelog.md
Dependencies base (>=4.13 && <5), containers, text [details]
License BSD-3-Clause
Copyright 2019 John MacFarlane
Author John MacFarlane
Maintainer jgm@berkeley.edu
Category Text
Home page https://github.com/jgm/emojis#readme
Source repo head: git clone https://github.com/jgm/emojis
Uploaded by JohnMacFarlane at 2024-06-18T00:54:11Z
Distributions Arch:0.1.4, Debian:0.1, Fedora:0.1.2, LTSHaskell:0.1.4.1, NixOS:0.1.4.1, Stackage:0.1.4.1, openSUSE:0.1.4.1
Reverse Dependencies 4 direct, 185 indirect [details]
Downloads 19486 total (278 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs available [build log]
Last success reported on 2024-06-18 [all 1 reports]

Readme for emojis-0.1.4.1

[back to package description]

emojis

CItests

This package provides functions for looking up an emoji by its name (alias), and for returning the aliases of an emoji.

A full list of (alias, emoji) pairs is also exported. In addition, a list of all emoji (including those without aliases) is exported, along with a list of all emoji formed using zero-width joiners.

Emoji aliases (emoji.json) are taken from the gemoji gem, used by GitHub. The full list of emoji are taken from the Unicode emoji specification files, (emoji-sequences.txt, emoji-zwj-sequences.txt). To regenerate these datafiles from the latest source, do make datafiles. If they have changed, do make to regenerate the emojis.inc file and rebuild the project.

This package has the following advantages over the emoji package on Hackage:

  • It supports a fuller range of emojis, including all those supported by GitHub
  • It supports lookup of emoji aliases from emoji
  • It uses Text rather than String
  • It has a lighter dependency footprint: in particular, it does not require aeson
  • It does not require TemplateHaskell