stringio

Reading and writing Lua strings as file objects

$ luarocks install stringio

stringio.open() gives you a file-like object which has Lua 5.2 compatible
methods like read() and lines(); stringio.create() gives you an object
with a write() method, and a value() method for the created string.

Versions

1.0-19 years ago190 downloads

Dependencies

lua >= 5.1

Labels

Manifests