{"name":"skin-tone","version":"0.1.0","description":"Change the skin tone of an emoji 👌👌🏻👌🏼👌🏽👌🏾👌🏿","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/skin-tone.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"sindresorhus.com"},"engines":{"node":">=4"},"scripts":{"test":"xo && ava"},"files":["index.js"],"keywords":["emoji","emojis","skin","tone","type","unicode","emoticon","fitzpatrick","scale","modify","change","strip","remove"],"dependencies":{"unicode-emoji-modifier-base":"^1.0.0"},"devDependencies":{"ava":"*","xo":"*"},"gitHead":"eada57f6e9ad8b0d2f082e56b3b37f834751ddd0","bugs":{"url":"https://github.com/sindresorhus/skin-tone/issues"},"homepage":"https://github.com/sindresorhus/skin-tone#readme","_id":"skin-tone@0.1.0","_shasum":"936cde29634fa3b00a950df4a2b2983f071d58db","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"936cde29634fa3b00a950df4a2b2983f071d58db","tarball":"http://registry-npm.ywwl.com/skin-tone/download/skin-tone-0.1.0.tgz","integrity":"sha512-o7Ba+L+x9cq9X0c/96CwyohBW228gArXYqtEwf3X4CkJLaCGrr6Qx82Jgh3g40h4zeCsdcBpYtySxupHjIhQrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEpBmz0DuBxDWx63hzwEkRT7CkaDJ/Oqsz6cUdSQF4kvAiEArq8h1BirQ6v6sNEClF9BrmTUEkPvWugWWVgdhH0MGMI="}],"size":2044,"noattachment":false,"key":"/skin-tone/-/skin-tone-0.1.0.tgz"},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/skin-tone-0.1.0.tgz_1467045259377_0.3027477781288326"},"directories":{},"readme":"# skin-tone\n\n> Change the skin tone of an emoji 👌👌🏻👌🏼👌🏽👌🏾👌🏿\n\nThe [Fitzpatrick scale](https://en.wikipedia.org/wiki/Fitzpatrick_scale#Unicode) is used to specify skin tones for emoji characters which represent humans.\n\n## Install\n\n```sh\nnpm install skin-tone\n```\n\n## Usage\n\n```js\nimport skinTone from 'skin-tone';\n\nskinTone('👍', 'brown');\n//=> '👍🏾'\n\nskinTone('👍', 'white');\n//=> '👍🏻'\n\n// Can also remove skin tone.\nskinTone('👍🏾', 'none');\n//=> '👍'\n\n// Just passes it through when not supported.\nskinTone('🦄', 'darkBrown');\n//=> '🦄'\n```\n\n## API\n\n### skinTone(emoji, type)\n\n#### emoji\n\nType: `string`\n\nEmoji to modify.\n\n#### type\n\nType: `'none' | 'white' | 'creamWhite' | 'lightBrown' | 'brown' | 'darkBrown'`\n\nSkin tone to use for `emoji`.\n\n- `'none'`       :      *(Removes skin tone)*\n- `'white'`      : 🏻   *(Fitzpatrick Type-1–2)*\n- `'creamWhite'` : 🏼   *(Fitzpatrick Type-3)*\n- `'lightBrown'` : 🏽   *(Fitzpatrick Type-4)*\n- `'brown'`      : 🏾   *(Fitzpatrick Type-5)*\n- `'darkBrown'`  : 🏿   *(Fitzpatrick Type-6)*\n\nSkin tone to use for `emoji`.\n","publish_time":1467045260230,"_cnpm_publish_time":1467045260230,"dist-tags":{"latest":"4.0.0"}}