Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ispirett/ispiredb
A super simple persistent solution for storing objects in javascript
https://github.com/ispirett/ispiredb
Last synced: about 2 months ago
JSON representation
A super simple persistent solution for storing objects in javascript
- Host: GitHub
- URL: https://github.com/ispirett/ispiredb
- Owner: Ispirett
- License: other
- Created: 2019-10-14T20:37:09.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-01-07T10:41:52.000Z (almost 2 years ago)
- Last Synced: 2024-10-04T03:59:14.320Z (3 months ago)
- Language: JavaScript
- Size: 344 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 13
-
Metadata Files:
- Readme: Readme.md
- License: LICENSE.md
Awesome Lists containing this project
README
# 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](http://npm.org/) for versioning. For the versions available, see the [tags on this repository](https://github.com/ispirett/ispiredb.js/tags).
## Authors
* **Isaac Browne** - *Initial work* - [Ispirett](https://github.com/isprett)
## License
This project is licensed under the MIT License - see the [LICENSE.md](LICENSE.md) file for details
## Acknowledgments
* Hat tip to typescript indexDb Dexie