From e1ac6d64eb82550f3b935ac7d0e81bd1a201cd8e Mon Sep 17 00:00:00 2001 From: daurnimator Date: Thu, 29 Mar 2018 02:58:25 +1100 Subject: README.md: Add note about FENGARICONF --- README.md | 5 +++++ 1 file changed, 5 insertions(+) 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)` -- cgit v1.2.3-70-g09d2