Removing other OBJECTs from an array of OBJECTs (NPM Twit)

  javascript, node.js, npm, twitter

I’m working the NPM "twit" for Twitter,
I’m trying to filter out all the other mentions in a tweet from tweet.text except the first mention (reply-to)

tweet.entities.user_mentions shows ALL mentions
tweet.text can contain both all mentions and regular message.

tweet.entities.user_mentions outputs like user_mentions: [ [Object], [Object], [Object], [Object], [Object] ]

Any suggestions to removing every other mention besides the first? from tweet.text IF it contains mentions

Source: Ask Javascript Questions

LEAVE A COMMENT