0.2.0 • Published 9 years ago

almacen v0.2.0

Weekly downloads
8
License
MIT
Repository
-
Last release
9 years ago

Almacen

How to use it

Using browserify it's easy to use it.

var almacen = require("almacen");

almacen.local.set("hello","world!");
almacen.session.set("foo","bar");

almacen.session.get("foo") === "bar"; // true

almacen.local.set("object", {
  "a": [
    "b": 1
  ]
});

almacen.local.get("object")

But this works too with RequireJS.

define(["almacen"], function(almacen) {

  almacen.local.set("hello","world");

});

or even directly in the browser.

<script src="almacen.js"></script>
<script>

  almacen.local.set("hello","world");

</script>

Made with ❤ by ROJO 2 (http://rojo2.com)

0.2.0

9 years ago

0.1.0

9 years ago

0.0.2

9 years ago

0.0.1

9 years ago