@chiballc/utils
Chiba LLC Utils
TypeScript utilities, browser worker messaging, and the Kibao Nuxt module for OpenBao-backed runtime configuration.
Installation
pnpm add @chiballc/utils
Import core helpers from the package root. Worker and Nuxt entry points use explicit subpaths.
import { execute, LRUCache } from "@chiballc/utils";
import { useWebWorker } from "@chiballc/utils/web-workers";
import { useServiceWorker } from "@chiballc/utils/service-workers";
import serviceWorkerPlugin from "@chiballc/utils/plugins";
Kibao is bundled with the root package. Register it in Nuxt from @chiballc/utils/kibao; runtime helpers are available from @chiballc/utils/kibao/runtime.
export default defineNuxtConfig({
modules: ["@chiballc/utils/kibao"],
});
Full API documentation, examples, lifecycle behavior, and the OpenBao security model are available at chiballc.github.io/utils.
Documentation
The documentation site uses VitePress.
pnpm install
pnpm docs:dev
pnpm docs:build writes the production site to docs/.vitepress/dist. Use pnpm docs:preview to serve that built output locally.
GitHub Pages
.github/workflows/deploy-docs.yml builds and deploys the documentation when documentation files, package.json, or pnpm-lock.yaml change on main. It uses GitHub Pages artifacts, so no generated files or gh-pages branch are committed.
In the repository's GitHub settings, open Pages and select GitHub Actions as the publishing source. The site is configured for the project-site path https://chiballc.github.io/utils/. If it moves to a custom domain or an organization root site, update base in docs/.vitepress/config.mts.
License
ISC
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| 2.5.3 | ISC | |
| 2.5.2 | ISC | |
| 2.5.1 | ISC | |
| 2.5.0 | ISC | |
| 2.4.0 | ISC | |
| 2.3.0 | ISC | |
| 2.2.22 | ISC | |
| 2.2.21 | ISC | |
| 2.2.20 | ISC | |
| 2.2.19 | ISC | |
| 2.2.18 | ISC | |
| 2.2.17 | ISC | |
| 2.2.16 | ISC | |
| 2.2.15 | ISC | |
| 2.2.14 | ISC | |
| 2.2.13 | ISC | |
| 2.2.12 | ISC | |
| 2.2.11 | ISC | |
| 2.2.10 | ISC | |
| 2.2.9 | ISC | |
| 2.2.8 | ISC | |
| 2.2.7 | ISC | |
| 2.2.6 | ISC | |
| 2.2.5 | ISC | |
| 2.2.4 | ISC | |
| 2.2.3 | ISC | |
| 2.2.2 | ISC |