{"_id":"@aaashur/eleventy-plugin-emoji-shortcodes","_rev":"2-aa8b9962f20268f0a94ca03aff5edcb7","name":"@aaashur/eleventy-plugin-emoji-shortcodes","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@aaashur/eleventy-plugin-emoji-shortcodes","version":"1.0.0","description":"Transform emoji shortcodes to accessible elements","main":".eleventy.js","scripts":{"test":"mocha ./test"},"repository":{"type":"git","url":"git+https://github.com/ashur/eleventy-plugin-emoji-shortcodes.git"},"keywords":["eleventy","emoji"],"author":"","license":"ISC","bugs":{"url":"https://github.com/ashur/eleventy-plugin-emoji-shortcodes/issues"},"homepage":"https://github.com/ashur/eleventy-plugin-emoji-shortcodes#readme","devDependencies":{"chai":"^4.3.6","eslint":"^8.12.0","mocha":"^9.2.2"},"dependencies":{"gemoji":"^7.1.0"},"gitHead":"6a6484358ae9967d0708381909be2102b651caf5","_id":"@aaashur/eleventy-plugin-emoji-shortcodes@1.0.0","_nodeVersion":"17.7.0","_npmVersion":"8.5.2","dist":{"integrity":"sha512-/M3TYx4B2c2AMFs1FCNlzKKwsONXoqAJTMVWGMn/fD8TTYccssWcusROHBq9jvSGlBSiQeaO49vk3T8mvhON1w==","shasum":"b3c042faf32e2163d4c60a20674ba5eee5e33bcd","tarball":"https://registry.npmjs.org/@aaashur/eleventy-plugin-emoji-shortcodes/-/eleventy-plugin-emoji-shortcodes-1.0.0.tgz","fileCount":6,"unpackedSize":5651,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDuVEP6nlFlST1B4T7bVspAaQY7uVKIDmN6tlzfZr+RLAIhAKd9arTm329eaddcv7SGsfOV29K5YdvqqD8TctQc/4cm"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTmp7ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoWkg//WyGRTJO9AR6GGXYvhzeMe6NBC60qXWv57afMj6lwABOYVOfa\r\nAQYGU8AyiRF3diHUVyYg1tE3ubYbQfyBS6/7p5wUe61u7WR5ZH0OhJFJwTol\r\nm6+u1d4RZmWWTek1gO76ZDPuD/UD7fMVULe13fGbdVGhcT8jSkNoRyhik8pu\r\nZHJ58MKeeJwFodFQFi3gn/1t+98Xvw5TsSNGHYlBLvj9mKRuKzivdx2QA7s+\r\nfXIIxX7pjIv4I5E8xqWw16Rka8wrZsCOu3yM1epj3qBJArNRhsVNE1yn355k\r\nR4LC++bF8AqVp6THsgksNN2bYZpPbtOkxXkfzC41+nTlw8JwUz4R9PO93E4a\r\nStIi7DgcfRoto68UBccDETu4QCjehYlJozLPqh3RS5//OqfrJSCWoMO0gxvj\r\nEZepXrVODKsNuh18jL7b7IPFeSO2EHxId3PKsHR/ToX+XSKlw2n3kOH9W/MT\r\nl5LTIGYtXqlyiHrexmN4wUhEwXF92hGIql6hmbugji2d26BVeWpZdL3y37ZH\r\nCiKg9rw8usn+M3aKbtLHIWlz4J0F2/RJK5DAH0tw9reoEPOc03z9es8Sr2On\r\nPLpXmwO362wVkgxMdib68W1K7oxPwxJYk6M3cxxuOXqcAExMhPQ7BLpJs8pp\r\nv7KnDckVvkNWtKYeq6eqDj/e2oJKjfcG5tY=\r\n=EsRO\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aaashur","email":"hello@ashur.cab"},"directories":{},"maintainers":[{"name":"aaashur","email":"hello@ashur.cab"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eleventy-plugin-emoji-shortcodes_1.0.0_1649306235663_0.49492395773742826"},"_hasShrinkwrap":false},"1.0.1":{"name":"@aaashur/eleventy-plugin-emoji-shortcodes","version":"1.0.1","description":"Transform emoji shortcodes to accessible elements","main":".eleventy.js","scripts":{"test":"mocha ./test"},"repository":{"type":"git","url":"git+https://github.com/ashur/eleventy-plugin-emoji-shortcodes.git"},"keywords":["eleventy","emoji"],"author":"","license":"ISC","bugs":{"url":"https://github.com/ashur/eleventy-plugin-emoji-shortcodes/issues"},"homepage":"https://github.com/ashur/eleventy-plugin-emoji-shortcodes#readme","devDependencies":{"chai":"^4.3.6","eslint":"^8.12.0","mocha":"^9.2.2"},"dependencies":{"gemoji":"^7.1.0"},"gitHead":"2cd8d9c69780383b10620d65755d13755aed7482","_id":"@aaashur/eleventy-plugin-emoji-shortcodes@1.0.1","_nodeVersion":"17.7.0","_npmVersion":"8.5.2","dist":{"integrity":"sha512-HgTxqQsNRJcCpdTykvsCRIt45fI/YW1l6K3J3LisCp+GqjkbLJca7ec26Ib8VmIlnFxO/wqsSrbcB8FFJtuO7Q==","shasum":"2b1c8c0bb0f3179a0950d8c5b63e4ab154ce50e8","tarball":"https://registry.npmjs.org/@aaashur/eleventy-plugin-emoji-shortcodes/-/eleventy-plugin-emoji-shortcodes-1.0.1.tgz","fileCount":7,"unpackedSize":5850,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEGKmUl8MnGsabRX/XR0x7NQhyh6l80fVCZnYznDD9SyAiAv9hApwQOfP2pZYRTxqDeKhkxa18DtpNdvarzrwHPxDg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJiTy08ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrxxA/5AMmjEZ/lFl46nlKo0zBE8pYuDwKZ9LxyyPr0Tq5+2mvysG3n\r\nG9HP4FmiyDkxerSZAovWElS8nJVtnwyj3qRKWSacmeo+JNE0ax5gEml+wkPB\r\n0KMN+Ty3/UGXn4ramFPU35Ry2R/S7UhHr6LlqSwzX84zMfmSWAlnjQXTdiBu\r\nxDz884tIwZTN3K9mT0nyDKnvXGzh3lRyf6bsN751MdoafTXLi3EKCwqjuPli\r\niAK8MQ+iPnculLym4U0zL69kfBZ3gG42yGWeIou+wpAtqo7VkkHh0qALsy1T\r\nIhX9flVo6WpuwHvE3ifFLuH93bXkvzrB3Q6Pf18KglEtCW9rQ2nFm7E5/mgu\r\nWfEXeiGshwLZ6Ja7OzI3uGirxUvWw9Hd1WIPEK7iGZiJThxjH2K1aTkk+pOd\r\n76ztZrRE4egECXui7D0eQjLp6HCPBBRj/dslcA0o/4Kp8pDFkW2i2eawbcgi\r\nj8hFJ3JhM7yQhIhfRLliGkwabdGXUx1dqF3T+afwhwMmTnLnfAJPoeXYZKa4\r\nw7NWourgW7HzRr3KEprR0s3vT7EowpKpfoI4/AYodLWx3KtIFRMgqQd26BoJ\r\nu0OlzagnTB8o1Sqe8LUZ6zUNJnIUkuBFGhKQO5LMkQus+/AG05gd7OigrJHf\r\n3TBAmlCzUILLH2k2GgV0hTd9gS6Lu9eYSHI=\r\n=MOk7\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aaashur","email":"hello@ashur.cab"},"directories":{},"maintainers":[{"name":"aaashur","email":"hello@ashur.cab"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eleventy-plugin-emoji-shortcodes_1.0.1_1649356092486_0.19207845019183556"},"_hasShrinkwrap":false},"1.0.2":{"name":"@aaashur/eleventy-plugin-emoji-shortcodes","version":"1.0.2","description":"Transform emoji shortcodes to accessible elements","main":".eleventy.js","scripts":{"test":"mocha ./test"},"repository":{"type":"git","url":"git+https://github.com/ashur/eleventy-plugin-emoji-shortcodes.git"},"keywords":["eleventy","emoji"],"author":"","license":"ISC","bugs":{"url":"https://github.com/ashur/eleventy-plugin-emoji-shortcodes/issues"},"homepage":"https://github.com/ashur/eleventy-plugin-emoji-shortcodes#readme","devDependencies":{"chai":"^4.3.6","eslint":"^8.12.0","mocha":"^9.2.2"},"dependencies":{"gemoji":"^7.1.0"},"eslintIgnore":["!.*"],"gitHead":"a7f85373e49111c51c120dfd9a5736133b1f3f3f","_id":"@aaashur/eleventy-plugin-emoji-shortcodes@1.0.2","_nodeVersion":"17.7.0","_npmVersion":"8.5.2","dist":{"integrity":"sha512-PbBYxG1e0wIed0T0qu6JWcM2XnK2pMe2NWIkEyMJTYo4Hfy3N/vELG9TxetOcZSEVlsl6610+VOqPti96ksQjw==","shasum":"1b0f77b5eddaecd1cfeb712e65dfd52093dba43a","tarball":"https://registry.npmjs.org/@aaashur/eleventy-plugin-emoji-shortcodes/-/eleventy-plugin-emoji-shortcodes-1.0.2.tgz","fileCount":8,"unpackedSize":6410,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGVdp2gT31RPH8woclnad4u4Y/WbLK0kqjSXwmTNmxy9AiAoZrSXdSWcuyKYC8sJpXcHnl+8MmAS70egUuqArt6mEw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJi5ZiMACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmrMzg/+NkirXBOi7I0TlLhzfbTXMi1P+i1a54VlJs5XQ4OMDDIwimuW\r\nK3ivwdMz0b7JAaqPbL6oNvdV5zTPOkvrLTvmuvqPN+8usIST+DFAGtKgyAoC\r\nNg4rLweEzRa9SuUnwgnXB00Mr6ctiI4WqG4czQZO80lSw8ANJ1aPCg4RIZLX\r\n6HlushQvWjCZ+Gf1By3A8w0GZ5zP7NIJdsuRHe07BmjA2NsSQ1ijhBSZh2rU\r\nUO9i/vStHfyeUIHZ2z1+GiQX16N5QtRRi0I43e9Ghk8eJf9wNiBWnNhi+BgI\r\nSgp1IZ0+IhN7HtHoB6ocuPCsYhO7pa6mLUi4AomqqSyBFdo/rDdsNIuWfhLf\r\nWyXJxWx1FLgy6xTz+IJpqG+yItHdbskmYL8NOqf12ZdGmMwfb6wxo35udMTS\r\nTxgpi4iCUYSrCKnOSEJn4Q+yuNMlPsf42nNMIjvNOt0HJddZfHK6TnDXWMuS\r\nPfgw6jAdtuDifYTUg66fHyPHIRMxtZ0SUjtQbIJsuRbZu4C7zbx/nq+xHOLB\r\nqJGqDkZLbc0zOZYa60thzYvrD3mXP5gaVht5yYxxVPHo03Mg+MuBRqMi6fBQ\r\ns72cjwDPUWyQg9sehk0Bpjd5RmcKNnODcELI0GjZ2tim71cmgZdCm1Bi7TMj\r\n0N584AbKdFcFTGNW3p+1g/LHB5lrxM68G5U=\r\n=9ZAA\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"aaashur","email":"hello@ashur.cab"},"directories":{},"maintainers":[{"name":"aaashur","email":"hello@ashur.cab"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/eleventy-plugin-emoji-shortcodes_1.0.2_1659213964401_0.4843162425727854"},"_hasShrinkwrap":false}},"time":{"created":"2022-04-07T04:37:15.599Z","1.0.0":"2022-04-07T04:37:15.812Z","modified":"2022-07-30T20:46:04.675Z","1.0.1":"2022-04-07T18:28:12.651Z","1.0.2":"2022-07-30T20:46:04.588Z"},"maintainers":[{"name":"aaashur","email":"hello@ashur.cab"}],"description":"Transform emoji shortcodes to accessible elements","homepage":"https://github.com/ashur/eleventy-plugin-emoji-shortcodes#readme","keywords":["eleventy","emoji"],"repository":{"type":"git","url":"git+https://github.com/ashur/eleventy-plugin-emoji-shortcodes.git"},"bugs":{"url":"https://github.com/ashur/eleventy-plugin-emoji-shortcodes/issues"},"license":"ISC","readme":"# eleventy-plugin-emoji-shortcodes\n\nTransform [emoji shortcodes](https://emojipedia.org/shortcodes/) to accessible elements.\n\nFor example, the following Markdown:\n\n```markdown\nwho called them “dad jokes” instead of “popcorn”? :drum:\n```\n\nwould be rendered as:\n\n```html\n<p>who called them “dad jokes” instead of “popcorn”? <span aria-label=\"drum\" role=\"img\">🥁</span></p>\n```\n\nTransformation happens after templates are rendered to HTML, so all Eleventy template syntaxes are supported.\n\n> See the [gemoji project](https://github.com/wooorm/gemoji/blob/7.1.0/index.js#L14570) for details on supported shortcode strings.\n\n## Usage\n\nTo install this plugin, run the following command at the root of your Eleventy project:\n\n```shell\nnpm install --save @aaashur/eleventy-plugin-emoji-shortcodes\n```\n\nNext, include the following in your [Eleventy config file](https://www.11ty.dev/docs/config/):\n\n```javascript\nconst emojiShortcodes = require(\"@aaashur/eleventy-plugin-emoji-shortcodes\");\n\nmodule.exports = (eleventyConfig) => {\n    eleventyConfig.addPlugin(emojiShortcodes);\n};\n```\n\n## Plugin Options\n\n| Option  | Type   |\n| :--     | :--    |\n| `class` | string |\n\n\nTo set a class name (or names), set the `class` option when registering the plugin:\n\n```javascript\neleventyConfig.addPlugin(emojiShortcodes, { class: 'emoji' });\n```\n\n```\n:popcorn:\n```\n\n```html\n<span aria-label=\"popcorn\" role=\"img\" class=\"emoji\">🍿</span>\n```\n","readmeFilename":"README.md"}