{"name":"emoticon","version":"3.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"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"http://wooorm.com"}],"main":"index.json","files":["index.json"],"devDependencies":{"browserify":"^13.0.0","esmangle":"^1.0.0","gemoji":"^3.0.0","has":"^1.0.1","markdown-table":"^1.0.0","remark-cli":"^2.0.0","remark-preset-wooorm":"^1.0.0","string-width":"^1.0.2","tape":"^4.6.0","xo":"^0.17.0"},"scripts":{"build-md":"remark readme.md --quiet --frail","build-data":"node script/build-data","build-support":"node script/build-support","build-bundle":"browserify index.json --bare -s emoticon > emoticon.js","build-mangle":"esmangle emoticon.js > emoticon.min.js","build":"npm run build-data && npm run build-support && npm run build-md && npm run build-bundle && npm run build-mangle","lint":"xo","test-api":"node test","test":"npm run build && npm run lint && npm run test-api"},"xo":{"space":true,"ignores":["emoticon.js"]},"remarkConfig":{"output":true,"presets":"wooorm"},"gitHead":"edaa5ba758470432b1a6ce016f1429192db6ddc6","homepage":"https://github.com/wooorm/emoticon#readme","_id":"emoticon@3.0.0","_shasum":"b9461b66259fccf6774b027e40aa373b85ddebc0","_from":".","_npmVersion":"2.14.2","_nodeVersion":"4.0.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"b9461b66259fccf6774b027e40aa373b85ddebc0","tarball":"http://registry-npm.ywwl.com/emoticon/download/emoticon-3.0.0.tgz","integrity":"sha512-7tPwD+81FFTR+ciAI6zxfoGxXr24CjClfDCw8RhSjaIKuiNZm/HL3TPx0KrELGkGDPd6OcWkcoYO47AUUNKyEA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICV4L+oTrzWS7cf3wmeCwBNN3+izP8Ts6t6yALACDU56AiEAnXiiwuI3jFrugvvet4Fqp0Tad3AZPguIqiJiwGbZeM0="}],"size":3602,"noattachment":false,"key":"/emoticon/-/emoticon-3.0.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/emoticon-3.0.0.tgz_1481111648351_0.0908216000534594"},"directories":{},"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":1481111648950,"_cnpm_publish_time":1481111648950,"dist-tags":{"latest":"4.1.0"}}