@tdreyno/versionable

Allows versioning and migrating javascript data


License
Hippocratic-2.1
Install
npm install @tdreyno/versionable@1.0.0

Documentation

versionable

npm latest version Minified Size

versionable is a tiny library for validating and migrating javascript data.

Install

npm install --save @tdreyno/versionable

Example

import { create } from "@tdreyno/versionable"

const q = create()

// Will run these in order of function execution (a, b, c) rather than in parallel.
const results = await Promise.all([
  q.enqueue(() => "a"),
  q.enqueue(() => "b"),
  q.enqueue(() => "c"),
])