aboutsummaryrefslogtreecommitdiff
path: root/README.md
diff options
context:
space:
mode:
authordaurnimator <quae@daurnimator.com>2018-03-29 02:58:25 +1100
committerdaurnimator <quae@daurnimator.com>2018-03-29 02:58:25 +1100
commite1ac6d64eb82550f3b935ac7d0e81bd1a201cd8e (patch)
tree53eeb89013007a915018271fc4d007774d2ad747 /README.md
parentae6ac83055d2ad8577a6a43236b123fcbf81225b (diff)
downloadfengari-e1ac6d64eb82550f3b935ac7d0e81bd1a201cd8e.tar.gz
fengari-e1ac6d64eb82550f3b935ac7d0e81bd1a201cd8e.tar.bz2
fengari-e1ac6d64eb82550f3b935ac7d0e81bd1a201cd8e.zip
README.md: Add note about FENGARICONF
Diffstat (limited to 'README.md')
-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)`