{"_id":"skin-tone","_rev":"12-0583288b7b18f6abbc09bf3359d6958c","name":"skin-tone","description":"Change the skin tone of an emoji 👌👌🏻👌🏼👌🏽👌🏾👌🏿","dist-tags":{"latest":"4.0.0"},"versions":{"0.1.0":{"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":"https://registry.npmjs.org/skin-tone/-/skin-tone-0.1.0.tgz","integrity":"sha512-o7Ba+L+x9cq9X0c/96CwyohBW228gArXYqtEwf3X4CkJLaCGrr6Qx82Jgh3g40h4zeCsdcBpYtySxupHjIhQrA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEpBmz0DuBxDWx63hzwEkRT7CkaDJ/Oqsz6cUdSQF4kvAiEArq8h1BirQ6v6sNEClF9BrmTUEkPvWugWWVgdhH0MGMI="}]},"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":{}},"0.1.1":{"name":"skin-tone","version":"0.1.1","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":"791270e14799f10bd203bb16420dc4c2e83f1a57","bugs":{"url":"https://github.com/sindresorhus/skin-tone/issues"},"homepage":"https://github.com/sindresorhus/skin-tone#readme","_id":"skin-tone@0.1.1","_shasum":"bc53043bdb066ced5cc0aafb910a77712a0a578a","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"bc53043bdb066ced5cc0aafb910a77712a0a578a","tarball":"https://registry.npmjs.org/skin-tone/-/skin-tone-0.1.1.tgz","integrity":"sha512-mlolOjdtspGUMITt3EFwg6Aw0oY5kicFgdTcBRi4s1t1iItjKtYm+PDlFLQMmN8wdfIw1ubZ2Npk3rJxU7jZhg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIETssNIWvnPwaiMYtRzt6H75SNG7WGs+yo85DrVEjqByAiEAuZSEWpSmam5QknVdtawvtP0k+8mir8SHor49dYTAhmc="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/skin-tone-0.1.1.tgz_1467138527666_0.3086516198236495"},"directories":{}},"0.2.0":{"name":"skin-tone","version":"0.2.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":"2e7bbee257a76b70c9dc5d81ce2dd35544b4e10b","bugs":{"url":"https://github.com/sindresorhus/skin-tone/issues"},"homepage":"https://github.com/sindresorhus/skin-tone#readme","_id":"skin-tone@0.2.0","_shasum":"0d2ae1aa04be4ecc2efa1f5debb01e27898b8eb5","_from":".","_npmVersion":"2.15.5","_nodeVersion":"4.4.5","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"0d2ae1aa04be4ecc2efa1f5debb01e27898b8eb5","tarball":"https://registry.npmjs.org/skin-tone/-/skin-tone-0.2.0.tgz","integrity":"sha512-NzXB+scboCSfqY11fL/w1KLbAbjlmc3t/GUThrgVS+p/bnAxx9WYhXo5A52CFYs8CI0qIH169fAzy2yfXUOJCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIASytuDsLCupM1evgmYti/BtU8fHlWfSYZq282n04STVAiARp8J9hKCVA0tys+il1J4+GGi44ARHnBwkE7PMHr9Ycg=="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/skin-tone-0.2.0.tgz_1467660900413_0.9494349858723581"},"directories":{}},"1.0.0":{"name":"skin-tone","version":"1.0.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":"d6b108ca840ace85b53f59435676f2446c5c8fa1","bugs":{"url":"https://github.com/sindresorhus/skin-tone/issues"},"homepage":"https://github.com/sindresorhus/skin-tone#readme","_id":"skin-tone@1.0.0","_shasum":"d4ba3e8e5e92760e4d1d3b603d772805c6cb256f","_from":".","_npmVersion":"2.15.11","_nodeVersion":"4.6.2","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"shasum":"d4ba3e8e5e92760e4d1d3b603d772805c6cb256f","tarball":"https://registry.npmjs.org/skin-tone/-/skin-tone-1.0.0.tgz","integrity":"sha512-dXSMc69UbL3huJWTE7acZbg8UaGeiZRys4WRflV+I9rGLa0Z0duusGgg3nWVcizD3IaztFKWAXboXcAihi3zuA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDQld1/gujRiVnG3/n1uI2zSY1rnj2qizJGcpduaKTaIQIgPwRw1nEWA+EVW7hMonqhhh8jAUNtEXJ3SnYszPVYa8g="}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/skin-tone-1.0.0.tgz_1484304363847_0.35712278191931546"},"directories":{}},"2.0.0":{"name":"skin-tone","version":"2.0.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":">=8"},"scripts":{"test":"xo && ava && tsd"},"keywords":["emoji","emojis","skin","tone","type","unicode","emoticon","fitzpatrick","scale","modify","change","strip","remove"],"dependencies":{"unicode-emoji-modifier-base":"^1.0.0"},"devDependencies":{"ava":"^1.4.1","tsd":"^0.7.2","xo":"^0.24.0"},"gitHead":"bdd70e91891ebd383151ee4af13921a36432e65c","bugs":{"url":"https://github.com/sindresorhus/skin-tone/issues"},"homepage":"https://github.com/sindresorhus/skin-tone#readme","_id":"skin-tone@2.0.0","_nodeVersion":"10.15.3","_npmVersion":"6.9.0","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-kUMbT1oBJCpgrnKoSr0o6wPtvRWT9W9UKvGLwfJYO2WuahZRHOpEyL1ckyMGgMWh0UdpmaoFqKKD29WTomNEGA==","shasum":"4e3933ab45c0d4f4f781745d64b9f4c208e41237","tarball":"https://registry.npmjs.org/skin-tone/-/skin-tone-2.0.0.tgz","fileCount":5,"unpackedSize":4738,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcxbiJCRA9TVsSAnZWagAAfjYP/juNCG1CQh63ZpfALKtl\nIkLZJ206+dgjCjZu80n8S3WNAbXNoiCjlnJZIfiof/ShgMgxuMJbJw2Q+46n\nlUWl73E+agWqJn23AaQNp+Eyd8Rr3k2oXFLVg2VlDtJuq29a2A9id/Q5TL2Y\n9CT9xgJiOhXr8xAxops2Wuc2J9Asprg8nzdpWsYJ4N87UAyhqLzEHi3jJGNk\nskUkv1rD4KmDWJk2VPhDdU0GPnw5YqljO2lqL/7zopziA3F9LawaT4nUTOfL\nTDH4QI7a9CtHi0tcOpNAmmziKCJmTTf/6HBVsuHuu/DcL6zw67r1OJSI7jpi\nWfdA43Aif2NcNuh8yJuvfA2x66OkSLBz/fD5lq/on8aqrYlfDmoCCFuY8o29\nGXwyaEjQgYRtJLMB8YEJ5rBM3wkKNJqEPie8Ha4X508oHohnImoPQe2MwYef\nwYOe+a+rZ98kWS9Z2RJ9umKYOHvae5+8Ync9YBdokdM5U3/bQSBKViBct+fS\nkiVEdqfZU6fx8LHKqN4N7CZ5qf+3LpHvH7UKuC0sk8M49PUkhDimNmYDKQHm\n4JR3m2EOD7ekHPHdXFXq7LRl0yD949dZ7cTkjkweN21PnETImbpDy+aFRGcH\nv76glzH/XeOJeZPBP4AI8GiqwKgYg7JbY/Wh+YhZdD4nze6glkn9o4QWIoJr\nF6W4\r\n=YSj2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCp5ikuDTpv38jx1UA9rjweAMgjHgC8odz6J8HrxnYLSwIhAKPihxSbaBsyaNRZxT1GKstUm3FJvT3MeFUERws/5PzT"}]},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/skin-tone_2.0.0_1556461704461_0.15456271973539626"},"_hasShrinkwrap":false},"3.0.0":{"name":"skin-tone","version":"3.0.0","description":"Change the skin tone of an emoji 👌👌🏻👌🏼👌🏽👌🏾👌🏿","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/skin-tone.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":"./index.js","engines":{"node":">=12"},"scripts":{"test":"xo && ava && tsd"},"keywords":["emoji","emojis","skin","tone","type","unicode","emoticon","fitzpatrick","scale","modify","change","strip","remove"],"dependencies":{"unicode-emoji-modifier-base":"^1.0.0"},"devDependencies":{"ava":"^3.15.0","tsd":"^0.14.0","xo":"^0.38.2"},"gitHead":"320023485635d24b7882cec7ec8e5b8db91ba785","bugs":{"url":"https://github.com/sindresorhus/skin-tone/issues"},"homepage":"https://github.com/sindresorhus/skin-tone#readme","_id":"skin-tone@3.0.0","_nodeVersion":"15.12.0","_npmVersion":"6.14.10","_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"dist":{"integrity":"sha512-+HTlUiUJr3SjmOiKV3dPeGWcl7dgqv09OgFWJxD26vOmYss7DWKCl6sqHEjM1hddov/vXQN2bOKIMr0DMUJVSQ==","shasum":"75520c7fca9f39a19e2fe41586e72f4dd4db96e2","tarball":"https://registry.npmjs.org/skin-tone/-/skin-tone-3.0.0.tgz","fileCount":5,"unpackedSize":4610,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgdpNtCRA9TVsSAnZWagAA5eMQAIGV45QyeUT6Eajzcpc2\nEHXJ9/fy+DwV0ahearuKXPrJOrjzHSye1wW6YF8tBTJQ8zPkJgnQGVeDtYPS\nOhcWlVmVscbDTVKFog2tL21MUfAe0UI9CMCzN86HbwdmOcqRgOXqSUKNWoBo\nRzmr4UnyE1dtRNNVP3b9+JjNq8qghO3BnHZVvBunfgZfma5aQknRL8qeDejz\nM9nmBNL5C+EeqoRsb0u1ntx1W0TdCy1cqYD7nFj5KBAr5YAtWavKE4gFTUQ5\ncn/awgDGATweTqLdPCPFIeCQfqJIaVGpxZ406I1WZN8kcXNvun4WHTtdvzGI\nrDPUAKW76rgwuYjrdMxElJBlWJ1YjbxPHkbZpZVxaE1eDqDT5ChGNoI/dwBi\nCpH4+TpSY2VLnCZpS1rU+aHFrcBZlKuEroZ43f30ESARlQ/sFDpXeQpcLywX\nq599rFpXqUSU88mZNORS030C7UtxO7R8LBvydpvHWmDCYQLPHDXlWKPwwJCV\nBSqyfyZXplYgc80U5oJwB+zrYtAyS+xaZsRNBJ+es6zM9PCMDeuK+f8deAkd\nbo+rYPTgD2L+6TBPI7Hx/8aSc46GeKYk/6Q/AtCnBYK9TnaIpsZwDFxL5tRJ\nGGQJJzl6Kc8oLmKNLmm/zUlbyjst0mFe5ix68Sm4UbQqcR4G0FHX2KH5q5Sc\nDrze\r\n=Cd/l\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQC/YLzTK7id/XUutDxTiczqr1m/UK7t1kyh5BQOtFCzRQIgTBAqQjHBmcfrvBb10ZeHxKCxgu61v2FN2shB7NKr/ow="}]},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/skin-tone_3.0.0_1618383725404_0.43329120829437806"},"_hasShrinkwrap":false},"4.0.0":{"name":"skin-tone","version":"4.0.0","description":"Change the skin tone of an emoji 👌👌🏻👌🏼👌🏽👌🏾👌🏿","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/skin-tone.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=18"},"scripts":{"test":"xo && ava && tsd"},"keywords":["emoji","emojis","skin","tone","type","unicode","emoticon","fitzpatrick","scale","modify","change","strip","remove"],"devDependencies":{"ava":"^6.0.1","tsd":"^0.30.3","xo":"^0.56.0"},"types":"./index.d.ts","gitHead":"2d5457aad651d922d1bf5465d1da97de8b739743","bugs":{"url":"https://github.com/sindresorhus/skin-tone/issues"},"homepage":"https://github.com/sindresorhus/skin-tone#readme","_id":"skin-tone@4.0.0","_nodeVersion":"21.5.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-oVTC072yJCXdkjUXAA3rRsRo1op6XfAH1/AXJQznxdwwiYTEvYB6eG9SOU8FeVaEuz+LuoPDYEY5BBMj+uRHVQ==","shasum":"1e812f891ee3bd67d2197e667cde6891d300ea02","tarball":"https://registry.npmjs.org/skin-tone/-/skin-tone-4.0.0.tgz","fileCount":5,"unpackedSize":6186,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHPdNETFZWBow9XmrZ4OMrwJz/mkhn5/fnuQ1lOPS/CBAiBaGkQEadoMi9BwluuyS7kkLS5N2jd+mujwjtLJwL8D5Q=="}]},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/skin-tone_4.0.0_1704671984086_0.6497764736050784"},"_hasShrinkwrap":false}},"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","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"time":{"modified":"2024-01-07T23:59:44.437Z","created":"2016-06-27T16:34:20.230Z","0.1.0":"2016-06-27T16:34:20.230Z","0.1.1":"2016-06-28T18:28:48.772Z","0.2.0":"2016-07-04T19:35:03.056Z","1.0.0":"2017-01-13T10:46:04.075Z","2.0.0":"2019-04-28T14:28:24.619Z","3.0.0":"2021-04-14T07:02:05.573Z","4.0.0":"2024-01-07T23:59:44.247Z"},"homepage":"https://github.com/sindresorhus/skin-tone#readme","keywords":["emoji","emojis","skin","tone","type","unicode","emoticon","fitzpatrick","scale","modify","change","strip","remove"],"repository":{"type":"git","url":"git+https://github.com/sindresorhus/skin-tone.git"},"author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"bugs":{"url":"https://github.com/sindresorhus/skin-tone/issues"},"license":"MIT","readmeFilename":"readme.md","users":{"moimikey":true,"flumpus-dev":true}}