emoji-aware
Advanced tools
Comparing version 1.2.0 to 1.3.0
{ | ||
"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) |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
14482
43