
Security News
Node.js TSC Votes to Stop Distributing Corepack
Corepack will be phased out from future Node.js releases following a TSC vote.
scroll-indicator-js
Advanced tools
A simple vanilla JS scroll indicator. No dependencies, best performances.
A simple vanilla JS scroll indicator. No dependencies, best performances.
With yarn
yarn add scroll-indicator-js
With npm
npm i scroll-indicator-js
To use it in your app
// main.js
import { scrollIndicator } from 'scroll-indicator-js'
scrollIndicator() // Start the scroll indicator on all .scroll-indicator classes
<!-- On the top of your page -->
<div class="scroll-indicator" data-height="5px" data-position="bottom"></div>
<!-- ..... -->
datasets | Value | Default |
---|---|---|
height | px | 3px |
position | top - bottom - left - right | top |
color | hex/rgba/linear | linear-gradient(225deg,#ffb938 0%,#ff5729 100%) |
reverse | true - false | false |
FAQs
A simple vanilla JS scroll indicator. No dependencies, best performances.
The npm package scroll-indicator-js receives a total of 0 weekly downloads. As such, scroll-indicator-js popularity was classified as not popular.
We found that scroll-indicator-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
Corepack will be phased out from future Node.js releases following a TSC vote.
Research
Security News
Research uncovers Black Basta's plans to exploit package registries for ransomware delivery alongside evidence of similar attacks already targeting open source ecosystems.
Security News
Oxlint's beta release introduces 500+ built-in linting rules while delivering twice the speed of previous versions, with future support planned for custom plugins and improved IDE integration.