Scope helpers, lazy sequences, resilient flow streams, and exhaustive monads crafted for modern full-stack teams.
Installation
npm install kotlinify-ts
Bundle Size
0 deps · tree-shakeable
Compatibility
Node 18 · React 18+
Everything you love from Kotlin
Familiar APIs with rigorous TypeScript typings so every helper feels instantly at home.
Scope Functions
Transform objects with let, apply, also, run, and with for expressive pipelines without temporary variables.
Lazy Sequences
Process large datasets with streaming transforms and short-circuiting performance that beats arrays when it matters.
Flow Streams
Coordinate async jobs with cold and hot streams, cancellable backpressure, and ergonomic async iteration.
Coroutines
Launch background work with timeouts, cancellation, and error propagation inspired by Kotlin structured concurrency.
Typed Errors
Adopt Result, Option, and Either monads for explicit error handling that keeps control flow predictable.
Collections
Group, partition, and transform iterables with zero-dependency utilities tuned for TypeScript type inference.
Product-minded ergonomics
Designed for teams shipping across web, mobile, and server runtimes with consistent patterns.
Lightweight
Zero dependencies with tree-shakeable modules from 120 bytes up to 8 KB gzipped.
Type-Safe
Inferred generics and exhaustive unions keep Kotlin-style ergonomics inside TypeScript projects.
Production-Ready
Battle-tested core covered by 95%+ automated tests across scope, flow, and collection modules.
Ready to ship Kotlin vibes?
Install kotlinify-ts and unlock expressive, type-safe utilities that scale from side projects to enterprise platforms.
npm install kotlinify-tsView Quickstart Guide