tweetstorm
v0.0.1
Published
Convert a string into a properly formatted tweet storm. Convert an array of tweets back to the original tweet.
Downloads
2
Maintainers
Readme
TweetStorm
Convert a string into a properly formatted tweet storm.
Convert an array of tweets back to the original tweet.
Install
npm install tweetstorm
Usage
var tweetStorm = require('tweetstorm');
var veryLongString = 'this is a very long string...'; // greater than 140 characters
var storm = tweetStorm(veryLongString);
// [ '1/ this is a very long string', '/2 ...long string ends here.' ]
var originalTweet = tweetStorm(storm);
// originalTweet === veryLongString
License
MIT © 2015 Ryan Seys