{"id":23046584,"url":"https://github.com/agenthackeryt/easy.db","last_synced_at":"2026-03-20T00:20:45.084Z","repository":{"id":143851984,"uuid":"461728762","full_name":"AgentHackerYT/easy.db","owner":"AgentHackerYT","description":null,"archived":false,"fork":false,"pushed_at":"2022-02-21T07:36:55.000Z","size":72,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-08T16:45:00.023Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/AgentHackerYT.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":"2022-02-21T06:14:33.000Z","updated_at":"2023-03-17T12:53:58.000Z","dependencies_parsed_at":null,"dependency_job_id":"0614cf46-1069-4952-9e64-7544012892b1","html_url":"https://github.com/AgentHackerYT/easy.db","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentHackerYT%2Feasy.db","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentHackerYT%2Feasy.db/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentHackerYT%2Feasy.db/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AgentHackerYT%2Feasy.db/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AgentHackerYT","download_url":"https://codeload.github.com/AgentHackerYT/easy.db/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246927809,"owners_count":20856193,"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":"2024-12-15T22:28:24.509Z","updated_at":"2026-01-15T22:48:53.417Z","avatar_url":"https://github.com/AgentHackerYT.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# Easy.db\n\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"easy.db.png\" heigh=\"400\" width=\"400\"/\u003e\n\u003c/div\u003e\n\n- A Simple Database Which Uses JSON Files to store your data\n\n- Alternative for Quick.db\n\n- Uses No 3rd Party Dependencies\n\n- No Complex Sqlite3 like Tool Installations\n\n- Easy To Transfer data\n\n# How To Use?\n\n- Creating A Database \n\n```js\n\nconst { Database } = require('easy.db')\n\nconst db = new Database(\"path as written in fs\")\n\n// example\n\nnew Database(\"database.json\")\n\n```\n- Add and Subtracting Values\n```js \ndb.add('key', 10)\n\ndb.subtract(`key`, 10)\n```\n- Setting Values\n```js\ndb.set('key', \"hello world\")\n```\n- Getting Values\n```js\ndb.get('key')\n```\n- Pushing Values\n\n```js\n\n    db.push(`key`, {some: \"data\"}) || db.push(`key`, [\"some_data\"])\n\n```\n- Deleting A Key\n```js\ndb.delete('key')\n```\n- Clearing The Database\n```js\ndb.clear()\n//or\ndb.deleteAll()\n```\n- Check if the value exists or not\n```js\ndb.has('key')\n```\n- All The Keys and Values\n```js\ndb.all()\n```\n- Load And Save Data are Uses Less as the database automatically loads and save the keys and values\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagenthackeryt%2Feasy.db","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagenthackeryt%2Feasy.db","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagenthackeryt%2Feasy.db/lists"}