Predictable tools for everyday data tasks
If you are new, start with the quick start below and move to the reference when you need details.
Features
- createStore(options). Creates a store from the given options and returns an object with read and write methods.
- watchChanges(target, handler). Calls the handler every time the target changes and returns a function to stop watching.
- mergeConfig(base, overrides). Combines two configuration objects, giving priority to the second and keeping types intact.
- batchUpdate(items, size). Splits a list into groups of the given size and processes them in order.
Installation
yarn add quillstreamQuick start
const { createStore } = require("quillstream");
const result = createStore(items, { strict: true });
console.log(result);