Skip to content

A super simple persistent solution for storing objects in javascript

License

Notifications You must be signed in to change notification settings

Ispirett/ispireDb

Repository files navigation

IspireDb Beta

A super simple persistent solution for storing objects in javascript

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes.

Prerequisites

What things you need to install the software and how to install them

node

Installing

npm install ispiredb.js --save 
or 
download ispireDb.bundle.js from the dist folder

Up and running

import IspireDb from "ispiredb.js/dist/ispiredb";

Examples

let article = new  IspireDb();

article.setup('todo',1, '++id','title', 'description', 'complete', 'time');

article.create({ title: 'sweet', description:'just practicing',complete: 'no',time: new Date() });

article.find(1, data => { console.info(data)}); //=> find object

article.all() //=> Array [articles]

Built With

  • Typescript
  • javascript
  • Webpack
  • IndexDB
  • Dexie

Versioning

We use Npm for versioning. For the versions available, see the tags on this repository.

Authors

  • Isaac Browne - Initial work - Ispirett

License

This project is licensed under the MIT License - see the LICENSE.md file for details

Acknowledgments

  • Hat tip to typescript indexDb Dexie

About

A super simple persistent solution for storing objects in javascript

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published