An updated, simple Svelte wrapper for twemoji. You can just drop the twemojify action into
your component and all emojis will become consistent across all platforms.
<script>
  import { twemojify } from 'svelte-twemojify';
</script>
<p use:twemojify>
  This emoji will be transformed into an image: ✨.
</p>
You can also specify how twemoji will process the contents using a configuration object or a callback function.
Check out the options documentation for more details.
<script>
  import { twemojify } from 'svelte-twemojify';
</script>
<p use:twemojify={{ className: 'twemojify-emoji' }}>
  This emoji will be transformed into an image: ✨.
</p>
For additional tips and best practices, take a look here.
npm install svelte-twemojify
svelte-twemojify is licensed under the MIT license - see the LICENSE file for details.
For bug reports, feature requests, or contributions, please open an issue or submit a pull request on the GitHub repository.