{"id":24182640,"url":"https://github.com/lweaxo/lweaxodb","last_synced_at":"2026-01-30T06:04:24.751Z","repository":{"id":254510412,"uuid":"846761335","full_name":"LWEAXO/lweaxodb","owner":"LWEAXO","description":"DataBase Modules","archived":false,"fork":false,"pushed_at":"2024-10-20T17:17:04.000Z","size":47,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-11-27T09:08:56.198Z","etag":null,"topics":["database","databases","db","javascript","mangodb","mangos","typescript"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","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/LWEAXO.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2024-08-23T22:42:16.000Z","updated_at":"2025-01-01T20:36:53.000Z","dependencies_parsed_at":"2024-10-20T20:14:35.834Z","dependency_job_id":null,"html_url":"https://github.com/LWEAXO/lweaxodb","commit_stats":null,"previous_names":["lweaxo/lweaxodb"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/LWEAXO/lweaxodb","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LWEAXO%2Flweaxodb","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LWEAXO%2Flweaxodb/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LWEAXO%2Flweaxodb/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LWEAXO%2Flweaxodb/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/LWEAXO","download_url":"https://codeload.github.com/LWEAXO/lweaxodb/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/LWEAXO%2Flweaxodb/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28906223,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T04:02:34.702Z","status":"ssl_error","status_checked_at":"2026-01-30T04:02:33.562Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","databases","db","javascript","mangodb","mangos","typescript"],"created_at":"2025-01-13T08:14:23.513Z","updated_at":"2026-01-30T06:04:24.691Z","avatar_url":"https://github.com/LWEAXO.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n# lweaxodb\n![NPM Downloads by package author](https://img.shields.io/npm-stat/dw/LWEAXO?plastic\u0026logo=npm\u0026label=%C4%B0ndirme)\n![NPM Downloads by package author](https://img.shields.io/npm-stat/dm/LWEAXO?plastic\u0026logo=npm\u0026label=%C4%B0ndirme)\n![NPM Downloads by package author](https://img.shields.io/npm-stat/dy/LWEAXO?plastic\u0026logo=npm\u0026label=%C4%B0ndirme)\n\u003c/div\u003e\n\n# What's new in 0.0.6?\n- The web panel has been removed. (!)\n- NPM bugs have been fixed (2x).\n- Bugs and issues related to Mongoose and NPM have been fixed.\n\n\n---\n\nExamples\n\n\u003e (QuickDB) Moving Everything to lweaxodb\n\n```js\nconst db = require(\"lweaxodb\");\nconst quickdb = require(\"quick.db\");\n\nawait db.move(quickdb)\n```\n\n\u003e (JsonDB) Moving Everything to MongoDB\n\n```js\nconst db = require(\"lweaxodb\");\ndb.setAdapter(\"mongo\", {url: \"YOUR_MONGO_URL\", Schema: \"Schema Name\"})\nconst JsonDB = require(\"../your_file.json\");\n\ndb.moveToMongo(JsonDB)\n//Github: LWEAXO\n```\n\n\u003e Example\n\n```js\nconst db = require(\"lweaxodb\")\n\ndb.set(\"x.y.z\", \"abc\") // abc\n\ndb.get(\"x\") // {y: {z: \"abc\"}}\ndb.fetch(\"x\") // {y: {z: \"abc\"}}\ndb.all() // {x: {y: {z: \"abc\"}}}\n\ndb.push(\"a\", \"hello\") //  [\"hello\"]\ndb.push(\"a\", \"world\") //  [\"hello\", \"world\"]\ndb.unpush(\"a\", \"hello\") // [\"world\"]\n\ndb.push(\"b\", {test: \"lweaxodb\"}) // [{test: \"lweaxodb\"}]\ndb.push(\"b\", {test2: \"lweaxodb2\"}) // [{test: \"lweaxodb\"}, {test2: \"lweaxodb2\"}]\ndb.delByPriority(\"b\", 1) // [{test2: \"lweaxodb\"}]\ndb.setByPriority(\"b\", {newtest:\"hey this is edited\"}, 1) // [{newtest:\"hey this is edited\"}]\n\ndb.has(\"x\") // true\ndb.delete(\"x\") // true\ndb.deleteAll() // true\n```\n\n```js\nconst db = require(\"lweaxodb\")\ndb.setAdapter(\"mongo\", \n{\n    url: \"Your Mongo URL\", \n    schema: \"Schema Name\" // Not required. You can't define your own schema. Just name.\n})\n\nawait db.set(\"x.y.z\", \"abc\") // abc\n\nawait db.get(\"x\") // {y: {z: \"abc\"}}\nawait db.fetch(\"x\") // {y: {z: \"abc\"}}\nawait db.all() // {x: {y: {z: \"abc\"}}}\n\nawait db.push(\"a\", \"hello\") //  [\"hello\"]\nawait db.push(\"a\", \"world\") //  [\"hello\", \"world\"]\nawait db.unpush(\"a\", \"hello\") // [\"world\"]\n\nawait db.push(\"b\", {test: \"lweaxodb\"}) // [{test: \"lweaxodb\"}]\nawait db.push(\"b\", {test2: \"lweaxodb2\"}) // [{test: \"lweaxodb\"}, {test2: \"lweaxodb2\"}]\nawait db.delByPriority(\"b\", 1) // [{test2: \"lweaxodb\"}]\nawait db.setByPriority(\"b\", {newtest:\"hey this is edited\"}, 1) // [{newtest:\"hey this is edited\"}]\n\nawait db.has(\"x\") // true\nawait db.delete(\"x\") // true\nawait db.deleteAll() // true\n```\n\n\u003e Example With Options\n\n```js\nconst db = require(\"lweaxodb\")\ndb.setReadable(true) // It makes readable your JSON DB file.\ndb.noBlankData(true) // If you delete anything from object and new object size is less than 1, automaticly removes that object.\ndb.setAdapter(\"yamldb\") // It makes adapter as YAML adapter. Default adapter is JsonDB\ndb.setFolder(\"folder\") // You can set database folder name\ndb.setFile(\"db\") // You can set database file name\ndb.setCheckUpdates(true) // It warns you if any updates happens.\n\ndb.set(\"x.y.z\", \"abc\") // abc\n\ndb.get(\"x\") // {y: {z: \"abc\"}}\ndb.fetch(\"x\") // {y: {z: \"abc\"}}\ndb.all() // {x: {y: {z: \"abc\"}}}\n\ndb.push(\"a\", \"hello\") //  [\"hello\"]\ndb.push(\"a\", \"world\") //  [\"hello\", \"world\"]\ndb.unpush(\"a\", \"hello\") // [\"world\"]\n\ndb.push(\"b\", {test: \"lweaxodb\"}) // [{test: \"lweaxodb\"}]\ndb.push(\"b\", {test2: \"lweaxodb2\"}) // [{test: \"lweaxodb\"}, {test2: \"lweaxodb2\"}]\ndb.delByPriority(\"b\", 1) // [{test2: \"lweaxodb\"}]\ndb.setByPriority(\"b\", {newtest:\"hey this is edited\"}, 1) // [{newtest:\"hey this is edited\"}]\n\ndb.has(\"x\") // true\ndb.delete(\"x\") // true\ndb.deleteAll() // true\n```\n\n\u003e DB Stats\n\n```js\nconst db = require(\"lweaxodb\")\n\nconsole.log(db.size) // DB Size | DB Boyutu\nconsole.log(db.version) // DB version | DB sürümü\n```\n\n---\n\n### İletişim Bilgileri;\n\n\u003ca href=\"https://instagram.com/lweaxo\"\u003e\u003cimg src=\"https://img.shields.io/badge/Instagram-E4405F?style=flat\u0026logo=instagram\u0026logoColor=white\"/\u003e\u003c/a\u003e \u0026nbsp;\n\u003ca href=\"https://discord.com/users/1015356240492245054\"\u003e\u003cimg src=\"https://img.shields.io/badge/Discord-5865F2?style=flat\u0026logo=discord\u0026logoColor=white\"/\u003e\u003c/a\u003e \u0026nbsp;\n\u003ca href=\"https://open.spotify.com/user/312jpshp3zb376xfqiikblv3vm6a\"\u003e\u003cimg src=\"https://img.shields.io/badge/Spotify-1DB954?style=flat\u0026logo=spotify\u0026logoColor=white\"/\u003e\u003c/a\u003e \u0026nbsp;\n\u003ca href=\"https://steamcommunity.com/profiles/76561199446923287/\"\u003e\u003cimg src=\"https://img.shields.io/badge/Steam-000000?style=flat\u0026logo=steam\u0026logoColor=white\"/\u003e\u003c/a\u003e \u0026nbsp;\n\n\u003c/div\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flweaxo%2Flweaxodb","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flweaxo%2Flweaxodb","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flweaxo%2Flweaxodb/lists"}