Constants
DATA_FILE_EXTENSIONS
DATA_FILE_EXTENSIONS = fileExtensions
Array of data file extensions that LuaWebGen understands. Currently contains these values:
Value | Description |
---|---|
"json" |
v1.3 JSON files. (See json.parse ) |
"lua" |
Lua files. These must return a value (that's not nil). |
"toml" |
TOML files. (See toml.parse ) |
"txt" |
v1.5 Plain text files. |
"xml" |
XML files. (See the XML module) |
IMAGE_EXTENSIONS
IMAGE_EXTENSIONS = fileExtensions
Array of common image file extensions. Currently contains "png"
, "jpg"
, "jpeg"
and "gif"
.
WEBGEN_VERSION
WEBGEN_VERSION = string
The current version of LuaWebGen, e.g. "1.0.2"
.
Page updated: 2022-04-13