Skip to content

Everyone farts. And now your web pages can too. A maintained and TypeScript-refactored fork of the original fartscroller from The Onion

License

Notifications You must be signed in to change notification settings

ridgehkr/fartscroll-ts

Repository files navigation

fartscroll.ts

Everyone farts. And now your web pages can too.

This is a fork of The Onion's fartscroll.js, created because the original project is no longer actively maintained and utilizes practices that are no longer recommend (e.g. Bower). This version aims to modernize the codebase with TypeScript, NPM support, unit tests, and other modern features.

📦 Installation

# with pnpm
pnpm i @ridgehkr/fartscroll-ts

# OR
npm i @ridgehkr/fartscroll-ts

🚀 Quick Start

import fartScroll from '@ridgehkr/fartscroll-ts'

// Fart every 400 pixels scrolled
fartscroll()

// Fart every 800 pixels scrolled
fartscroll(800)

🪪 License

© Caleb Pierce. MIT License applies, extending original license by The Onion. See the LICENSE.

About

Everyone farts. And now your web pages can too. A maintained and TypeScript-refactored fork of the original fartscroller from The Onion

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 9