twitter-extract-mentions
Extract mentions from text, customized version of extractMentions function of twitter-text
Install
npm:
npm install twitter-extract-mentions//or yarnyarn add twitter-extract-mentions
Usage
const extractMentions = ;const usernameLength = 15;; // usernameLength default to 30 char
Copyright and License
Copyright 2012-2018 Twitter, Inc and other contributors
Licensed under the Apache License, Version 2.0: http://www.apache.org/licenses/LICENSE-2.0