{"name":"emoticon","version":"1.0.0","description":"Information regarding ASCII emoticons","license":"MIT","keywords":["emoticon","unicode","name","shortcode","tag","alias","name"],"repository":{"type":"git","url":"git+https://github.com/wooorm/emoticon.git"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com"},"files":["index.js","data/emoticons.json"],"devDependencies":{"browserify":"^11.0.0","eslint":"^1.0.0","esmangle":"^1.0.0","gemoji":"^1.0.0","istanbul":"^0.3.0","jscs":"^2.0.0","jscs-jsdoc":"^1.0.0","markdown-table":"^0.4.0","mdast":"^1.0.0","mdast-comment-config":"^1.0.0","mdast-github":"^1.0.0","mdast-lint":"^1.0.0","mdast-slug":"^1.0.0","mdast-validate-links":"^1.0.0","mocha":"^2.0.0","string-width":"^1.0.1"},"scripts":{"test-api":"mocha --check-leaks test.js","test-coverage":"istanbul cover _mocha -- test.js","test-travis":"npm run test-coverage","test":"npm run test-api","lint-api":"eslint .","lint-style":"jscs --reporter inline .","lint":"npm run lint-api && npm run lint-style","make":"npm run lint && npm run test-coverage","build-data":"node script/build-data.js","postbuild-data":"node script/build-support.js","bundle":"browserify index.js --no-builtins -s emoticon > emoticon.js","postbundle":"esmangle emoticon.js > emoticon.min.js","build-md":"mdast . --quiet","build":"npm run build-data && npm run bundle && npm run build-md"},"gitHead":"12b1ac6c18bbd198ac16dcc7ac24e92420dad933","bugs":{"url":"https://github.com/wooorm/emoticon/issues"},"homepage":"https://github.com/wooorm/emoticon#readme","_id":"emoticon@1.0.0","_shasum":"0f877ebb978eb52042c27129edd2af6b51922780","_from":".","_npmVersion":"2.13.2","_nodeVersion":"2.5.0","_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"dist":{"shasum":"0f877ebb978eb52042c27129edd2af6b51922780","tarball":"http://registry-npm.ywwl.com/emoticon/download/emoticon-1.0.0.tgz","integrity":"sha512-yCkJb3bWvU/Z3TQdXAvhkVXmHPJDU/DcQ44ChaWMGcWqToUecRd0co2ri4SpLbNRpiwhos9YmymBSPpcFxkxtg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDqCpnPSphU3e1kq7iEprECfubQIuINMNx6BTlhD8uIdgIhANJrtD87Zz3GFeTSBUBaa3Dyed3HYjQwSBEytlQS21R3"}],"size":4363,"noattachment":false,"key":"/emoticon/-/emoticon-1.0.0.tgz"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"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":1440608395406,"_cnpm_publish_time":1440608395406,"dist-tags":{"latest":"4.1.0"}}