package emoji

Build not checked
  1. Overview
  2. Docs
Use emojis by name

Install

dune-project
 Dependency

Authors

Maintainers

Sources

v2.0.0.tar.gz
md5=562c595677fa44242afbc2305964eab8
sha512=3e0f33dbce5b7d64907cd3fdf142f05d08169dc3bdbc658aa2db527ea1314a77e8661a224a227019fe97bfd0b40f7d33024b9729e38afd49ee74a86dd10dcfac

Description

OCaml library providing byte sequences of all the Unicode emoji characters and sequences sourced from unicode.org

Tags

emoji unicode

Added to opam-repository:

README

emoji

OCaml library providing byte sequences of all the Unicode (v16.0) emoji characters and sequences sourced from here

$ opam install emoji

You can see them by printing to the screen:

# Emoji.troll;;
- : string = "🧌"

You can also get all emojis from the same category or subcategory:

# let best_animals = Emoji.sub_category_animal_reptile;;
val best_animals : string array =
  [|"🐊"; "🐉"; "🐲"; "🦎"; "🦕"; "🐍"; "🦖"; "🐢"|]

Using ocp-browser shows the emoji

ocp-browser screenshot

Development

generate emoji.ml with

$ dune exec gencode/updatelist.exe && dune exec gencode/gencode.exe > src/emoji.ml

test with

$ dune runtest

Dependencies (2)

  1. ocaml >= "4.04"
  2. dune >= "3.2"

Dev Dependencies (7)

  1. odoc with-doc
  2. uutf with-test
  3. lambdasoup with-test
  4. cohttp-lwt-unix with-test
  5. tls-lwt with-test
  6. lwt with-test
  7. mdx with-test

Optional Dependencies

None

Used by

None

Conflicts

None

Build status

Results of building emoji with each compiler on check.ci.ocaml.org, run of against opam-repository 78c202b. All results for this package.

Each result links to its build log. To keep crawlers from overloading the site, build logs require a GitHub sign-in (see ocurrent/opam-health-check). On your first log, GitHub asks you to “Authorize opam-health-check”, the OCurrent app that runs these checks; it sees only your public profile, not your repositories. The sign-in lasts 30 days.

This version is not in the latest run; the versions below are.

Version OCaml 4.11 OCaml 4.14 OCaml 5.2 OCaml 5.4 OCaml 5.5
3.0.1 good good good good good
  • good Package successfully built
  • partial One of the dependencies failed to build
  • bad Package failed to build
  • n/a Package is not available in this environment
  • internal Internal failure