LuaRocks.org had a security incident in September 2026. Read the incident report.

moonkind

Simple type assertions for your Lua projeccts

$ luarocks install moonkind

Moonkind allows you to easily assert the types of your variables, and doesn't do implicit conversions.
You can either use it to throw errors in case of mismatched variables, or get the errors as values
to decide how to handle them.

Versions

0.1.3-12 years ago23 downloads
0.1.2-12 years ago9 downloads
0.1.1-12 years ago9 downloads
0.1.0-12 years ago9 downloads

Dependencies

lua >= 5.1, < 5.5

Manifests