Skip to content

About

TypeScript Playground

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Repository files navigation

ts-playground

Coverage TODO/FIXME

Playground for TypeScript The repository tracks TODO and FIXME markers with gh-counter. It also tracks built package artifact size with gh-build-size.

Features

  • Basis

    • test with vitest
    • coverage with octocov
    • lint / format with biomejs
    • Add TypeDoc for documentation
    • Publish NPM package
  • @kitsuyui/bits128 ... utilities for converting and transforming 128-bit values

  • @kitsuyui/cipher ... cipher utilities for encryption and decryption

  • @kitsuyui/debug ... debugging utilities for JavaScript and TypeScript

  • @kitsuyui/hello ... simple hello world package

  • @kitsuyui/incremental-color-palette ... incremental color palette generator

  • @kitsuyui/intended-rollback ... intended transaction rollback for prisma

  • @kitsuyui/is-local ... determine if a given host is local or not

  • @kitsuyui/luxon-ext ... extension for luxon

  • @kitsuyui/mymath ... simple math package

  • @kitsuyui/number-time ... treat number as time

  • @kitsuyui/object-version-control ... object version control with diff and merge

  • @kitsuyui/string ... simple string package

  • @kitsuyui/symbolic-prototype ... modern prototype extension with Symbol

  • @kitsuyui/word-stats ... word statistics package (count, TF-IDF, etc.)

Docs

Usage

Install

bun install

Build

bun run build

Run with development mode (watch mode)

bun run dev

Test

bun run test

Additional commands

bun run check-module-isolation
bun run typecheck
bun run validate
bun run typedoc

Development

Install lefthook and register the Git hooks:

lefthook install

Git hooks

pre-commit — runs on every commit:

  • bun run lint — Biome linter check
  • bun run typecheck — TypeScript type check

pre-push — runs on every push:

  • bun run lint — Biome linter check
  • bun run typecheck — TypeScript type check
  • bun run test — Vitest test suite with coverage

These hooks bring CI feedback to your local workflow. CI still runs the full suite (including build, package export validation, and TypeDoc generation) on every pull request and push to main.

License

MIT

About

TypeScript Playground

Resources

Code of conduct

Contributing

Security policy

Stars

0 stars

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages