RADS Logo

๐Ÿ“– RADS Wiki

Complete reference for all modules, functions, and features

20+
Standard Library Modules
310+
Built-in Functions
40+
Math Functions
22
File System Functions

๐ŸŒ Networking & Web

๐ŸŒ net

HTTP server, routing, web requests, WebSocket support

http_server route serve http_get http_post json_response static middleware
๐Ÿ“ก websocket

WebSocket client and server implementation

connect send receive close on_message on_open on_close

๐Ÿ“ File System & I/O

๐Ÿ“ fs

Comprehensive file system operations (22 functions)

read_file write_file exists is_file is_dir mkdir rmdir remove copy move list_dir file_size file_mtime file_perms chmod chown link symlink readlink realpath temp_dir temp_file
๐Ÿ›ค๏ธ path

Cross-platform path manipulation (13 functions)

join basename dirname extname stem is_absolute normalize split splitext sep cwd home glob
๐Ÿ“„ io

Stream processing and file I/O

open close read write read_line write_line flush seek tell eof

๐Ÿ”ข Math & Data

โž• math

Comprehensive mathematical functions (40+ functions)

abs min max sign clamp lerp floor ceil round trunc sqrt cbrt pow hypot sin cos tan asin acos atan atan2 sinh cosh tanh exp log log2 log10 fmod isnan isinf isfinite PI E INF NAN deg_to_rad rad_to_deg sum avg median
๐ŸŽฒ random

Random number generation (9 functions)

seed int float range choice shuffle sample bool uuid
๐Ÿ“Š json

JSON parsing and serialization

parse stringify validate pretty get set has keys values merge

โฐ Time & System

โฑ๏ธ time

High-precision timing (10 functions, nanosecond precision)

sleep time unix millis micros perf_counter monotonic clock process_time thread_time
๐Ÿ• datetime

Date and time handling

now format parse unix from_unix add diff weekday
๐Ÿ–ฅ๏ธ os

System introspection and process control (20 functions)

name version arch hostname info pid ppid uid gid exit env setenv unsetenv cpu_count pagesize mem_total mem_available cwd tmpdir sleep
๐ŸŒ env

Environment variables and system paths

get set has unset list paths home cwd user shell

๐Ÿ”ง Utilities & Tools

๐Ÿ” regex

Pattern matching and text manipulation

compile match findall search replace split groups
๐Ÿ” base64

Base64 encoding and decoding

encode decode url_encode url_decode
#๏ธโƒฃ hash

Hash functions (MD5, SHA1, SHA256, SHA512)

md5 sha1 sha256 sha512 hmac
๐Ÿ–ฅ๏ธ cli

Command-line argument parsing

args program count has_flag flag flags args_after_flag parse
๐Ÿ“Š csv

CSV file parsing and generation

parse stringify read write

๐ŸŽจ Media & Advanced

๐ŸŽจ media

Audio and image processing

load_audio load_image convert resize apply_filter crop rotate flip
๐Ÿงช test

Built-in testing framework

describe it expect beforeEach afterEach run skip
๐Ÿ”Œ ffi

Foreign Function Interface (load C libraries)

load sym close error
๐Ÿ†” uuid

UUID generation and parsing

v4 v5 parse validate to_string
๐Ÿ“ string

String manipulation and inspection (30 functions)

length upper lower trim split join replace contains starts_with ends_with substring to_int to_float repeat pad_left pad_right ljust rjust center reverse count title capitalize find rfind isdigit isalpha isalnum is_empty char_at
๐Ÿ“ฆ array

Array manipulation utilities

push pop shift unshift slice splice concat reverse sort map filter reduce find index includes