summaryrefslogtreecommitdiffstats
path: root/README
diff options
context:
space:
mode:
Diffstat (limited to 'README')
-rw-r--r--README8
1 files changed, 8 insertions, 0 deletions
diff --git a/README b/README
index 1393d64..00e0bde 100644
--- a/README
+++ b/README
@@ -18,4 +18,12 @@ To install:
make install
+Example how to use Lua module:
+
+require("uniso")
+
+-- Use 0 for stdin
+print(uniso.uniso(arg[1] or 0, function(current, total, filename)
+ print(current, total, filename)
+end))