Painlessly save and retrieve Tables, Numbers, Strings or Booleans.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
README.md
cabinet.lua
main.lua

README.md

Cabinet for Corona

Save and retrieve:

  • Tables
  • Numbers
  • Strings
  • Booleans

Usage

Load module:

local cabinet = require("cabinet")

Save data:

cabinet.set("aKey", aValue)

Get data:

cabinet.get("aKey")

Delete saved item:

cabinet.remove("aKey")

Delete all saved items:

cabinet.clear()

Warning

Cabinet is specifically built for Corona SDK.