{"name":"gemoji","version":"6.0.0","description":"GitHub emoji: gemoji","license":"MIT","keywords":["gemoji","emoji","unicode","name","shortcode","tag","alias","name"],"repository":{"type":"git","url":"git+https://github.com/wooorm/gemoji.git"},"bugs":{"url":"https://github.com/wooorm/gemoji/issues"},"funding":{"type":"github","url":"https://github.com/sponsors/wooorm"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"main":"index.json","devDependencies":{"browserify":"^16.0.0","mdast-zone":"^4.0.0","node-fetch":"^2.0.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^8.0.0","remark-lint-table-pipe-alignment":"^2.0.0","remark-preset-wooorm":"^7.0.0","tape":"^5.0.0","tinyify":"^3.0.0","unist-builder":"^2.0.0","xo":"^0.33.0"},"scripts":{"generate":"node script/crawl-data && node script/build-data","format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","build-bundle":"browserify index.json -s gemoji > gemoji.js","build-mangle":"browserify index.json -s gemoji -p tinyify > gemoji.min.js","build":"npm run build-bundle && npm run build-mangle","test-api":"node test","test-coverage":"nyc --reporter lcov tape test.js","test":"npm run generate && npm run format && npm run build && npm run test-coverage"},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"guard-for-in":"off","unicorn/no-fn-reference-in-iterator":"off"},"ignores":["gemoji.js"]},"remarkConfig":{"settings":{"tablePipeAlign":false},"plugins":["preset-wooorm",["remark-lint-table-pipe-alignment",false],"./script/build-support"]},"gitHead":"5d008d37b8d0f6675004aa86f9037015b3d51419","homepage":"https://github.com/wooorm/gemoji#readme","_id":"gemoji@6.0.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-6or0cWT0wSR9Jow5cODTUjPzIf4KCO1gkamFMJ/AmE+VZOg9awW993P2sFL5jYsoeIVhZdfClqdg6r7VAHYGEw==","shasum":"c8a4f2923d5f651ee19d9d98eaa2a5f7d05cdf56","tarball":"http://registry-npm.ywwl.com/gemoji/download/gemoji-6.0.0.tgz","fileCount":6,"unpackedSize":395240,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJffBkyCRA9TVsSAnZWagAA+KwP/3MlAzgp+WgmhuCSTEsc\nWAMloPi95z58IttQhPJ1SZteMEjtoz7CbLdZEzE9ah2VinuL2wG0z5/+h8s5\nWIC38CawF1Yq5/Sa7uM3dTxGaT7+a4sJY9vzQZJQc+0oV8PT0EiAOpq5a+tK\n+4lwxYl2nUnnHwRKBcFYp5dBD+gaR+gIO7ruasIbf7/h0HnTB2NtHpRxoljf\nMZoTFKxUg8pRoqWCuu9HnBammTf2YZoHmi/Qixq2VYCR5VgOlDuTsaqp50T7\ns/inv0hGQHHs1pJUcsXITAa1TM3KMUrQy8YdzScqC18aey2vKRSq6Q+7o8vE\nIahx85wkpOXB9CVHSxuqKPcFWOZXvBdnjXix91on4CVkBh7zgRnpIR8kbaWf\nGkCZ4SbQsK5ZQnlyOvSsltkHP2tBWvIF/Ajv53/1ZKfwEv0l8mGuZGTjlacN\nmpDAdfG9VSS9vgIt7VzJnjwyh3w8X3I7nKb1ayeH73Y87jTy+NOBvRwmqRi9\nmraIe2kS+35M+nw/UF8ex3/TcViGt//xlW1mxkpv4UulcY4QLkuIrBe/7/mQ\nkMt4QrwW8oN34EYSdVux5fhXyr+ToYFXR2cL+5YycRrHpm+ysZHZH+rNKCAs\n9wJrsGCbDQVRxshHCVX2jjM9mPWRbcyV08PupLKsSLOYZPy/KDRHH9EliIKt\nhSWo\r\n=8mET\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDPtcFVsxQEIT2LiFdd3a6Kto+EZjHY46iOI90xIGUsFwIhAONDR3UuHBCP5KewkHIHjjUHzDiV7mrguSjs0VZ+13Bk"}],"size":66231,"noattachment":false,"key":"/gemoji/-/gemoji-6.0.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/gemoji_6.0.0_1601968434050_0.8454725583521365"},"_hasShrinkwrap":false,"readme":"# gemoji\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nInfo on gemoji.\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When should I use this?](#when-should-i-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`gemoji`](#gemoji-1)\n    *   [`nameToEmoji`](#nametoemoji)\n    *   [`emojiToName`](#emojitoname)\n*   [Types](#types)\n*   [Data](#data)\n*   [Compatibility](#compatibility)\n*   [Security](#security)\n*   [Related](#related)\n*   [Contribute](#contribute)\n*   [Notice](#notice)\n*   [License](#license)\n\n## What is this?\n\nThis package contains info on gemoji (**G**itHub **Emoji**).\nGemoji are the shortcodes that GitHub uses to represent emoji.\nFor example, `:grinning:` can be used for `😀`.\n\n## When should I use this?\n\nUse this package if you need:\n\n*   info on gemoji, such as associated tags, description, and\n    category\n*   to map between emoji and names and vice versa\n*   to list emoji or names\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 14.14+, 16.0+), install with [npm][]:\n\n```sh\nnpm install gemoji\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {gemoji} from 'https://esm.sh/gemoji@8'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {gemoji} from 'https://esm.sh/gemoji@8?bundle'\n</script>\n```\n\n## Use\n\nSee examples below.\n\n## API\n\nThis package exports the identifiers `gemoji`, `emojiToName`, and\n`nameToEmoji`.\nThere is no default export.\n\n### `gemoji`\n\nList of info objects (`Array<Gemoji>`).\nEach `Gemoji` has the following fields:\n\n*   `emoji` (`string`)\n    — example: `😀`\n*   `names` (`Array<string>`)\n    — example: `['grinning']`\n*   `tags` (`Array<string>`)\n    — example: `['smile', 'happy']`\n*   `description` (`string`)\n    — example: `grinning face`\n*   `category` (`string`)\n    — example: `Smileys & Emotion`\n\n###### Example\n\n```js\nimport {gemoji} from 'gemoji'\n\nconsole.log(gemoji)\n```\n\nYields:\n\n```js\n[\n  {\n    emoji: '😀',\n    names: ['grinning'],\n    tags: ['smile', 'happy'],\n    description: 'grinning face',\n    category: 'Smileys & Emotion'\n  },\n  {\n    emoji: '😃',\n    names: ['smiley'],\n    tags: ['happy', 'joy', 'haha'],\n    description: 'grinning face with big eyes',\n    category: 'Smileys & Emotion'\n  },\n  {\n    emoji: '😄',\n    names: ['smile'],\n    tags: ['happy', 'joy', 'laugh', 'pleased'],\n    description: 'grinning face with smiling eyes',\n    category: 'Smileys & Emotion'\n  },\n  // …\n]\n```\n\n### `nameToEmoji`\n\nMap of names (`100`) to emoji (`💯`) (`Record<string, string>`).\n\n###### Example\n\n```js\nimport {nameToEmoji} from 'gemoji'\n\nconsole.log(nameToEmoji.cat) //=> 🐱\nconsole.log(nameToEmoji.poop) //=> 💩\n```\n\n### `emojiToName`\n\nMap of emoji (`😀`) to names (`grinning`) (`Record<string, string>`).\n\n###### Example\n\n```js\nimport {emojiToName} from 'gemoji'\n\nconsole.log(emojiToName['🐶']) //=> dog\nconsole.log(emojiToName['\\uD83D\\uDCA9']) //=> hankey\n```\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports an additional type `Gemoji`.\n\n## Data\n\nSee [`support.md`][support] for what info is included.\n\nThe data is crawled from [`github/gemoji`][gh] and later processed for relevant\ninformation.\n\nNo images are included in this repository: the copyrighted material may or may\nnot be available on the users computer.\n\n## Compatibility\n\nThis package is at least compatible with all maintained versions of Node.js.\nAs of now, that is Node.js 14.14+ and 16.0+.\nIt also works in Deno and modern browsers.\n\n## Security\n\nThis package is safe.\n\n## Related\n\n*   [`words/emoji-emotion`](https://github.com/words/emoji-emotion)\n    — list of emoji rated for valence\n*   [`wooorm/emoticon`](https://github.com/wooorm/emoticon)\n    — info on ASCII emoticons\n*   [`wooorm/strip-skin-tone`](https://github.com/wooorm/strip-skin-tone)\n    — strip skin-tones from emoji\n*   [`wooorm.com/checkmoji`](https://wooorm.com/checkmoji/)\n    — check emoji across platforms\n\n## Contribute\n\nYes please!\nSee [How to Contribute to Open Source][contribute].\n\n## Notice\n\n`wooorm/gemoji` is not affiliated with **GitHub**.\n\nSee its [`github/gemoji`][gh-license] for info on GHs licensing.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/wooorm/gemoji/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/gemoji/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/gemoji.svg\n\n[coverage]: https://codecov.io/github/wooorm/gemoji\n\n[downloads-badge]: https://img.shields.io/npm/dm/gemoji.svg\n\n[downloads]: https://www.npmjs.com/package/gemoji\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/gemoji.svg\n\n[size]: https://bundlephobia.com/result?p=gemoji\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esmsh]: https://esm.sh\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[typescript]: https://www.typescriptlang.org\n\n[contribute]: https://opensource.guide/how-to-contribute/\n\n[support]: support.md\n\n[gh]: https://github.com/github/gemoji\n\n[gh-license]: https://github.com/github/gemoji/blob/55a0080/LICENSE\n","publish_time":1601968434170,"_cnpm_publish_time":1601968434170,"dist-tags":{"latest":"8.1.0"}}