lukehorvat / screenshot-tweet

Screenshot a tweet.
MIT License
68 stars 6 forks source link

screenshotTweet is not a function... #6

Closed johnpaulRod closed 6 years ago

johnpaulRod commented 6 years ago

also 'import' doesn't work.

lukehorvat commented 6 years ago

Are you using Babel to transpile import/export syntax?

If not, replace the import line with:

var screenshotTweet = require("screenshot-tweet").default;