File: msgpack.org.md

package info (click to toggle)
lua-messagepack 0.5.2-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 364 kB
  • sloc: makefile: 108
file content (41 lines) | stat: -rw-r--r-- 860 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
MessagePack for Lua (spec v5)
=============================

[![Licence](http://img.shields.io/badge/Licence-MIT-brightgreen.svg)](COPYRIGHT)
[![Dependencies](http://img.shields.io/badge/Dependencies-none-brightgreen.svg)](COPYRIGHT)

``` lua
local mp = require 'MessagePack'
mpac = mp.pack(data)
data = mp.unpack(mpac)
```

Install
-------

You can use LuaRocks to install lua-MessagePack:

```
$ luarocks install lua-messagepack
```

or from the source, with:

```
$ make install
```

It is a pure Lua implementation, without any dependency.

Links
-----

* [Framagit](https://framagit.org/fperrad/lua-MessagePack/)
* [API reference](https://fperrad.frama.io/lua-MessagePack/messagepack/)

Copyright and License
---------------------

Copyright (c) 2012-2019 Francois Perrad

This library is licensed under the terms of the MIT/X11 license, like Lua itself.