Do more with less code
This documentation covers installation, core concepts and the full reference for the public interface.
Features
- createStore(options). Creates a store from the given options and returns an object with read and write methods.
- batchUpdate(items, size). Splits a list into groups of the given size and processes them in order.
- mergeConfig(base, overrides). Combines two configuration objects, giving priority to the second and keeping types intact.
- formatRecord(record, template). Renders a record using a template string with named placeholders.
Installation
pnpm add stackwiseQuick start
const { createStore } = require("stackwise");
const result = createStore(items, { strict: true });
console.log(result);