Funkcia is a TypeScript library that provides robust error handling and functional programming primitives, heavily inspired by Rust's error handling patterns and functional programming concepts.
It provides a comprehensive toolkit for writing more reliable code with better error handling and functional programming patterns, making it easier to write maintainable and type-safe applications.
npmifunkcia
pnpmaddfunkcia
bunaddfunkcia
yarnaddfunkcia
Jump right in
Option
Result
OptionAsync
ResultAsync
Brand
Pattern Matching
Docs parity checklist
Before publishing docs updates:
Verify public API names against source exports in /packages/funkcia/src.
Ensure method headings match API casing exactly.
Remove stale methods that no longer exist in source.
Confirm SUMMARY.md links point to real files.
Run a quick search for known removed APIs to avoid drift regressions.