twemote

1.0.2 • Public • Published

twemote

the easy way to get twitch emotes

Note: this uses lots of ES6.

Example to download the small discordWumpking emote and save it

const request = require('superagent');
const twemote = require('./twemote');
const fs = require('fs')

twemote('discordWumpking').then(url => {
  request.get(url).pipe(fs.createWriteStream('discordWumpking.png'));
}).catch(console.log)

Dependencies (0)

    Dev Dependencies (0)

      Package Sidebar

      Install

      npm i twemote

      Weekly Downloads

      2

      Version

      1.0.2

      License

      MIT

      Last publish

      Collaborators

      • snek