{"_id":"emotion-ratings","_rev":"6-9a5289281b841d6b63f13fcd72bd00c0","name":"emotion-ratings","dist-tags":{"latest":"2.0.2"},"versions":{"2.0.0":{"name":"emotion-ratings","version":"2.0.0","description":"Emotion Ratings is a lightweight jQuery plugin used to create a simple rating system using custom emoji Unicode characters.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/YanNerio/emotion-ratings.git"},"keywords":["emoji","ratings","jquery","emotion","rating","reviews","reaction"],"author":{"name":"Yanci Nerio","url":"http://www.yancinerio.com/#/emotion-ratings"},"license":"MIT","bugs":{"url":"https://github.com/YanNerio/emotion-ratings/issues"},"homepage":"https://github.com/YanNerio/emotion-ratings#readme","gitHead":"f15f4a3abb6ef2b1e1874141307c64c50e159bbf","_id":"emotion-ratings@2.0.0","_shasum":"677acd0abd07098002b0255f5b64a20eb9f77944","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.9.1","_npmUser":{"name":"yancinerio","email":"nerioyanci@gmail.com"},"dist":{"shasum":"677acd0abd07098002b0255f5b64a20eb9f77944","tarball":"https://registry.npmjs.org/emotion-ratings/-/emotion-ratings-2.0.0.tgz","fileCount":7,"unpackedSize":31537,"integrity":"sha512-KKdAAVJBHZr8v87tqhhvL5JFsx18QgNRuA42ajGj9LfNlEn7lMY1zEKytgFo+4yqNMg6aPrTNdEFq8bKlIB3pQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFcq4Bd4EHpXIuacvnLqg8FNsGYmbqmYxr37qVk5dKigAiEAr0BbSAL+k6KxBWvGgxp7OGLdsdqaqgz11TjeqxrUeI4="}]},"maintainers":[{"name":"yancinerio","email":"nerioyanci@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/emotion-ratings_2.0.0_1523486576177_0.6060750690932493"},"_hasShrinkwrap":false},"2.0.1":{"name":"emotion-ratings","version":"2.0.1","description":"Emotion Ratings is a lightweight jQuery plugin used to create a simple rating system using custom emoji Unicode characters.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/YanNerio/emotion-ratings.git"},"keywords":["emoji","ratings","jquery","emotion","rating","reviews","reaction"],"author":{"name":"Yanci Nerio","url":"http://www.yancinerio.com/#/emotion-ratings"},"license":"MIT","bugs":{"url":"https://github.com/YanNerio/emotion-ratings/issues"},"homepage":"https://github.com/YanNerio/emotion-ratings#readme","gitHead":"8e956ad68f8e9a08d2f75d359ebbcaeba3802089","_id":"emotion-ratings@2.0.1","_shasum":"e9223b5489d4a6946e26864547e61e24b4719471","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.9.1","_npmUser":{"name":"yancinerio","email":"nerioyanci@gmail.com"},"dist":{"shasum":"e9223b5489d4a6946e26864547e61e24b4719471","tarball":"https://registry.npmjs.org/emotion-ratings/-/emotion-ratings-2.0.1.tgz","fileCount":8,"unpackedSize":346410,"integrity":"sha512-Nlu9oTzNIsD1IdckhdF2oL3YCHNsgroMEnWdSjqH0+G/SHNlM2/DwwVsrnAEVhMtj7pnUoaIO2pKvYDYB3QKRg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJpmB92pxr7VDVO3GLXRdi2wKZxb+lC1xNkdP8yodGFAIhAPw0vl2QaewWsBikGenGukAESP8L+0fNbvcuIyTL+Pkt"}]},"maintainers":[{"name":"yancinerio","email":"nerioyanci@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/emotion-ratings_2.0.1_1523486778288_0.2896471665408342"},"_hasShrinkwrap":false},"2.0.2":{"name":"emotion-ratings","version":"2.0.2","description":"Emotion Ratings is a lightweight jQuery plugin used to create a simple rating system using custom emoji Unicode characters.","main":"index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"repository":{"type":"git","url":"git+https://github.com/YanNerio/emotion-ratings.git"},"keywords":["emoji","ratings","jquery","emotion","rating","reviews","reaction"],"author":{"name":"Yanci Nerio","url":"http://www.yancinerio.com/#/emotion-ratings"},"license":"MIT","bugs":{"url":"https://github.com/YanNerio/emotion-ratings/issues"},"homepage":"https://github.com/YanNerio/emotion-ratings#readme","gitHead":"8d9a2f5a2903392688b864edaa369e421f7c589a","_id":"emotion-ratings@2.0.2","_shasum":"9440e1bc02d59b727166e162f31240711201d1ba","_from":".","_npmVersion":"4.6.1","_nodeVersion":"8.9.1","_npmUser":{"name":"yancinerio","email":"nerioyanci@gmail.com"},"dist":{"shasum":"9440e1bc02d59b727166e162f31240711201d1ba","tarball":"https://registry.npmjs.org/emotion-ratings/-/emotion-ratings-2.0.2.tgz","integrity":"sha512-b+HR3kMOC2biuF/nrQk35IuSrEt8jAIay8clGqa4oVmbS8BHkpBnNS5wofly2ArA9Tvzek+3qFt9sK6FMhDuPA==","fileCount":8,"unpackedSize":346663,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbm9aqCRA9TVsSAnZWagAAMGwP/RbbfN1osVYVrzEUIPbs\nhKUj1n8TqpPV63L0hqjBlPCj26Akm6ddVfz5U9bRR44bvGk60/vAesfZ/ovx\nGPkeeEbFjxncWeXF7AHy1XC8R9IfngN9LdZymkk2ztASpyXrAtd2dwqaIzpR\nnu+9+SYFhGCcZsb6YKWsIUmskS73wvDD0UreJyViNEr+Bx4n7ys3sM2MDL+d\n80+9wJ4EZBfLW6NvjoVtVv3JfWziBASG1mRNuLSchph6UhyEvnKCU55xUXM/\nuWEYScyj1TpWnxhAOJ8RiMN45pDVpY3fCrJZTB57ouY2qgzPjTDTYQsYpMs3\nlEix92yBGM5tFeyzLfZQ69nU8AA+/rSDLDyjOb+VDZzW4fMFM3J2SSbkpnBs\ni6gp/cu3SD5lRe608AERZ9hRD7S6tcgiVtoN2igV1NBb6ajM/bYK/FOgk1YJ\nToNJA3386Ym3u5Dmza5zRMYw798xORTcnZsZaSeXpBzILtQ+NUuisUrwQVgc\n/NDJSrbWIUwt9tOnBOb5l2vPqBXdwxj8fiIaST7ur8wChdPKnjCQRrJMZT41\nH4ldLM46C+i0N3JM8k52DySWB+MRga/D7jyC2OOiFcVjnZXA+m/ZBSgml1UH\nU8HeT3Aq5UX+Fnq4Hjy8BoNz7711H/IX7G1MTwtTOeewmbrh3v/CmGcSS9/R\nJhRo\r\n=5pYF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCmnt+CrIXkdIRaVJl9imHCgVq0jBmG1Gzi14onUJWahgIhAMTFZ7fl/G8UOzsShTVCAcAmOlxU3NCEcRBhKfccA7HQ"}]},"maintainers":[{"name":"yancinerio","email":"nerioyanci@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/emotion-ratings_2.0.2_1536939689836_0.19100346439982707"},"_hasShrinkwrap":false}},"time":{"created":"2018-04-11T22:42:56.176Z","2.0.0":"2018-04-11T22:42:56.327Z","modified":"2022-06-17T04:17:47.376Z","2.0.1":"2018-04-11T22:46:18.395Z","2.0.2":"2018-09-14T15:41:29.957Z"},"maintainers":[{"name":"yancinerio","email":"nerioyanci@gmail.com"}],"description":"Emotion Ratings is a lightweight jQuery plugin used to create a simple rating system using custom emoji Unicode characters.","homepage":"https://github.com/YanNerio/emotion-ratings#readme","keywords":["emoji","ratings","jquery","emotion","rating","reviews","reaction"],"repository":{"type":"git","url":"git+https://github.com/YanNerio/emotion-ratings.git"},"author":{"name":"Yanci Nerio","url":"http://www.yancinerio.com/#/emotion-ratings"},"bugs":{"url":"https://github.com/YanNerio/emotion-ratings/issues"},"license":"MIT","readme":"[![npm version](https://badge.fury.io/js/emotion-ratings.svg)](https://badge.fury.io/js/emotion-ratings)\n## emotion-ratings\nThis plugin allows you to create ratings using emojis!\n\nPreview:\n\n![emotion ratings](https://raw.githubusercontent.com/YanNerio/emotion-ratings/master/preview/previewred.gif)\n\n![emotion ratings](https://raw.githubusercontent.com/YanNerio/emotion-ratings/master/preview/emotion-ratings-preview.gif)\n\n## Demo\n\n[Emotion Ratings](http://www.yancinerio.com/#/emotion-ratings)\n\n## Installation\n\nYou can install `emotion-ratings` component using the *npm* package manager:\n\n```bash\nnpm install --save emotion-ratings\n```\n\n## Usage\n1. Include jQuery >=1.9:\n\n\t```html\n\t<script src=\"http://ajax.googleapis.com/ajax/libs/jquery/2.1.4/jquery.min.js\"></script>\n\t```\n\n2. Include plugin's code:\n\n\t```html\n\t<script src=\"emotion-ratings.min.js\"></script>\n\t```\n\n3. Call the plugin:\n\n\t```javascript\n\t  // the emotions can be an array \n\t  var emotionsArray = ['angry','disappointed','meh', 'happy', 'inLove'];\n\t  // or a single one\n\t  var emotionsArray = ['happy'];\n\t  jQ(\"#element\").emotionsRating({\n\t    emotionSize: 30,\n\t    bgEmotion: 'happy',\n\t    emotions: emotionsArray,\n\t    color: '#FF0066', //the color must be expressed with a css code\n            initialRating: 4, //initialize the rating number\n\t    disabled: true, //set if the rating can be changed or not, default is false\n\t    onUpdate: function(value) {} //set value changed event handler\n\t  });\n\t```\n## Contribution\nYou can contribute by forking and doing a PR.\n\n## License\n\n[MIT License](http://yancinerio.mit-license.org/) © Yanci Nerio\n","readmeFilename":"README.md"}