npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

vlist

v2.1.0

Published

Lightweight, high-performance virtual list with zero dependencies

Readme

vlist

The virtual list library for every framework. Ultra efficient, batteries-included, and accessible with composable plugins — in 8.0 KB.

v2.1.0Changelog · New: tree() plugin — virtualized collapsible trees with async loading, indent guides, and WAI-ARIA treeview keyboard nav.

npm version bundle size CI license

  • Accessible — WAI-ARIA, 2D keyboard navigation, focus recovery, screen-reader DOM ordering
  • Zero dependencies — framework-agnostic core, tiny adapters for Vue, Svelte, Solid, React
  • 8.0 KB gzipped — composable plugins with perfect tree-shaking
  • Constant memory — ~0.1 MB overhead at any scale, from 10K to 1M+ items
  • Axis-neutral — vertical and horizontal scrolling through a single code path, all plugins work in both orientations

Install

npm install vlist

Quick Start

import { createVList } from 'vlist'
import 'vlist/styles'

const list = createVList({
  container: '#my-list',
  items: [
    { id: 1, name: 'Alice' },
    { id: 2, name: 'Bob' },
    { id: 3, name: 'Charlie' },
  ],
  item: {
    height: 48,
    template: (item) => `<div>${item.name}</div>`,
  },
})

Add plugins as the second argument:

import { createVList, grid, selection } from 'vlist'

const list = createVList({ container: '#app', items, item: { height: 200, template: render } }, [
  grid({ columns: 4, gap: 16 }),
  selection({ mode: 'multiple' }),
])

Plugins

| Plugin | Size | Description | |--------|------|-------------| | Base | 7.9 KB | Virtualization, ARIA, keyboard nav, gap, padding | | data() | +4.6 KB | Lazy loading with velocity-aware fetching | | selection() | +2.4 KB | Single/multiple selection with 2D keyboard nav | | scale() | +3.9 KB | 1M+ items via scroll compression | | groups() | +3.7 KB | Sticky/inline headers with async group discovery | | autosize() | +0.8 KB | Auto-measure items via ResizeObserver | | scrollbar() | +2.0 KB | Custom scrollbar UI | | grid() | +2.7 KB | 2D grid layout | | masonry() | +3.6 KB | Pinterest-style masonry with lane-aware keyboard nav | | table() | +6.1 KB | Data table with columns, resize, sort | | page() | +0.8 KB | Window-level scrolling | | sortable() | +2.9 KB | Drag-and-drop reordering with auto-scroll | | snapshots() | +1.3 KB | Scroll position save/restore | | transition() | +1.8 KB | FLIP-based enter/exit animations for insert & remove |

Framework Adapters

| Framework | Package | Size | |-----------|---------|------| | Vue | vlist-vue | 0.6 KB | | Svelte | vlist-svelte | 0.5 KB | | SolidJS | vlist-solidjs | 0.5 KB | | React | vlist-react | 0.6 KB |

Docs & Examples

18 interactive examples, full API reference, tutorials, and live benchmarks → vlist.io

Migrating from v1

v2 is a ground-up rewrite — simpler API, 55% smaller base bundle, zero-allocation scroll path. Full announcement →

| v1 | v2 | |----|-----| | vlist(config).use(withGrid()).build() | createVList(config, [grid()]) | | withGrid, withSelection, … | grid, selection, … | | VListFeature | VListPlugin | | BuilderContext | PluginContext | | .vlist-items | .vlist-content |

The instance API (setItems, scrollToIndex, on, destroy) is unchanged.

License

MIT — Built by Floor IO

Acknowledgments

Thanks to Alexander Klaiber for graciously transferring the vlist package name on npm.