Nimbusv3.4.3

Do more with less code

The library is released under the MIT license and has no runtime dependencies. It runs in modern browsers and on current server runtimes.

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

npm install nimbus

Quick start

import { createStore } from "nimbus";

const result = createStore(data, { strict: true });
console.log(result);

API referenceChangelog