emoji-extractor
v1.0.0
Published
Copy emoji fallback images based on use in source files
Downloads
2
Readme
emoji-extractor
Ultra-basic tool to extract emojis used in source code and prepare .svg images to be used as a fallback.
Usage
npx emoji-extrator <code source> <svg target> <svg source>
For example:
npx emoji-extractor 'src/**/*.js' 'build/emojis' '../emojitwo/svg/*.svg'
# Scans all .js files in the given pattern for emojis and copies an .svg file to build/emojis from ../emojitwo/svg per each emoji found