{"id":23785355,"url":"https://github.com/foxfirecodes/xpdb","last_synced_at":"2025-09-11T11:42:50.211Z","repository":{"id":57402122,"uuid":"82614291","full_name":"foxfirecodes/xpdb","owner":"foxfirecodes","description":"Ultra-fast persistent database solution with a simple to use API","archived":false,"fork":false,"pushed_at":"2023-12-22T01:28:02.000Z","size":29,"stargazers_count":1,"open_issues_count":1,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-01-09T10:36:57.157Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/foxfirecodes.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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-02-20T23:43:07.000Z","updated_at":"2023-12-22T01:28:06.000Z","dependencies_parsed_at":"2023-12-22T03:45:35.020Z","dependency_job_id":"34d042ce-99c3-48ce-8c48-92aa992791a8","html_url":"https://github.com/foxfirecodes/xpdb","commit_stats":null,"previous_names":["foxfirecodes/xpdb","rayzr522/xpdb"],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxfirecodes%2Fxpdb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxfirecodes%2Fxpdb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxfirecodes%2Fxpdb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/foxfirecodes%2Fxpdb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/foxfirecodes","download_url":"https://codeload.github.com/foxfirecodes/xpdb/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240002101,"owners_count":19732164,"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":[],"created_at":"2025-01-01T13:44:03.310Z","updated_at":"2025-02-21T10:42:01.440Z","avatar_url":"https://github.com/foxfirecodes.png","language":"JavaScript","readme":"# XPDB\n\n\u003e Ultra-fast persistent database solution with a simple to use API\n\nXPDB is a hyper-simplified wrapper around [level](https://github.com/Level/level), which is a wrapper around [LevelUP](https://github.com/rvagg/node-levelup), which is a wrapper around [LevelDB](https://github.com/google/leveldb). Sounds complicated, right? Nope.\n\n**XPDB** is a super easy to use database system that is just like using a Map. Data is stored persistently, quickly, and all methods use `Promise`s, which means you can use it with the fancy new `async`/`await` features! It can store any kind of data, including `JSON`.\n\n## Installation\n\n```bash\nnpm install --save xpdb\n```\n\n## Usage\n\n```javascript\nvar XPDB = require(\"xpdb\");\nvar db = new XPDB(\"./myDB\");\n\n// Promises\ndb.put(\"some.key\", \"Hello world!\")\n  .then(() =\u003e {\n    db.get(\"some.key\")\n      .then((value) =\u003e {\n        console.log(value);\n        // =\u003e Hello world!\n      })\n      .catch(console.error);\n  })\n  .catch(console.error);\n\n// async/await\ntry {\n  await db.put(\"some.key\", \"Hello world!\");\n  console.log(await db.get(\"some.key\"));\n  // =\u003e Hello world!\n} catch (err) {\n  console.error(err);\n}\n```\n\n## Methods\n\n\u003e _Coming soon, for now there are JavaDocs, and it should be pretty self-explanatory._\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxfirecodes%2Fxpdb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ffoxfirecodes%2Fxpdb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ffoxfirecodes%2Fxpdb/lists"}