-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feature request - get array of emojis #10
Comments
e.g. in OSX terminal, unicode chars are rendered double width but only take up a single width var output = BaseEmoji.toUnicode(buf)
output = chunk(output, 2).join(' ')
function chunk(array, chunkSize){
var result = []
for (var index=0, len=array.length; index<len; index+=chunkSize) {
result.push(array.slice(index,index+chunkSize))
}
return result
} would be nice to get the chunking as a feature |
starts with a resounding |
I still think we should change |
Hah nice Yeah @kumavis I'm open to this, can you submit a PR? |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
unicode is annoying to work with, you cant do
split('')
on the emoji string. would be nice to get a list of the emojis. im open to alternative solutions.The text was updated successfully, but these errors were encountered: