https://github.com/ddosnotification/express-snow-theme
Beautiful snowfall effect middleware for Express.js websites
https://github.com/ddosnotification/express-snow-theme
christmas-theme express-plugin express-seasonal express-snow-theme expressjs-middleware frontend-animation holiday-decoration javascript-animation javascript-effects lightweight-animation node-snow nodejs-snow seasonal-theme snow-animation snow-effect web-animation web-effects website-theme winter-animation winter-effect
Last synced: about 1 month ago
JSON representation
Beautiful snowfall effect middleware for Express.js websites
- Host: GitHub
- URL: https://github.com/ddosnotification/express-snow-theme
- Owner: ddosnotification
- Created: 2024-11-25T15:10:47.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-11-26T16:04:11.000Z (6 months ago)
- Last Synced: 2025-04-13T13:54:26.969Z (about 1 month ago)
- Topics: christmas-theme, express-plugin, express-seasonal, express-snow-theme, expressjs-middleware, frontend-animation, holiday-decoration, javascript-animation, javascript-effects, lightweight-animation, node-snow, nodejs-snow, seasonal-theme, snow-animation, snow-effect, web-animation, web-effects, website-theme, winter-animation, winter-effect
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/express-snow-theme
- Size: 9.77 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ❄️ express-snow-theme


Beautiful snowfall effect middleware for Express.js websites
## 🚀 Installation
```bash
npm install express-snow-theme
```## 🌨️ Basic Usage
```javascript
const express = require('express');
const snowTheme = require('express-snow-theme')();
const app = express();app.use('/', snowTheme.middleware());
app.use('/', snowTheme.inject());app.get('/', (req, res) => {
res.send(`
Winter Page
`);
});app.listen(3000);
```## ⚙️ Custom Configuration
```javascript
const snowTheme = require('express-snow-theme')({
snowflakes: ['❄', '❅', '❆'], // Custom characters
density: 100, // More snowflakes
interval: 200, // Creation interval (ms)
minSize: 0.8, // Min snowflake size
maxSize: 2, // Larger flakes
minDuration: 8, // Slower falling
maxDuration: 15, // Max fall duration
wind: 50, // Stronger wind effect
zIndex: 999999 // Stack order
});
```## 🎨 Preset Examples
### Light Snow
```javascript
const snowTheme = require('express-snow-theme')({
density: 30,
minDuration: 8,
wind: 10
});
```### Blizzard
```javascript
const snowTheme = require('express-snow-theme')({
density: 150,
interval: 100,
wind: 50,
maxSize: 2
});
```### Gentle Snow
```javascript
const snowTheme = require('express-snow-theme')({
density: 40,
minDuration: 10,
maxSize: 1.2,
wind: 5
});
```## 🎄 Features
- Zero dependencies
- Automatically injects snow effect into HTML responses
- Fully configurable appearance and behavior
- Responsive design
- Performance optimized with automatic cleanup
- Mobile-friendly## 🔧 Browser Support
- Chrome
- Firefox
- Safari
- Edge
- Opera## 📝 License
MIT © ddosnotification## 🤝 Contributing
1. Fork
2. Create feature branch (`git checkout -b feature/amazing`)
3. Commit changes (`git commit -m 'Add amazing'`)
4. Push to branch (`git push origin feature/amazing`)
5. Open a Pull Request
Made with ❄️ for winter web magic