Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

emoji-aware

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

emoji-aware - npm Package Compare versions

Comparing version 1.2.0 to 1.3.0

2

package.json
{
"name": "emoji-aware",
"version": "1.2.0",
"version": "1.3.0",
"description": "Emoji-aware unicode string utilities",

@@ -5,0 +5,0 @@ "main": "emoji-aware.js",

@@ -42,13 +42,2 @@ [![travis]](http://travis-ci.org/beaugunderson/emoji-aware)

```js
// depending on your browser this will render as 1 emoji or 4; it's
// woman + zwj + heart + graphic variation selector + zwj + kiss + zwj + woman
// see above for a link to a correctly-rendered version
var love = 'test: 👩‍❤️‍💋‍👩';
console.log(getSymbols(love));
// [ 't', 'e', 's', 't', ':', ' ', '👩', '', '❤', '️', '', '💋', '', '👩', '' ]
console.log(split(love));
// [ 't', 'e', 's', 't', ':', ' ', '👩‍❤️‍💋‍👩' ]
```
![a screenshot of the output](http://i.imgur.com/Gdgsik5.png)
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