Built-ins & Standard Library
This content is for v0.2.1. Switch to the latest version for up-to-date documentation.
RayQuiro provides a standard library and built-in global namespaces:
- Standard Library & Global Functions:
print,assert,len,str,num,bool,type,range,push,pop,map,filter,reduce,sqrt,sin,cos,pow,pi,sleep, and more.
Namespaces
Section titled “Namespaces”| Built-in | Description |
|---|---|
json | Parse and serialize JSON |
regex | Regular expressions (test, match, replace, split) |
fs | File system |
env | Environment variables |
process | Args, exit, pid, cwd |
datetime | Date and time |
path | Path manipulation |
hash | SHA-256, SHA-1 |
crypto | MD5, Base64, UUID, HMAC, random |
http | HTTP requests |
net | TCP/UDP sockets |
db | Database access |
os | Platform, arch, hostname |
time | Sleep, millisecond timer |
random | Pseudo-random numbers, choices, shuffling |