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

lsleep: sleep and usleep for lua.

$ luarocks install lsleep

lsleep contains cross-platform implementations of sleep (Sleep in Windows) and usleep (CreateWaitableTimer.... whatever).

If you're requiring LuaSocket and don't need subsecond sleeping, then you don't need this. LuaSocket has sleep included. I just thought it was weird that there was no way to sleep without requiring a socket library.

Versions

1.0-47 years ago106 downloads
1.0-27 years ago31 downloads
1.0-17 years ago34 downloads

Dependencies

lua >= 5.2

Manifests