Fifo library for Lua
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.

A lua library/'class' that implements a FIFO. Objects in the fifo can be of any type, including nil.

Compatible with Lua 5.1, 5.2, 5.3 and LuaJIT


This project has been used in production since 2012.

Build Status Coverage Status


Please see the doc/ folder.

You can generate a man page using pandoc:

pandoc doc/ -s -t man -o /usr/local/share/man/man3/fifo.lua.3


Available via luarocks: luarocks install fifo

Alternatively, you may just copy fifo.lua to your own project.


You will need

Run busted -c to run tests You can then generate a coverage report by running luacov (it will write the report to


This was previously a component of lomp but was useful enough in other projects that I split it out.