Skip to content

akameco/capture-mobile-tweet

Repository files navigation

capture-mobile-tweet

Build Status styled with prettier

Caputre mobile tweet

Install

$ npm install capture-mobile-tweet

Usage

const fs = require('fs');
const cap = require('capture-mobile-tweet');

const tweet = 'https://mobile.twitter.com/akameco/status/904080083802923008'

cap(tweet).then(img => {
  fs.writeFileSync('mobile-tweet.png', img)
})

mobile-tweet.png

API

captureMobileTweet(url)

url

Type: string

mobile tweet url

License

MIT © akameco

About

No description, website, or topics provided.

Resources

License

Code of conduct

Stars

Watchers

Forks

Packages

No packages published