{"name":"emoticon","version":"4.0.1","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":"^10.0.0","remark-preset-wooorm":"^9.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","xo":"^0.46.0"},"scripts":{"generate":"node script/build-data && node script/build-support","prepublishOnly":"npm run build && npm run format","build":"rimraf \"script/**/*.d.ts\" \"*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov npm run test-api","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},"remarkConfig":{"plugins":["preset-wooorm",["gfm",{"tablePipeAlign":false}],["lint-table-pipe-alignment",false]]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true,"ignoreCatch":true},"gitHead":"ee9edf620794e5c2f752be8e39b35e6a55ca75a5","homepage":"https://github.com/wooorm/emoticon#readme","_id":"emoticon@4.0.1","_nodeVersion":"17.0.1","_npmVersion":"8.1.0","dist":{"integrity":"sha512-dqx7eA9YaqyvYtUhJwT4rC1HIp82j5ybS1/vQ42ur+jBe17dJMwZE4+gvL1XadSFfxaPFFGt3Xsw+Y8akThDlw==","shasum":"2d2bbbf231ce3a5909e185bbb64a9da703a1e749","tarball":"http://registry-npm.ywwl.com/emoticon/download/emoticon-4.0.1.tgz","fileCount":5,"unpackedSize":16797,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2pp5CRA9TVsSAnZWagAAANUQAJMzmTiJ7+IxAAa0B3xm\najlEi+5h99KoAeY6yLaWU64jwsJKmzvXs9iT6PQMlr5a3evoWQVqZOE7TWrx\nA3ap5CvSysscnrrLAdPqQBqKQNs4kh8ZKK4rXDjTH3e7koAAOof88xRE92m9\nDXnA724Gf+cWPCD0FVeG4c2bFkZ1hAd7Foa4aFGFmVtsEBuActQe4YxLVpKr\nNcK5Q10p/5S/289sNthyabnxsQJekQEVWlh1/hLa2Y4pyCABrWVvDbEWQ3ph\nJOAbsNEPgLTpjfdvFpWW1PcjToTUgE5SMkeS1pkaz7KhnwPlXWWRLpUBGiL0\nBkl+u6eLvoaH6PgXaScwddq/RrTczsc+FG/8fOdv8b7SETIk9d4FVyFlufJc\nfefE/jhPhv0BJYBJzVr1Z6I47t8LrZjIi8a8P0FfRgFK+/FR0LlizaRc2X1E\nP7p4lE+Z3FqkK9BsJKuOmAeiTJp0u5rfWtsMCoDsYjVyTkzYKwkYC0o+ovC5\nAr/8laYir3yHmsL3viBT6d7S1ivPLdVIQKff1hjGFqR5sh3EmdWwxHz9V7rH\n7Dp30zARFROpxHXsAhMMlyyY4WvFajBB3fV411IjP4sR+pzA9xs69Q6caF83\nr2p6NM7/s19PQhbflPiDV38/8+62Y1H18bY+dh7IbQIGF+DfA7QfC8dJNl5g\ncLPl\r\n=igVZ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCID8ZX1XLFQeb4wBM9IinTaESBykstOcWa/zvsA6n1ay/AiEA9TYHh9rZs22Ao9nTze3MN+FvKFOEX/s58XIIn9uqLoM="}],"size":5186,"noattachment":false,"key":"/emoticon/-/emoticon-4.0.1.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.1_1636275961211_0.6283424950270295"},"_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":1636275961355,"_cnpm_publish_time":1636275961355,"dist-tags":{"latest":"4.1.0"}}