Docs/Tools & reference

Standard library

Find the module for a task and learn a few everyday utilities.

On this page

Standard-library namespaces are imported with use valk.name. Core types such as String, Array, Map, and ByteBuffer are available without importing a separate module in ordinary programs.

Find the right module#

Task Namespace or type Guide
Text, lists, maps String, Array, Map Strings & collections
Files and paths valk.fs Files & streams
Reader/writer interfaces valk.io Streams
JSON conversion valk.json Working with JSON
HTTP clients and servers valk.http HTTP & networking
TCP and UDP sockets valk.net Networking
Runtime templates valk.template Templates
Threads and channels valk.thread, valk.sync Concurrency
Dates, clocks, sleeping valk.time Dates & time
Regular expressions valk.regex Regular expressions
Hashes, passwords, random bytes valk.crypto Hashing & passwords
gzip, zlib and DEFLATE valk.compress Compression
URL and HTML escaping valk.url, valk.html API reference
Markdown to HTML valk.markdown API reference

The API reference lists public declarations and signatures. These guides explain common workflows; use the reference when you need the full set of options on a particular type.