js-big-list

Help manage large lists of data for frontend filtering.

Usage no npm install needed!

<script type="module">
  import jsBigList from 'https://cdn.skypack.dev/js-big-list';
</script>

README

js-big-list

Documentation coming soon

Installation coming soon

yarn add @taystack/js-big-list

or with npm

npm i @taystack/js-big-list

Use

Small JavaScript library to help with managing the render process of large datasets on a frontend.

You don't want to render all of your items at once

Example

import BigList from "@taystack/js-big-list";


const items = new Array(100000).fill().map((_, i) => i); // 100,000 things
const renderedItems = BigList(5, items, x => x % 10 === 0);
// => [0, 10, 20, 30, 40];