Fluxonv4.3.4

Simple building blocks for reliable applications

This documentation covers installation, core concepts and the full reference for the public interface.

Features

  • batchUpdate(items, size). Splits a list into groups of the given size and processes them in order.
  • createStore(options). Creates a store from the given options and returns an object with read and write methods.
  • formatRecord(record, template). Renders a record using a template string with named placeholders.
  • parseInput(value, schema). Validates a value against a schema and returns the cleaned result or a list of errors.

Installation

yarn add fluxon

Quick start

const { batchUpdate } = require("fluxon");

const result = batchUpdate(config, { strict: true });
console.log(result);

API referenceChangelog