ESC
Type to search...
S
Soli Docs

Built-in Functions Reference

Complete reference for all 150+ built-in functions in Soli. From I/O and string manipulation to HTTP requests, cryptography, and testing utilities.

Category Overview

Core Functions

I/O operations, type conversion, array/hash manipulation, string functions, math utilities, and file operations.

HTTP Functions

HTTP client for GET, POST, PUT, PATCH, DELETE requests with JSON support and parallel requests.

JSON Functions

Parse and stringify JSON data.

Cryptography Functions

Password hashing with Argon2, X25519 key exchange, Ed25519 signatures.

JWT Functions

Create, verify, and decode JSON Web Tokens for authentication.

Regex Functions

Regular expression matching, finding, replacing, splitting, and capturing.

Environment Functions

Read, set, and manage environment variables with .env file support.

DateTime Functions

Date/time parsing, formatting, arithmetic, and comparison using Unix timestamps.

Validation Functions

Schema-based validation with the V class and chainable validators.

Session Functions

Server-side session management for user state.

Testing Functions

Test DSL with describe/it blocks, assertions, and factory functions.

I18n Functions

Internationalization with translations, pluralization, and locale-aware formatting.

Start Exploring

Begin with Core Functions for the most commonly used utilities.