{"id":15213084,"url":"https://github.com/akrouk/promisesql","last_synced_at":"2026-03-07T20:32:20.001Z","repository":{"id":65523604,"uuid":"489579771","full_name":"akrouk/PromiseSQL","owner":"akrouk","description":"A node-sqlite3 wrapper for lightweight, asynchronous queries","archived":false,"fork":false,"pushed_at":"2023-02-16T19:55:17.000Z","size":1251,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-19T09:21:17.013Z","etag":null,"topics":["discordjs","discordjs-v13","node-sqlite3","nodejs","sqlite3"],"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/akrouk.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-05-07T05:38:57.000Z","updated_at":"2023-01-13T00:03:05.000Z","dependencies_parsed_at":"2024-09-24T12:03:24.413Z","dependency_job_id":"65ecfbec-2194-4402-85e7-f02c30f92767","html_url":"https://github.com/akrouk/PromiseSQL","commit_stats":{"total_commits":74,"total_committers":1,"mean_commits":74.0,"dds":0.0,"last_synced_commit":"2920fab6b04f5173fcf081c04639ad4e055e0053"},"previous_names":[],"tags_count":24,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akrouk%2FPromiseSQL","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akrouk%2FPromiseSQL/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akrouk%2FPromiseSQL/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/akrouk%2FPromiseSQL/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/akrouk","download_url":"https://codeload.github.com/akrouk/PromiseSQL/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243012662,"owners_count":20221606,"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":["discordjs","discordjs-v13","node-sqlite3","nodejs","sqlite3"],"created_at":"2024-09-28T09:20:55.873Z","updated_at":"2025-12-07T20:04:46.069Z","avatar_url":"https://github.com/akrouk.png","language":"JavaScript","readme":"# :hatching_chick: PromiseSQL\nA [node-sqlite3](https://www.npmjs.com/package/sqlite3) wrapper for running simple, asynchronous database queries in Node.js. PromiseSQL is for those who take their coffee with syntactic sugar instead of black ☕. It's best suited for smaller projects that require resolving lots of promises, e.g., a Discord bot that implements slash commands.\n\n```javascript\nconst db = require('promisesql');\ndb.open('./database.db');\n\n(async () =\u003e {\n  const data = await db.select({\n    all: true,\n    from: 'lorem',\n    where: [ db.expression.eq('ipsum', 'dolor') ]\n  });\n  \n  data.forEach(datum =\u003e console.log(datum.dolor));\n})();\n\ndb.close();\n```\n\n***This module is still a work in progress.***\n\nBy design, it was created as an SQL backend for interaction-based Discord bots built in [discord.js v13](https://discord.js.org/#/docs/discord.js/v13/general/welcome). It is intended to create more user-friendly, asynchronous query functions, which take in an \"options\" object as arguments, a practice inspired by discord.js. \n\n# Documentation\nDocumentation can be found on the [wiki](https://github.com/akrouk/PromiseSQL/wiki/Documentation).\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakrouk%2Fpromisesql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fakrouk%2Fpromisesql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fakrouk%2Fpromisesql/lists"}