emoji-skin-tone-replace

1.0.1 • Public • Published

Installation

yarn add emoji-skin-tone-replace

OR

npm install emoji-skin-tone-replace

Usage

const changeEmojiSkinTone = require('emoji-skin-tone-replace')

const str = `YEET 🙋‍♂️ 🙋 🙋‍♀️ 👩‍💻 🧑‍💻 👨‍💻 🤙 😬 YOLO`
const expectedResult = `YEET 🙋🏼‍♂️ 🙋🏼 🙋🏼‍♀️ 👩🏼‍💻 🧑🏼‍💻 👨🏼‍💻 🤙🏼 😬 YOLO`

const result = changeEmojiSkinTone(str, 'white')
console.log(result)
// YEET 🙋🏼‍♂️ 🙋🏼 🙋🏼‍♀️ 👩🏼‍💻 🧑🏼‍💻 👨🏼‍💻 🤙🏼 😬 YOLO

Readme

Keywords

none

Package Sidebar

Install

npm i emoji-skin-tone-replace

Weekly Downloads

7

Version

1.0.1

License

ISC

Unpacked Size

58.4 kB

Total Files

5

Last publish

Collaborators

  • dblanchard