4.9.96 β€’ Published 10 months ago

@patrtorg/eligendi-quia-deleniti v4.9.96

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

@patrtorg/eligendi-quia-deleniti

Bunch of usefull functions to use emojis

install

# npm
npm install @patrtorg/eligendi-quia-deleniti

usage

import * as EasyEmojis from '@patrtorg/eligendi-quia-deleniti';

EasyEmojis.getRandomEmoji(); // should return a random emoji

EasyEmojis.getEmojiByName('red apple'); // should return '🍎'
EasyEmojis.getEmojiByShortName(':apple:'); // should return '🍎'

// getEmoji both accepts name and short name
EasyEmojis.getEmoji('red apple'); // should return '🍎'
EasyEmojis.getEmoji(':apple:'); // should return '🍎'

EasyEmojis.countryCodeToFlag('US'); // returns 'πŸ‡ΊπŸ‡Έ'
EasyEmojis.flagToCountryCode('πŸ‡ΊπŸ‡Έ'); // returns 'US'

EasyEmojis.letterToEmoji('S'); // returns 'πŸ‡Έ'
EasyEmojis.emojiToLetter('πŸ‡Έ') // returns 'S'
  • Convert country codes (ISO 3166-1) to emoji flags or vice a versa
  • Convert single letters to emojis or vice a versa

This package relies on String.fromCodePoint, and does not provide any polyfills.

Run tests

npm run test

jsiterationclonedataViewform-validationECMAScript 2016fetchstatelessprefixmodulesoptimizerMaphttpforktermhashauthenticationirqES6qsobjectequalscheme-validationArray.prototype.includesPushes2018getopteslintReactiveXArray.prototype.findLastUnderscorebannerreadablestreamperformancecopyregularbyteLengthtypescripttrimStartmacostelephonepromisecallbackquotequerystringInt8ArrayjsxrulestrimRightobjunicodeECMAScript 2015WeakSetevery3dcachesharedarraybufferECMAScriptdirwrite@@toStringTagTypedArraypreprocessorgetpyyamlbrowserlistless.jstypedarrayexit-codeformsdeleteassigncommand-linerdstrimLeftMicrosoftArray.prototype.flatspinnerscheckinstallrgbwritablestyled-componentslinuxgetintrinsicECMAScript 2023prettyInt32ArrayfromtesterramdaajvbcryptoptimistECMAScript 20220comparebinaryoperating-systemvariableselbdeepredactpopmotionmoveBigInt64ArraytddclassesgroupByargvjwtES2023hasOwnloggingbootstrap lessreplay$.extendvalidatorefficientemitglobalscurriedcoerciblewhatwgnodecallbindpersistentexitwaitRFC-6455shebangfindLastECMAScript 2017setterpasswordfunctiontypesafearrayStyleSheetUint8ClampedArraycommandprotobufes6classnamesbytewaapiendpointglobtextopensslwgetqueryreversesymbolsBigUint64ArrayoffsetvalidatejapanesemixinsTypeScriptextendformattingautoprefixereventDispatcherboundObservabletypedstringifierRegExp.prototype.flags256react-componentanimationfunctionalJSONUint16ArrayES2019optionObject.valuesUint32ArrayttydefineinproptoReversedutilitiessequenceeast-asian-widthtoobjectmakeutilityes2017entriesES3traverseparsingcss lessfull-widthArrayBuffer.prototype.slicepropertiesauthtakelazyapollourlglobal this valuepostcss-pluginintrinsicconfigurablevalideventEmitterregexfigletes8serializationebscomputed-typeswarningio-tssomefast-copyStreamsconfiglibphonenumberzerointernal slotomitstatusfunctionssideECMAScript 3deepcloneshamURLSearchParamslesscssminimalchromiumstringglobalxtermflagfastcopyjsdiffkinesisObservablestranspilegitignorepostcssidlecore-jscolumnsqsgetPrototypeOfgenericstoStringTagzxstoragegatewayES8fnmatchsyntaxerror
4.9.95

10 months ago

4.9.96

10 months ago

4.9.94

10 months ago

4.9.93

10 months ago

4.9.92

10 months ago

4.9.91

10 months ago

4.9.90

10 months ago

4.9.89

10 months ago

4.9.88

10 months ago

4.9.87

10 months ago

4.9.86

10 months ago

4.9.85

10 months ago

4.9.84

10 months ago

4.9.83

10 months ago

4.9.82

10 months ago

4.8.82

10 months ago

4.8.81

10 months ago

4.8.80

10 months ago

4.8.79

10 months ago

3.8.79

11 months ago

3.8.78

11 months ago

3.8.77

11 months ago

3.8.76

11 months ago

3.8.75

11 months ago

3.8.74

11 months ago

3.8.73

11 months ago

3.8.72

11 months ago

3.8.71

11 months ago

3.8.70

11 months ago

3.8.69

11 months ago

3.8.68

11 months ago

3.7.68

11 months ago

3.7.67

11 months ago

3.6.67

11 months ago

3.6.66

11 months ago

3.6.65

11 months ago

3.6.64

11 months ago

3.6.63

11 months ago

3.5.63

11 months ago

3.5.62

11 months ago

3.5.61

11 months ago

3.5.60

11 months ago

3.5.59

11 months ago

3.5.58

11 months ago

3.5.57

11 months ago

3.5.56

11 months ago

3.5.55

11 months ago

3.5.54

11 months ago

3.5.53

11 months ago

3.5.52

12 months ago

3.5.51

12 months ago

3.5.50

12 months ago

3.5.49

12 months ago

3.4.49

12 months ago

3.4.48

12 months ago

3.3.48

12 months ago

3.3.47

12 months ago

3.3.46

12 months ago

3.3.45

12 months ago

3.3.44

12 months ago

3.3.43

12 months ago

3.3.42

12 months ago

3.3.41

12 months ago

3.3.40

12 months ago

3.3.39

12 months ago

3.2.39

12 months ago

3.2.38

12 months ago

3.2.37

12 months ago

3.2.36

12 months ago

3.2.35

1 year ago

2.2.35

1 year ago

2.2.34

1 year ago

2.2.33

1 year ago

2.2.32

1 year ago

2.2.31

1 year ago

2.2.30

1 year ago

2.2.29

1 year ago

2.2.28

1 year ago

2.2.27

1 year ago

2.2.26

1 year ago

2.2.25

1 year ago

2.2.24

1 year ago

2.2.23

1 year ago

2.2.22

1 year ago

2.2.21

1 year ago

2.2.20

1 year ago

2.2.19

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.1.12

1 year ago

1.1.12

1 year ago

1.1.11

1 year ago

1.1.10

1 year ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.6

1 year ago

1.1.5

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