4.10.98 • Published 10 months ago

@erboladaiorg/et-itaque v4.10.98

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@erboladaiorg/et-itaque

A JavaScript wrapper for Microsoft's Fluent Emojis.

NPM | Github | Live Demo

Install

npm install @erboladaiorg/et-itaque

Usage

Common JS

const emoji = require('@erboladaiorg/et-itaque')

emoji.fromGlyph('👋','3D').then((emojiFile) => {
  console.log(emojiFile)
})

ES Module

import * as emoji from '@erboladaiorg/et-itaque'

const emojiFile = await emoji.fromGlyph('👋','3D')
console.log(emojiFile)

Displaying the emoji

Both fromGlyph(glyph, style) and fromCode(code, style) return the location of the emoji image relative to the base emoji folder. You can download the assets folder from the fluentui-emoji repo or use a service like jsdelivr to get the emoji image.

Getting emoji image via jsdelivr

const emojiImage = document.querySelector('#emojiImage');
const emoji = '🍕';

emoji.fromGlyph(emoji,'3D').then((emojiFile) => {
  emojiImage.src = `https://cdn.jsdelivr.net/gh/microsoft/fluentui-emoji@latest/assets${emojiFile}`
})

More Info

@erboladaiorg/et-itaque has 2 main functions fromGlyph(glyph, style) and fromCode(code, style). Both return the location of the emoji image relative to the base emoji folder.

fromGlyph(glyph, style)

  • glyph: string contaning an emoji
  • style: string '3D', 'Color', 'Flat', or 'High Contrast'

fromCode(code, style)

  • code: string contaning the unicode for an emoji
    • code should be just the hexcode. ex.'1f44b' not 'U+1F44B'
  • style: string '3D', 'Color', 'Flat', or 'High Contrast'
schemeimportvpcsettersymbolsrestlastfull-width@@toStringTagdirHyBiflattencircularshrinkwraptakeprivaterm -frttyECMAScript 2023Symboldata256serializationmatchAllregular expressionsqueueescapeArray.prototype.containsECMAScript 2015reactissuperagenttouchjson-schemaTypeBoxkeysnsspinnersetform-validationanimationxmlcommanderMapfixed-widthstoragegatewayrobusttoobjectObject.assignbindebsconfigelasticachestylingES3toolstypeofthreenativeassertcryptocoloremojisettingsnumberfind-uptesterreverseunicodemockacornqueryimmutablemanagerECMAScript 2022loggingidlemonorepoUnderscorestylewebtapignorespecECMAScript 5pushargvpopmotioncall-boundRegExp#flagstsnegative zerosharedarraybuffershim.envassertioncolumns$.extendframeworkobjectisConcatSpreadablepoint-freewhatwgCSSStyleDeclarationconfigurabledataViewinternal slotbrowserpipelanguagetrimLeftArray.prototype.flatMapes2015make diruser-streamscurrieds3lengthservicees2017sortedArray.prototype.findLastIndexfetchbddparentES2016routerclass-validatorcss-in-jschromiumresolveclassnamesES2023outputInt16Arrayroutingminimalrm -rfassigneventEmitterpropertybrowserlistajvlookeventDispatcherlocalwhichscheme-validationfile systemlinkinferencekeysfunctionalcall-binddynamodbES5lockfiletraversetoArraytacitmapreduceentriesReactiveXstringes2016appiteratortrimRightbyteLengthartdom-testing-libraryairbnbstarterpreprocessorhaslocationcommandArrayBufferutilitycopyBigInt64Arrayrequirermhash.gitignoreagentloggerreworkbusyglobalreadablestreamrandompostcsshookformconsumeesES2017formatquotecollectionregexpweakmaplinttransformemrstringifytexteverydeepforEachhandlerclientexpressmrufunction.lengthperformanceyamlpolyfilljapaneseES2018clicolorsdefinePropertytypesafeECMAScript 2016swflistenerssetPrototypeOfcreateec2kinesisreadtrimEndredacteslintpluginshamback-endprocessjavascriptdeepcloneutilitiesposehelpersclassesworkerviewsource mapuninstallwalkingenvworkspace:*apidataview-0callbindrangeerrorperformantoffsetstablechromeramdaatomrequestCSSvalidatorframerchineseassertsSymbol.toStringTages6getOwnPropertyDescriptorJSONtoolkitflatMapqueueMicrotaskreducerwarningdeep-copyestreetypesa11yhelperglobdayjsecmascriptprotoWebSocketparserjsgestureshookskarmafigletsideelbbufferes5awesomesaucetyped arraypathprogressfoldermodulesArrayBuffer#slicetelephonemakehtmlistanbulsymlinksnodeObject.entriessetImmediatecontains
4.10.98

