Standard Library Overview
Djazair includes a robust, zero-external-dependency standard library containing 20 built-in modules. Every module is written in optimized C or pure Djazair, loaded with zero overhead using the use <module> syntax.
assert
Test assertions, equality checks, truthiness, and exception testing.
bytes
Binary buffer allocation, hex conversions, slicing, and byte operations.
collections
Stack, Queue, Deque, Set, LinkedList, and PriorityQueue data structures.
crypto
SHA-256 hashing, Base64 encoding/decoding, and AES encryption.
datetime
High-precision timestamps, formatting, calendar math, and Date class.
dir
Directory creation, recursive glob matching (**), and traversal.
env
Access, query, and manipulate environment variables at runtime.
file
File read/write, streams, binary bytes, stat, chmod, and symlinks.
http
HTTP client (GET, POST, etc.) and multithreaded HTTP/1.1 web server.
json
JSON serialization and deserialization with pretty-printing.
lang
Garbage collection control, heap memory statistics, and VM metadata.
math
Constants, trigonometry, logs, powers, rounding, gcd, lcm, factorial.
net
TCP/UDP client and server, URL parsing, URLSearchParams, DNS, TLS.
os
Platform detection, CPU count, memory, username, temp directory.
path
Cross-platform path manipulation, join, resolve, dirname, basename.
process
Process identification, exec commands, and async spawn with pipes.
random
Pseudorandom numbers, floats, integers, choice, shuffle, seed.
regex
Regular expressions, compile, search, fullMatch, findAll, sub, split.
thread
Actor model concurrency, worker threads, message passing, pools.
uuid
Universally Unique Identifier (UUID v4) generation and validation.