aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--README.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/README.md b/README.md
index cd084ad..5f97fde 100644
--- a/README.md
+++ b/README.md
@@ -84,6 +84,11 @@ In the browser `require` and `package.loadlib` try to find a file by making sync
- `luaL_fileresult` takes an extra argument: an error object. The error object should have a field `errno`.
+### Configuring
+
+Some luaconf options can be chosen at library load time. Fengari looks for `process.env.FENGARICONF` and if it exists, parses it as a JSON string.
+
+
## Extensions
### `dv = lua_todataview(L, idx)`