{"id":15003361,"url":"https://github.com/thiagodp/database-js-mssql","last_synced_at":"2025-06-16T16:09:40.938Z","repository":{"id":150584422,"uuid":"138436918","full_name":"thiagodp/database-js-mssql","owner":"thiagodp","description":"Database-js driver for SQL Server that works on Linux, Mac, and Windows","archived":false,"fork":false,"pushed_at":"2019-11-19T18:57:27.000Z","size":20,"stargazers_count":1,"open_issues_count":0,"forks_count":4,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-19T10:17:47.802Z","etag":null,"topics":["database","database-js","database-js-mssql","driver","ms-sql","ms-sql-server","mssql","node","query","sql","sql-server","tds","wrapper"],"latest_commit_sha":null,"homepage":null,"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/thiagodp.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":"2018-06-23T22:11:34.000Z","updated_at":"2024-09-29T11:06:02.000Z","dependencies_parsed_at":null,"dependency_job_id":"9416aab1-0642-4342-ab2b-a24922303b22","html_url":"https://github.com/thiagodp/database-js-mssql","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/thiagodp/database-js-mssql","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagodp%2Fdatabase-js-mssql","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagodp%2Fdatabase-js-mssql/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagodp%2Fdatabase-js-mssql/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagodp%2Fdatabase-js-mssql/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thiagodp","download_url":"https://codeload.github.com/thiagodp/database-js-mssql/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thiagodp%2Fdatabase-js-mssql/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260194172,"owners_count":22972637,"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","database-js","database-js-mssql","driver","ms-sql","ms-sql-server","mssql","node","query","sql","sql-server","tds","wrapper"],"created_at":"2024-09-24T18:58:06.997Z","updated_at":"2025-06-16T16:09:40.907Z","avatar_url":"https://github.com/thiagodp.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# database-js-mssql\n\n\u003e Database-js driver for SQL Server that works on Linux, Mac, and Windows\n\nThis [database-js](https://github.com/mlaanderson/database-js) driver is a wrapper for [node-mssql](https://github.com/thiagodp/database-js-mssql.git) and works with MS SQL Server 2000-2017. _Pull Requests are welcome!_\n\n## Install\n\n```bash\nnpm install --save database-js-mssql\n```\n\n## Example\n\n```js\nvar Connection = require('database-js').Connection;\n\n(async function() {\n    let conn, statement, results;\n    try {\n        conn = new Connection('mssql:///username:password@localhost/database');\n        statement = conn.prepareStatement(\"SELECT * FROM states WHERE state = ?\");\n        results = await statement.query(\"South Dakota\");\n        console.log(results);\n    } catch (reason) {\n        console.log(reason);\n    } finally {\n        if (conn) {\n            await conn.close();\n        }\n    }\n})();\n```\n\n## License\n\n[MIT](LICENSE) © [Thiago Delgado Pinto](https://github.com/thiagodp)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagodp%2Fdatabase-js-mssql","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthiagodp%2Fdatabase-js-mssql","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthiagodp%2Fdatabase-js-mssql/lists"}