0.0.1 • Published 10 years ago

tweet-formatter v0.0.1

Weekly downloads
1
License
-
Repository
-
Last release
10 years ago

Tweet Formatter Build Status

Format tweet text to proper html link tag on username, hashtag, and URL

Install

NPM

npm install --save tweet-formatter

Bower

bower install --save tweet-formatter

Component

component install pveyes/tweet-formatter

Example

Node.JS

var tweetFormatter = require('tweet-formatter');
var tweet = 'some tweet text with @username and #hashtag or http://url.com';

var formattedTweet = tweetFormatter(tweet);

License

MIT