
Security News
Attackers Are Hunting High-Impact Node.js Maintainers in a Coordinated Social Engineering Campaign
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.
web-sparkle
Advanced tools
A toolbox of frontend web development modules to add some ✨ to your website.
Cha's magic toolbox of web sparkles.
Here's some lightweight modules to add some ✨ sparkle ✨ (read: finesse) to your websites. Use each of the packages below to improve important details like website performance, code style/quality, visual polish, and animations.
You can install everything all at once (since it's quite small anyway):
$ npm install web-sparkle
const SPARKLE = require('web-sparkle')
// cross-browser-resize
SPARKLE.crossBrowserResize.addListener(myFunction)
SPARKLE.crossBrowserResize.removeListener(myFunction)
// css-scroll
SPARKLE.CSSScroll(2000, 800, document.body)
// get-prefixed-style
const transition = SPARKLE.getPrefixedStyle('transition')
// resize-scroll-handler
const handler = new SPARKLE.ResizeScrollHandler()
handler.addToHandler('resize', myFunction)
// scrolled-past
new SPARKLE.ScrolledPast(200)
Or you can go to each link below and install them separately. Up to you.
Built with 💛 by (Christine) Cha. Pull requests welcome!
Eliminate unnecessary resize event handling on mobile browsers.
🏋 Performance
🏆 Visual Polish
Forget that jittery JS-powered animated scroll. Get it buttery smooth (and super performant!) with some CSS magic.
🏆 Visual Polish
🎪 Animation
A super simple method to grab the correct (prefixed or not) style property name for your browser.
💄 Code Style
No more long frames. Stop repainting the browser all the time, and only fire window events once.
🏋 Performance
Implement easy-peasy CSS-based scroll-triggered animation (or whatever you want).
🏋 Performance
🏆 Visual Polish
🎪 Animation
Super generic base gallery that can be styled to pretty much any layout & animation you'll ever need.
🏋 Performance
🏆 Visual Polish
🎪 Animation
Using VH as a CSS unit in mobile browsers causes a lot of problems. Fix them.
🏋 Performance
🏆 Visual Polish
FAQs
A toolbox of frontend web development modules to add some ✨ to your website.
The npm package web-sparkle receives a total of 3 weekly downloads. As such, web-sparkle popularity was classified as not popular.
We found that web-sparkle demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
Multiple high-impact npm maintainers confirm they have been targeted in the same social engineering campaign that compromised Axios.

Security News
Axios compromise traced to social engineering, showing how attacks on maintainers can bypass controls and expose the broader software supply chain.

Security News
Node.js has paused its bug bounty program after funding ended, removing payouts for vulnerability reports but keeping its security process unchanged.