New:Introducing Socket Scanning for VS Code Marketplace Extensions.Learn more →
Get Started
t

toolbuilder

npm

534

total weekly downloads

Packages

Current Co-maintainers

Former Co-maintainers

20 packages

iterablefu

Small, chainable, set of functions like range, map, reduce, filter, zip, for iterable objects.

rollup-plugin-create-test-package-json

Creates a package.json for testing the pack file of your package, adds in required dependencies.

rollup-plugin-relative-to-package

Converts unit tests using relative imports (e.g. '../src/module.js') to use package imports (e.g. '<package-name>', to support package testing.

@toolbuilder/await-for-it

Manage async concurrency, task pools, rate limiting, and batching with chainable async iterables and built-in backpressure.

@toolbuilder/dynamic-ring-buffer

A ring buffer that manages memory in chunks to support large capacity for data bursts with low overhead when small.

@toolbuilder/eslint-config

Eslint config based on standard.js (https://standardjs.com), plus es2020, minus the plugins.

@toolbuilder/isnumber

Well tested 'is number' checks, that can optionally include number-like strings, and non-finite values.

@toolbuilder/list

Tiny, mutable, double linked, iterable list.

@toolbuilder/make-factory

Generate a factory method from a class constructor function. Adds static methods from all super classes.

@toolbuilder/package-json-lint-config

Config module for npm-package-json-lint.

@toolbuilder/package-test

Tests package pack file in a separate, temporary package, generates tests by transforming existing unit tests

@toolbuilder/pouchdb-paginated-query

Performs paginated PouchDB queries, and provides each result via an async iterable.

@toolbuilder/priority-buffer

Priority queue/buffer with capacity limits and custom comparator. Methods push/shift/length match the Array API.

@toolbuilder/ring-buffer

Replace your slow Array based fixed length ring buffer, or circular queue, with ring-buffer. RingBuffer is roughly 10x faster, and is a drop in replacement.

@toolbuilder/ring-buffer-tests

Simple test harness for testing ring buffer implementations.

@toolbuilder/rollup-config-pkgtest

Rollup configuration to build and run package tests in a temporary package.

@toolbuilder/rollup-plugin-commands

Configurable Rollup plugin to run async functions in sequence. Includes shell function for convenience.

@toolbuilder/rollup-plugin-create-pack-file

Rollup plugin to create a pack file and move it somewhere else for testing.

@toolbuilder/rollup-plugin-test-tools

Supports pack file testing for dual modules using Rollup.

@toolbuilder/semaphore

Basic semaphore and mutex with both sync and async acquire methods.