
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.
scroll-infinitely
Advanced tools
A lightweight, dependency-free TypeScript library for easy infinite scrolling page creation.
Scroll Infinitely is a lightweight and easy-to-use library that allows you to create infinite scrolling pages with ease. It is built with TypeScript and has no dependencies.
You can find the full documentation here.
A website with the documentation is coming soon...
To use Scroll Infinitely, all you need to do is install the scroll-infinitely package.
# Using npm
npm install scroll-infinitely
# Using yarn
yarn add scroll-infinitely
# Using pnpm
pnpm add scroll-infinitely
Here is a simple example of how you can use Scroll Infinitely:
import { useState } from 'react'
import { ScrollInfinitely } from '../../dist'
function App() {
const [state, setState] = useState<number[]>(
Array.from({ length: 100 }, (_, i) => i + 1)
)
const handleAction = () => {
setState(prev => [
...prev,
...Array.from({ length: 100 }, (_, i) => i + prev.length + 1)
])
}
return (
<ScrollInfinitely
action={handleAction}
hasMore={state.length < 1000}
loader={<div>LOADING</div>}
>
{state.map((item, index) => (
<div key={index}>{item}</div>
))}
</ScrollInfinitely>
)
}
Feel like contributing? That's awesome! We have a contributing guide to help guide you.
Scroll Infinitely is licensed under the MIT License.
FAQs
A lightweight, dependency-free TypeScript library for easy infinite scrolling page creation.
We found that scroll-infinitely 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.