# @battis/typescript-tricks

> A handful of useful types and operators

Latest version **0.8.7** (published 2026-09-30) · GPL-3.0 license · 0 weekly downloads

## Install

```sh
npm install @battis/typescript-tricks
pnpm add @battis/typescript-tricks
yarn add @battis/typescript-tricks
bun add @battis/typescript-tricks
```

## Health

**Score 60/100 (C)** — status: active.

Positive: has types; no vulnerabilities; recently updated; high maintenance score.

Warnings: low downloads; no esm support; pre 1.0.

## Facts

| | |
|---|---|
| Version | 0.8.7 |
| Published | 2026-09-30 |
| First published | 2023-07-02 |
| Weekly downloads | 0 |
| License | GPL-3.0 |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 153 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | Seth Battis |
| Maintainers | battis |

## Links

- npm: https://www.npmjs.com/package/@battis/typescript-tricks
- Repository: https://github.com/battis/typescript-config
- Homepage: https://github.com/battis/typescript-config/tree/main/packages/typescript-tricks#readme
- npm.io page: https://npm.io/package/@battis/typescript-tricks

## Recent versions

- 0.8.7 (latest) — 2026-09-30
- 0.8.6 — 2026-08-02
- 0.8.5 — 2026-07-02
- 0.8.4 — 2026-06-30
- 0.8.3 — 2026-06-29
- 0.8.2 — 2026-03-12
- 0.8.1 — 2026-03-10
- 0.8.0 — 2026-03-07
- 0.7.9 — 2026-03-07
- 0.7.8 — 2026-03-06
- 0.7.7 — 2026-02-10
- 0.7.6 — 2026-01-04
- 0.7.5 — 2025-11-11
- 0.7.4 — 2024-12-31
- 0.7.3 — 2024-12-27
- … 22 more at https://npm.io/package/@battis/typescript-tricks/versions

## README

# @battis/typescript-tricks

[![npm version](https://badge.fury.io/js/@battis%2Ftypescript-tricks.svg)](https://badge.fury.io/js/@battis%2Ftypescript-tricks)
[![Module type: CJS](https://img.shields.io/badge/module%20type-cjs-brightgreen)](https://nodejs.org/api/modules.html#modules-commonjs-modules)

Stupid pet tricks, but with Typescript

---
_Source: https://npm.io/package/@battis/typescript-tricks · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
