boxlang-modules-and-packageslisted
Install: claude install-skill ortus-boxlang/skills
# BoxLang Modules and Packages
## Overview
BoxLang's module system allows the runtime to be extended with additional built-in
functions (BIFs), components, and services. Modules are installed via CommandBox's
`box` CLI and configured in `boxlang.json` or `Application.bx`. Many modules
auto-register their BIFs globally — no imports required after installation.
## Installing Modules
```bash
# Install via CommandBox
box install bx-redis
box install bx-pdf
box install bx-csv
box install bx-spreadsheet
# Install a specific version
box install bx-redis@2.1.0
# Install multiple at once
box install bx-redis bx-csv bx-mail
# List installed modules
box list
```
## Configuring Modules in `boxlang.json`
```json
{
"modules": {
"bx-redis": {
"enabled": true,
"settings": {
"host": "${REDIS_HOST:localhost}",
"port": 6379,
"password": "${REDIS_PASSWORD:}"
}
},
"bx-mail": {
"enabled": true,
"settings": {
"spooling": true,
"serverInterval": 5000,
"smtp": {
"host": "${SMTP_HOST}",
"port": 587,
"tls": true,
"auth": true,
"username": "${SMTP_USER}",
"password": "${SMTP_PASS}"
}
}
},
"compat-cfml": {
"enabled": true,
"settin