Software libraries · Spain
@xutl - Xtra Useful Tool Libraries
A collection of open-source JavaScript and TypeScript packages, each designed to solve one specific task with a simple, lightweight tool.
About @xutl - Xtra Useful Tool Libraries
Small, focused software libraries
@xutl (Xtra Useful Tool Libraries) is a collection of software packages and modules published as independent libraries. Its design principle is for each package to do one thing rather than trying to cover everything, so developers can add only the tool they need.
Available packages
- @xutl/defer: helps use the defer pattern with promises; includes callback conversion, timeout handling, labeling, and full TypeScript support.
- @xutl/queue: asynchronous iterable queues that accept new items and can be consumed with
for await. - @xutl/events: asynchronous events where a handler can return a promise and the emitter waits for it to finish before continuing.
- @xutl/json: JSON parsing with comments, plus reading and writing JSON files.
- @xutl/test: a small, simple test framework for Node.js, described as roughly half the size of Mocha, without configurability or code coverage.
- @xutl/test-modules: replaces module dependencies with mocks.
- @xutl/test-timers: simulates timers in tests with manual time advancement.
Project and code repository
This open-source software project is aimed at developers looking for specific, lightweight utilities. The author maintains the code on GitHub and publishes additional experiments and tools under the name xutl-es. The website is built with GitHub Pages.
In brief
JavaScript and TypeScript utility libraries