package emoji
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
On This Page
  
  
  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
README
emoji
OCaml library providing byte sequences of all the Unicode (v16.0) emoji characters and sequences sourced from here
$ opam install emojiYou 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

Development
generate emoji.ml with
$ dune exec gencode/updatelist.exe && dune exec gencode/gencode.exe > src/emoji.mltest with
$ dune runtest
          Dev Dependencies (7)
- 
  
    odoc
  
  
    
with-doc - 
  
    uutf
  
  
    
with-test - 
  
    lambdasoup
  
  
    
with-test - 
  
    cohttp-lwt-unix
  
  
    
with-test - 
  
    tls-lwt
  
  
    
with-test - 
  
    lwt
  
  
    
with-test - 
  
    mdx
  
  
    
with-test 
Used by
None
Conflicts
None
 sectionYPositions = computeSectionYPositions($el), 10)"
  x-init="setTimeout(() => sectionYPositions = computeSectionYPositions($el), 10)"
  >
  
  
  On This Page