versionable
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"),
])