Getting started
Travis's Tidbits is a collection of TypeScript utilities with no dependencies, provided as ES Modules. You can install the package from NPM.
npm install @travisspomer/tidbits
yarn add @travisspomer/tidbits
Then, you use it the same way you use any other module. I dunno; I'm not an expert in this stuff.
import { toBoolean } from "@travisspomer/tidbits"
Documentation
So what's in the package?
- Conversions: Conversion utilities.
- Delay: Utilities for delaying function calls.
- Historical UI: A small utility that allows you to control one or more mutually-exclusive popup UIs using the history stack.