/node-twitter-text

Wrapper for official twitter text linkification.

Primary LanguageJavaScript

node-twitter-text

A wrapper for twitter-text-js the official twitter text linkification.

Installation

$ npm install node-twitter-text

Usage

Extract screen names:

var twttrtxt = require('node-twitter-text');
var usernames = twttrtxt.extractMentions("Mentioning @twitter and @jack");
console.log(usernames);
// ["twitter", "jack"]

License

See twitter-text-js license.