0.1.6 • Published 6 months ago

redgif v0.1.6

Weekly downloads
-
License
AGPL-3.0
Repository
github
Last release
6 months ago

Redgif

Download gifs from Redgifs programtically.

For CLI usage, see redgifs-dl.

Features

Zero dependencies.

Gets the highest quality.

If not, fallback to standard quality.

Much more stable than scraping methods.

Usage

import { getGif } from "redgif"

Install

npm i redgif

Methods

getGif() Generates downloaded gif returned as buffer

Params: gifId

const buffer = await getGif(gifId)
fs.writeFileSync("redgif.mp4", buffer)

gifId refers to the ID extracted from the full URL.

Use the appropriate file extension to save, can be .jpg or .mp4 for example.

License

AGPL-3.0 ©️ Zubin

0.1.6

6 months ago

0.1.5

8 months ago

0.1.4

8 months ago

0.1.3

8 months ago

0.1.2

8 months ago

0.1.1

8 months ago

0.1.0

8 months ago