
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.
A lightweight library for making overflowing content fade out smoothly and dynamically.
A lightweight library for making overflowing content fade out smoothly and dynamically.
The library uses the mask-image property to fade out the desired edges. This allows it to play nicely with transparency.
What's more, it smoothly adjusts the mask image strength when scrolling content into the overflow using javascript.


Install the library using npm install overfade and initialize it using:
import init from "overfade";
init();
To fade-out the desired overflowing edges, use the following classes. You can combine them.
of-top: Dynamically fade out the top edgeof-bottom: Dynamically fade out the bottom edgeof-left: Dynamically fade out the left edgeof-right: Dynamically fade out the right edgeTo control the length of the fade, use the of-length-xclass. It defaults to 1, where 2 would be twice as long.
<div class="of-left of-right of-length-2">
<p>This is a horizontally overflowing container with a longer fade.</p>
</div>
FAQs
A lightweight library for making overflowing content fade out smoothly and dynamically.
The npm package overfade receives a total of 42 weekly downloads. As such, overfade popularity was classified as not popular.
We found that overfade demonstrated a healthy version release cadence and project activity because the last version was released less than 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.