tweet.md

Render tweet to markdown

Usage no npm install needed!

<script type="module">
  import tweetMd from 'https://cdn.skypack.dev/tweet.md';
</script>

README

Tweet markdown renderer

npm Travis Coveralls install size

Render your tweets with entities to beautiful markdown.

Installing

You can install the latest package version for Node.js:

$ npm install tweet.md

How to use

Just as you think it should be used:

var render = require('tweet.md');
var output = render(tweetObjectFromAPI);

Examples

01-link.json

Removing the 140 character limit from Direct Messages twittercommunity.com/t/removing-the…


02-multiline.json

Tweet poems you like
at #TwitterPoetryClub
prose, sonnets and more

Via @bustle, learn how to wax poetic on Twitter: bustle.com/articles/10068…


03-russian.json

Привет! С вами сегодня и всю неделю @pepelsbey, он же Вадим Макеев в прямом эфире из Осло, см. глобус Европы pic.twitter.com/clb7TLnxZS


04-ctags.json

$APPL set to jump this morning. General rebound in the market today. Yesterday was a good time to buy into the panic.


05-emoji.json

Keep your Tweets 💯 by adding emojis every day, but especially on #WorldEmojiDay! 💪😂👯


06-quote.json

A nice GIF of the Performance Monitor coming to DevTools in Chrome 64 developers.google.com/web/updates/20…

Track your site’s performance realtime with @ChromeDevTools in 3 steps:

  1. CMD+SHIFT+P
  2. type 'per'
  3. Select 'Sh… twitter.com/i/web/status/9…