Security News
tea.xyz Spam Plagues npm and RubyGems Package Registries
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
stacky.js
Advanced tools
Readme
Create beautiful scrolling driven navigation lists with stacking headers that remain visible at all times.
Vanilla JS alternative to Slinky.js with no dependencies.
You can see demo here: https://matronator.github.io/stacky.js/
Instal with
npm install stacky.js
and import into your project
import Stacky from "stacky.js"
Download files from the dist folder and include in your HTML file
<script src="path/to/stacky.min.js"></script>
A minimal HTML structure for Stacky to work with can look something like this:
<main>
<nav>
<section>
<header>First header</header>
<p>Some content</p>
</section>
<section>
<header>Second header</header>
<ul>
<li>First item</li>
<li>Second item</li>
</ul>
</section>
<!-- More sections here -->
</nav>
</main>
Then you just initialize Stacky like this:
const stacky = new Stacky()
stacky.init()
Stacky.js looks for <header>
tags by default, but you can change it to any CSS selector you want.
For example if you want to use Stacky on headings with some custom class like this one:
<h2 class="stack-me">Heading</h2>
You just have to specify the selector when declaring Stacky like so:
const stacky = new Stacky('h2.stack-me')
stacky.init()
Original jQuery plugin: Slinky.js
FAQs
Stacking scrolling navigation, modern alternative to Slinky.js without no dependencies
The npm package stacky.js receives a total of 0 weekly downloads. As such, stacky.js popularity was classified as not popular.
We found that stacky.js 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
Tea.xyz, a crypto project aimed at rewarding open source contributions, is once again facing backlash due to an influx of spam packages flooding public package registries.
Security News
As cyber threats become more autonomous, AI-powered defenses are crucial for businesses to stay ahead of attackers who can exploit software vulnerabilities at scale.
Security News
UnitedHealth Group disclosed that the ransomware attack on Change Healthcare compromised protected health information for millions in the U.S., with estimated costs to the company expected to reach $1 billion.