This package contains a collection of practical, reusable, and idiomatic Kotlin snippets.
Each snippet solves a focused task - from string manipulation to working with numbers, collections, dates, or the system.
Snippets are organized by category, and each is implemented in a self-contained .kt file with corresponding tests.
| Category | Description |
|---|---|
strings/ |
String operations and transformations |
numbers/ |
Math, number theory, formatting |
collections/ |
List, set, and map utilities |
datetime/ |
Working with dates and times |
fileio/ |
Read/write operations with files |
system/ |
Environment, OS, and runtime info |
conversion/ |
Type and format conversions |
regex/ |
Useful regular expression utilities |
random/ |
Random generation, sampling |
- Pick an open issue labeled
type: snippetand add your snippet under the right subpackage - Or suggest a new one via Issues
See CONTRIBUTING.md for more!