A Pile of Things
npm install @sudoo/pile --save
# Or
yarn add @sudoo/pile
import { Pile } from "@sudoo/pile";
const pile: Pile<string> = Pile.create();
pile.add(key, value);
pile.get(key); // value
pile.conclude((key, value) => {key, value}); // [{key, value}, {key2, value2}]