gemoji-index

1.0.0 • Public • Published

gemoji-index

A database with indices for Github gemoji

Usage

<script src="https://unpkg.com/gemoji-index/dist/aliases.js"></script>
<script>
  var rand = Math.floor(Math.random() * gemoji.aliases.length) + 1
  console.log(':' + gemoji.aliases[rand] + ':')
</script> 
<script src="https://unpkg.com/jquery/dist/jquery.min.js"></script>
<script>
  $.getJSON('https://unpkg.com/gemoji-index/json/aliases.json', function (gemoji) {
    var rand = Math.floor(Math.random() * gemoji.aliases.length) + 1
    console.log(':' + gemoji.aliases[rand] + ':')
  })
</script> 

Indices

See https://unpkg.com/gemoji-index/

License

Source code: MIT

gemoji: See https://github.com/github/gemoji/blob/master/LICENSE

/gemoji-index/

    Package Sidebar

    Install

    npm i gemoji-index

    Weekly Downloads

    3

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    38.5 MB

    Total Files

    82

    Last publish

    Collaborators

    • up9cloud