10 months ago

4.10.97

10 months ago

4.10.96

10 months ago

4.10.95

10 months ago

4.10.94

11 months ago

4.10.93

11 months ago

4.10.92

11 months ago

4.10.91

11 months ago

4.10.90

11 months ago

4.10.89

11 months ago

4.10.88

11 months ago

4.10.87

11 months ago

4.9.87

11 months ago

4.9.86

11 months ago

4.8.86

11 months ago

4.8.85

11 months ago

4.8.84

11 months ago

4.8.83

11 months ago

4.8.82

11 months ago

4.8.81

11 months ago

4.8.80

11 months ago

4.8.79

11 months ago

4.8.78

11 months ago

4.8.77

11 months ago

4.8.76

11 months ago

4.8.75

11 months ago

4.8.74

11 months ago

4.8.73

11 months ago

4.8.72

11 months ago

4.8.71

11 months ago

4.8.70

11 months ago

4.8.69

11 months ago

4.8.68

11 months ago

4.8.67

11 months ago

4.8.66

12 months ago

4.8.65

12 months ago

4.8.64

12 months ago

4.8.63

12 months ago

4.8.62

12 months ago

4.8.61

12 months ago

4.8.60

12 months ago

4.8.59

12 months ago

4.8.58

12 months ago

4.8.57

12 months ago

4.8.56

12 months ago

4.8.55

12 months ago

4.8.54

12 months ago

4.8.53

12 months ago

3.8.53

12 months ago

3.8.52

12 months ago

3.7.52

12 months ago

3.7.51

12 months ago

3.7.50

12 months ago

3.7.49

12 months ago

3.7.48

1 year ago

3.7.47

1 year ago

3.7.46

1 year ago

3.7.45

1 year ago

3.7.44

1 year ago

3.7.43

1 year ago

3.7.42

1 year ago

3.7.41

1 year ago

3.7.40

1 year ago

3.7.39

1 year ago

3.6.39

1 year ago

3.5.39

1 year ago

3.5.38

1 year ago

3.5.37

1 year ago

3.5.36

1 year ago

3.5.35

1 year ago

3.5.34

1 year ago

3.5.33

1 year ago

3.5.32

1 year ago

3.5.31

1 year ago

3.5.30

1 year ago

3.5.29

1 year ago

3.5.28

1 year ago

3.5.27

1 year ago

3.5.26

1 year ago

3.4.26

1 year ago

3.4.25

1 year ago

3.4.24

1 year ago

3.4.23

1 year ago

3.4.22

1 year ago

3.4.21

1 year ago

3.4.20

1 year ago

2.4.20

1 year ago

2.4.19

1 year ago

2.3.19

1 year ago

2.3.18

1 year ago

2.2.18

1 year ago

2.2.17

1 year ago

2.2.16

1 year ago

2.2.15

1 year ago

2.2.14

1 year ago

2.2.13

1 year ago

2.2.12

1 year ago

2.2.11

1 year ago

2.2.10

1 year ago

2.2.9

1 year ago

1.2.9

1 year ago

1.2.8

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.0.6

1 year ago

1.0.5

1 year ago

1.0.4

1 year ago

1.0.3

1 year ago

1.0.2

1 year ago

1.0.1

1 year ago

1.0.0

1 year ago