Skip to content

ghostfreak3000/idxf

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

idxf

idxf ( which stands for IndexedDb Facade) is a small javascript library that is aimed at providing an easy-to-use interface to the indexedDb API

Install

idxf is written in pure javascript and does not depend on any 3rd party libraries. Just include following code into the <head> tag of your HTML:

<!-- include idxf.min.js-->
<script src="idxf.min.js"></script>

API

Create a database.

var newdb = db("database_name", database_version:int );

Add a store.

newdb.addStore("store_name");
-or-
newdb.addStore(["store_name_1","store_name_2"...]);

NB: The add store routine can only be called once per browser load.

Add data to a store.

newdb.addData("store_name", data:object );

About

Indexed db facade

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published