{"name":"emoticon","version":"4.0.0","description":"Info on ASCII emoticons","license":"MIT","keywords":["emoticon","unicode","name","shortcode","tag","alias","name"],"repository":{"type":"git","url":"git+https://github.com/wooorm/emoticon.git"},"bugs":{"url":"https://github.com/wooorm/emoticon/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"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","gemoji":"^7.0.0","markdown-table":"^3.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.38.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"*.d.ts\" && tsc && type-coverage","generate":"node script/build-data && node script/build-support","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test.js","test":"npm run generate && npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"import/no-mutable-exports":"off","no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm",["gfm",{"tablePipeAlign":false}],["lint-table-pipe-alignment",false]]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"0c4b06059688a73feb00c0078a7663c732d64f91","homepage":"https://github.com/wooorm/emoticon#readme","_id":"emoticon@4.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.6.2","dist":{"integrity":"sha512-Of6PNiAQGHhprBEootT77SdsynrVD97v1nzpiJ+FB2XCyvZmwdVI+hlpUduKWb2+7uVOcE1Myh3QAVB8vEBXvw==","shasum":"827be62e6fee2a47517187992358adc5297ca320","tarball":"http://registry-npm.ywwl.com/emoticon/download/emoticon-4.0.0.tgz","fileCount":5,"unpackedSize":12980,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgXjImCRA9TVsSAnZWagAA2kEQAIbRBiMdmz9ntzuD7R47\ngGdu36pBkgf1MyBwD2ux3JT4fq61f+JTuU/DB3lAXRKPieA1oaYLj5qfY9Qr\nuvDdmil9oE8F3f0Eo07lyue48y/MTvJMzN75/8nCkHmCXiofF1qHyTbgt/LE\nfcb8b6bn9/umPeQ+dIV5k30v1YJhCODWOxSBV/jEgOaJX2grYaHyzEp2tkrq\nL+bxox4iW/9Pax3SxZPr/FlvCD8hsHvRhVBdKpQ4pkU3LRWn44Kg8j6AgqF6\n6SXXkNU2Kgu6nZXbEjchCVfmagZDzk2uwd+mAQ9dfNxVhhRsEgWuNUV1WqQJ\nnZvfAN6XQO9lSVTgsTdDZ2s2vey6dyE8oHZC2Q+x32FqETGmANGZdYKl4/sr\nk//pmqMjMV4d0QPBxKhkZhSK4VQotJ0XH31FpcrTMFR0iM6VuJ+jBSI9D4hP\nDhlZHVDC0CNdp1dJT8y5862q2GNtNicl2kn84aSGzZPHppE+3vYaZqiKG8g2\nFiNLATstMVQG1shqQUqI4jyGVV5p2S9h3IY39z9kMcvBe51y6OzxhL68WKt2\nVL3qbfqqitN0gWFl2dfFD2KAlyMF7Jd1d1/Wh9pD+SKSnkCTXMLB6OdBk4ni\n6yxtFM8ksB3aFUQPuRQSOJ1fIEFUa9OJySRT4oTKLvtPwLq2xYpr809rTFyn\nIJav\r\n=Kf3T\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgP8YpdqodNWg4uR0eXEVNy0oPkn8FqyqfRYazbCW4XgIgKyXns36CiYes7BUGiVW41XoMjz62pCpmmLN6IgDl0ZI="}],"size":4167,"noattachment":false,"key":"/emoticon/-/emoticon-4.0.0.tgz"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/emoticon_4.0.0_1616785958378_0.9253935873529382"},"_hasShrinkwrap":false,"readme":"# emoticon\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n\nList of emoticons.\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    *   [`emoticon`](#emoticon-1)\n*   [Types](#types)\n*   [List of emoticons](#list-of-emoticons)\n*   [Compatibility](#compatibility)\n*   [Security](#security)\n*   [Related](#related)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis package contains info on ASCII emoticons.\n:p\n\n## When should I use this?\n\nYou can use this package for several reasons, typically in a build script,\nfor example to figure out which text emoticons map to what emoji.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 12.20+, 14.14+, or 16.0+), install with [npm][]:\n\n```sh\nnpm install emoticon\n```\n\nIn Deno with [Skypack][]:\n\n```js\nimport {emoticon} from 'https://cdn.skypack.dev/emoticon@4?dts'\n```\n\nIn browsers with [Skypack][]:\n\n```html\n<script type=\"module\">\n  import {emoticon} from 'https://cdn.skypack.dev/emoticon@4?min'\n</script>\n```\n\n## Use\n\n```js\nimport {emoticon} from 'emoticon'\n\nconsole.log(emoticon.slice(0, 3))\n```\n\nYields:\n\n```js\n[ { name: 'angry',\n    emoji: '😠',\n    tags: [ 'mad', 'annoyed' ],\n    description: 'angry face',\n    emoticons:\n     [ '>:(', '>:[', '>:-(', '>:-[', '>=(', '>=[', '>=-(', '>=-[' ] },\n  { name: 'blush',\n    emoji: '😊',\n    tags: [ 'proud' ],\n    description: 'smiling face with smiling eyes',\n    emoticons:\n     [ ':\")',\n       ':\"]',\n       ':\"D',\n       ':-\")',\n       ':-\"]',\n       ':-\"D',\n       '=\")',\n       '=\"]',\n       '=\"D',\n       '=-\")',\n       '=-\"]',\n       '=-\"D' ] },\n  { name: 'broken_heart',\n    emoji: '💔',\n    tags: [],\n    description: 'broken heart',\n    emoticons: [ '<\\\\3', '</3' ] } ]\n```\n\n## API\n\nThis package exports the following identifier: `emoticon`.\nThere is no default export.\n\n### `emoticon`\n\nList of emoticons (`Array<Emoticon>`), where each entry has the following\nfields:\n\n*   `name` (`string`)\n    — name of an emoticon (preferred name from [`wooorm/gemoji`][gemoji])\n*   `emoji` (`string`)\n    — corresponding emoji\n*   `tags` (`Array<string>`)\n    — associated tags (from [`wooorm/gemoji`][gemoji])\n*   `description` (`string`)\n    — associated description (from [`wooorm/gemoji`][gemoji])\n*   `emoticons` (`Array<string>`)\n    — ASCII emoticons\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports an additional `Emoticon` type that models its respective interface.\n\n## List of emoticons\n\nSee [`support.md`][support].\n\n## Compatibility\n\nThis package is at least compatible with all maintained versions of Node.js.\nAs of now, that is Node.js 12.20+, 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*   [`wooorm/gemoji`][gemoji]\n    — info on gemoji (GitHub emoji)\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## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/wooorm/emoticon/workflows/main/badge.svg\n\n[build]: https://github.com/wooorm/emoticon/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/wooorm/emoticon.svg\n\n[coverage]: https://codecov.io/github/wooorm/emoticon\n\n[downloads-badge]: https://img.shields.io/npm/dm/emoticon.svg\n\n[downloads]: https://www.npmjs.com/package/emoticon\n\n[size-badge]: https://img.shields.io/bundlephobia/minzip/emoticon.svg\n\n[size]: https://bundlephobia.com/result?p=emoticon\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[skypack]: https://www.skypack.dev\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[gemoji]: https://github.com/wooorm/gemoji\n","publish_time":1616785958558,"_cnpm_publish_time":1616785958558,"dist-tags":{"latest":"4.1.0"}}