{"id":15711666,"url":"https://github.com/dharmesh-hemaram/jdb","last_synced_at":"2026-01-08T10:32:42.930Z","repository":{"id":24541278,"uuid":"101870017","full_name":"dharmesh-hemaram/jDB","owner":"dharmesh-hemaram","description":"jDB front end database (indexeddb) wrapper","archived":false,"fork":false,"pushed_at":"2024-03-26T10:33:03.000Z","size":1309,"stargazers_count":0,"open_issues_count":15,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-01-24T09:20:21.761Z","etag":null,"topics":["database","es6","es6-javascript","indexeddb","indexeddb-api","indexeddb-components","indexeddb-like","indexeddb-sql","indexeddb-tools","indexeddb-wrapper","javascript","javascript-library","javascript-plugin","jdb","wrapper"],"latest_commit_sha":null,"homepage":"https://dharmesh-hemaram.github.io/jDB/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/dharmesh-hemaram.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-30T10:45:28.000Z","updated_at":"2021-08-10T10:36:15.000Z","dependencies_parsed_at":"2024-10-09T13:47:47.978Z","dependency_job_id":null,"html_url":"https://github.com/dharmesh-hemaram/jDB","commit_stats":{"total_commits":62,"total_committers":5,"mean_commits":12.4,"dds":0.4032258064516129,"last_synced_commit":"efa0fc59be6880089ffcb1d7a981f3e011808f6d"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmesh-hemaram%2FjDB","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmesh-hemaram%2FjDB/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmesh-hemaram%2FjDB/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/dharmesh-hemaram%2FjDB/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/dharmesh-hemaram","download_url":"https://codeload.github.com/dharmesh-hemaram/jDB/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246358249,"owners_count":20764366,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["database","es6","es6-javascript","indexeddb","indexeddb-api","indexeddb-components","indexeddb-like","indexeddb-sql","indexeddb-tools","indexeddb-wrapper","javascript","javascript-library","javascript-plugin","jdb","wrapper"],"created_at":"2024-10-03T21:13:38.366Z","updated_at":"2026-01-08T10:32:42.888Z","avatar_url":"https://github.com/dharmesh-hemaram.png","language":"JavaScript","funding_links":["https://paypal.me/DharmeshH/25?_ga=1.267642062.1305492970.1507529951"],"categories":[],"sub_categories":[],"readme":"# DB\n[![NPM version][npm-image]][npm-url]\n\n## About\nDB is javascript library / wrapper used to communicate with IndexedDB efficiently. DB have set of predefined function which helps developers ease in writing object oriented code for storing, manipulating and retrieving data in indexedDB.\n\n## Versions\n**Changes in 1.0.2:**\n- Updated code to remove unwanted methods and variables.\n\n\n## Install\n### In Browser\n```html\n\u003cscript src=\"DB.js\"\u003e\u003c/script\u003e\n```\n### npm\n```\nnpm i --save DB;\n```\n### In Node\n```javascript\n// ES2015\nimport {DB} from '@dharmesh-hemaram/DB';\n\n//require JS\nlet DB =  require('@dharmesh-hemaram/DB').DB;\n\n//AMD\ndefine(['@dharmesh-hemaram/DB'], function (package) {\n  let DB = package.DB;\n});\n\n```\n## Getting started\n### Configuration\ncreate database configuration file db_confog.json\n```JSON\n{\n  \"databaseName\":\"testDB\",\n  \"version\":1,\n  \"tables\":[\n    {\n      \"name\":\"customers\",\n      \"keyPath\":\"customerId\",\n      \"autoIncrement\":false,\n      \"columns\":[\n        {\n          \"name\":\"customerName\",\n          \"nullable\":false,\n          \"type\":\"string\"\n        },{}\n      ]\n    },{}\n  ]\n}\n```\n### Setup\n```javascript\nimport {DB} from '@dharmesh-hemaram/DB';\n\nDB.setup(databaseJSON).then(dbInst =\u003e console.log(dbInst));\n```\n### Serve\n```javascript\n  DB.getInst().databaseName.tableName.get().then(result).catch(error);\n```\n\n### [Query](https://github.com/dharmesh-hemaram/DB/wiki/Query)\n\n### Usefull Stuff:\n\n * [E-Mail](dharmesh.hemaram@gmail.com)\n * [Wiki](https://github.com/dharmesh-hemaram/DB/wiki/)\n * [Test](https://dharmesh-hemaram.github.io/DB/test.html)\n \n If this project help you reduce time to develop, you can give me a cup of coffee :)\n [![PayPal](https://www.paypalobjects.com/webstatic/paypalme/images/pp_logo_small.png)](https://paypal.me/DharmeshH/25?_ga=1.267642062.1305492970.1507529951)\n\n## Licensing\n\n[The code in this project is licensed under Apache 2.0 license.](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdharmesh-hemaram%2Fjdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdharmesh-hemaram%2Fjdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdharmesh-hemaram%2Fjdb/lists"}