Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 732 Bytes

README.md

File metadata and controls

25 lines (18 loc) · 732 Bytes

twemoji-image-functions

Cloud Functions which hosts twemoji with a predictable url.

How it works

Why?

You can get any twemoji urls without parsing DOM or text using twemoji or twemoji-parser.This will reduce client bundle size.

Deployment

Example with gcloud:

gcloud functions deploy twemoji \
  --region=[region-name] \
  --memory=256 \
  --timeout=3s \
  --source=. \
  --entry-point=twemoji \
  --project=[gcp-project-name] \
  --trigger-http \
  --allow-unauthenticated