Chilkat for Lua
===============

The Chilkat library as a Lua C module:  local chilkat = require("chilkat")

This download is for ONE Lua ABI and ONE platform (see the archive name):
  chilkat-lua5.1-...   Lua 5.1 and LuaJIT 2.x
  chilkat-lua5.4-...   Lua 5.4
  chilkat-lua5.5-...   Lua 5.5

Contents
  chilkat.so / chilkat.dll   the module
  types/chilkat.lua          LuaLS annotations (completion and type checking in editors that use
                             lua-language-server: add the types directory to "workspace.library")
  test.lua                   a quick check that the module loads
  license files, SBOM (chilkat.cdx.json)

Install
  Copy chilkat.so (chilkat.dll on Windows) into a directory on Lua's package.cpath, e.g.
      lua5.4 -e "print(package.cpath)"
  or point LUA_CPATH at the directory that holds it:
      LUA_CPATH="/path/to/dir/?.so;;" lua5.4 test.lua
  Or let the installer do it (it detects your Lua, its ABI and your platform):
      curl -fsSL https://chilkatdownload.com/lua/install.sh | sh
      irm https://chilkatdownload.com/lua/install.ps1 | iex          (Windows PowerShell)
  Or with LuaRocks:
      luarocks install chilkat --server=https://chilkatdownload.com/luarocks/lua5.4
  (lua5.1, lua5.4, lua5.5; on Alpine Linux lua5.4-musl and so on)

Windows: the module imports the Lua C API by name from lua51.dll, lua54.dll or lua55.dll -- the
DLL your lua.exe uses -- so it works with any Lua build that has one (MSVC or MinGW, LuaJIT
included).  A Lua built as a single static lua.exe cannot load any C module.

Unlocking: Chilkat is fully functional for a 30-day trial.  Call once at startup:
      assert(chilkat.unlock_bundle("Anything for 30-day trial"))
and use your purchased unlock code the same way.

Documentation:  https://www.chilkatsoft.com/lua.asp
Reference:      https://www.chilkatsoft.com/refdoc/lua.asp
Examples:       https://www.example-code.com/lua/default.asp
