New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

emoticon

Package Overview
Dependencies
Maintainers
1
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emoticon - npm Package Compare versions

Comparing version 1.0.0 to 2.0.0

index.json

73

package.json
{
"name": "emoticon",
"version": "1.0.0",
"description": "Information regarding ASCII emoticons",
"version": "2.0.0",
"description": "Info on ASCII emoticons",
"license": "MIT",

@@ -15,42 +15,45 @@ "keywords": [

],
"repository": "wooorm/emoticon",
"author": "Titus Wormer <tituswormer@gmail.com>",
"repository": "https://github.com/wooorm/emoticon",
"bugs": "https://github.com/wooorm/emoticon/issues",
"author": "Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)",
"contributors": [
"Titus Wormer <tituswormer@gmail.com> (http://wooorm.com)"
],
"main": "index.json",
"files": [
"index.js",
"data/emoticons.json"
"index.json"
],
"devDependencies": {
"browserify": "^11.0.0",
"eslint": "^1.0.0",
"browserify": "^13.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"
"gemoji": "^2.0.1",
"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": {
"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"
"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"
}
}

@@ -1,8 +0,8 @@

# emoticon [![Build Status](https://img.shields.io/travis/wooorm/emoticon.svg)](https://travis-ci.org/wooorm/emoticon) [![Coverage Status](https://img.shields.io/codecov/c/github/wooorm/emoticon.svg)](https://codecov.io/github/wooorm/emoticon)
# emoticon [![Build Status][travis-badge]][travis]
Accessible Information regarding ASCII emoticons. :p
Info on ASCII emoticons. :p
## Installation
[npm](https://docs.npmjs.com/cli/install):
[npm][]:

@@ -13,7 +13,2 @@ ```bash

**emoticon** is also available for [bower](http://bower.io/#install-packages),
[component](https://github.com/componentjs/component), and
[duo](http://duojs.org/#getting-started), and as an AMD, CommonJS, and globals
module, [uncompressed](emoticon.js) and [compressed](emoticon.min.js).
## Usage

@@ -24,3 +19,3 @@

emoticon.emoticon['<3'];
console.log(emoticon.slice(0, 3));
```

@@ -30,53 +25,52 @@

```json
{
"name": "heart",
"emoji": "❤️",
"tags": ["love"],
"description": "heavy black heart",
"emoticons": [
"<3"
]
}
```js
[ { name: 'angry',
emoji: '😠',
tags: [ 'mad', 'annoyed' ],
description: 'angry face',
emoticons: [ '>:(', '>:[', '>:-(', '>:-[', '>=(', '>=[', '>=-(', '>=-[' ] },
{ name: 'blush',
emoji: '😊',
tags: [ 'proud' ],
description: 'smiling face with smiling eyes',
emoticons:
[ ':")',
':"]',
':"D',
':-")',
':-"]',
':-"D',
'=")',
'="]',
'="D',
'=-")',
'=-"]',
'=-"D' ] },
{ name: 'broken_heart',
emoji: '💔',
tags: [],
description: 'broken heart',
emoticons: [ '<\\3', '</3' ] } ]
```
### By unicode emoji
## Support
```js
emoticon.unicode['👨'];
```
See [support.md][support].
Yields:
## License
```json
{
"name": "man",
"emoji": "👨",
"tags": [
"mustache",
"father",
"dad"
],
"description": "man",
"emoticons": [
":3",
":-3",
"=3",
"=-3",
";3",
";-3",
"x3",
"x-3",
"X3",
"X-3"
]
}
```
[MIT][license] © [Titus Wormer][author]
## Supported emoticon
<!-- Definitions -->
See [support.md](support.md).
[travis-badge]: https://img.shields.io/travis/wooorm/emoticon.svg
## License
[travis]: https://travis-ci.org/wooorm/emoticon
[MIT](LICENSE) © [Titus Wormer](http://wooorm.com)
[npm]: https://docs.npmjs.com/cli/install
[license]: LICENSE
[author]: http://wooorm.com
[support]: support.md

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc