Skip to content

Kiwi Standard Library

The standard library is a collection of packages containing useful functions and structs which Kiwi provides out of the box.

Package Descriptions

Package Description
bench A benchmarking framework for measuring and reporting code performance.
collections Specialized collection types, including Heap and Set.
compress Functions for compression and decompression.
console An interface that wraps core I/O operations.
crypto Cryptographic functions like MD5 and SHA-2.
csv Functions for parsing CSV data.
env For interacting with environment variables.
fio Functions for file system operations.
http Functions for HTTP requests (GET, POST, etc), including HttpResponse.
iter An explicit iterator pattern for safely traversing lists.
math Common mathematical functions and utilities.
path Contains the definition for the Path struct.
reflector Reflection tools, including Callable.
socket / tls Low-level asynchronous TCP and TLS networking.
stdin Functions for reading from standard input.
string String manipulation and transformation utilities.
sys For executing shell commands.
task Asynchronous task management, including Channel.
tester A simple unit testing framework.
time Time and date utilities.