{"id":18246180,"url":"https://github.com/daniel-boll/scylla-javascript-driver","last_synced_at":"2025-06-11T13:09:19.174Z","repository":{"id":199987715,"uuid":"704734098","full_name":"Daniel-Boll/scylla-javascript-driver","owner":"Daniel-Boll","description":"A ScyllaDB Driver alternative for Nodejs, Javascript and Typescript written using Node API through Rust bindings","archived":false,"fork":false,"pushed_at":"2024-11-11T14:28:04.000Z","size":3842,"stargazers_count":52,"open_issues_count":7,"forks_count":4,"subscribers_count":4,"default_branch":"main","last_synced_at":"2025-05-19T11:08:29.846Z","etag":null,"topics":["hacktoberfest","hacktoberfest-2024","javascript","napi-rs","nodejs","rust","rust-lang","scylladb","scylladb-driver","typescript"],"latest_commit_sha":null,"homepage":"https://www.scylladb.com/","language":"Rust","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/Daniel-Boll.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"zenodo":null},"funding":{"github":["daniel-boll","danielhe4rt","matozinho"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"custom":null}},"created_at":"2023-10-14T00:02:09.000Z","updated_at":"2025-01-30T06:11:49.000Z","dependencies_parsed_at":null,"dependency_job_id":"31ba7303-99ff-43af-99c1-0961708d0975","html_url":"https://github.com/Daniel-Boll/scylla-javascript-driver","commit_stats":null,"previous_names":["daniel-boll/scylladb"],"tags_count":48,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daniel-Boll%2Fscylla-javascript-driver","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daniel-Boll%2Fscylla-javascript-driver/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daniel-Boll%2Fscylla-javascript-driver/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daniel-Boll%2Fscylla-javascript-driver/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Daniel-Boll","download_url":"https://codeload.github.com/Daniel-Boll/scylla-javascript-driver/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Daniel-Boll%2Fscylla-javascript-driver/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259270913,"owners_count":22832086,"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":["hacktoberfest","hacktoberfest-2024","javascript","napi-rs","nodejs","rust","rust-lang","scylladb","scylladb-driver","typescript"],"created_at":"2024-11-05T09:24:51.586Z","updated_at":"2025-06-11T13:09:19.124Z","avatar_url":"https://github.com/Daniel-Boll.png","language":"Rust","funding_links":["https://github.com/sponsors/daniel-boll","https://github.com/sponsors/danielhe4rt","https://github.com/sponsors/matozinho"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\n[![ScyllaDB Unnoficial Discord Server](https://img.shields.io/badge/ScyllaDB_Developers-Discord_Server-4C388C)](https://discord.gg/CzCT4cyRrr)\n\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n  \u003ca href=\"https://github.com/daniel-boll/scylla-javascript-driver\"\u003e\n    \u003cimg src=\"assets/logo.png\" alt=\"Scylla Nodejs Driver\" width=\"640\" /\u003e\n  \u003c/a\u003e\n\n  \u003ch4\u003e🚀 ScyllaDB NodeJS Driver 🧪🔧\u003c/h4\u003e\n\u003c/div\u003e\n\n## ⚠️ Disclaimer ⚠️\n\nThis repository and the associated npm package are currently in a 🐣 pre-release state and are being used for testing 🧪 purposes. They are subject to change without notice 📝. Users are encouraged to use this driver with caution ❗ and not in production environments until the official release.\n\n## 🚀 Getting Started 🚀\n\nThese instructions will get you a copy of the project up and running 🏃 on your local machine for development and testing purposes.\n\n### 📋 Prerequisites 📋\n\n- Docker: We use Docker 🐳 to run the Scylla database easily without the need for a complex local setup.\n- Node.js: Make sure you have Node.js installed on your system to run JavaScript code.\n\n### 🌟 Quickstart 🌟\n\n1. **Start ScyllaDB in Docker:**\n\n   Run a ScyllaDB instance using the following Docker command:\n\n   ```bash\n   docker run --name scylladb -d --rm -it -p 9042:9042 scylladb/scylla --smp 2\n   ```\n\n   This command pulls the Scylla image if it's not already present on your system, and starts a new 🌟 container with the Scylla database.\n\n2. **Use the JavaScript Driver:**\n\n   Here's a simple script to connect to the database and execute a query:\n\n   ```javascript\n   import { Cluster } from \"@lambda-group/scylladb\";\n\n   const cluster = new Cluster({\n     nodes: [\"127.0.0.1:9042\"],\n   });\n\n   const session = await cluster.connect(\"system_schema\");\n\n   const result = await session.execute(\"SELECT * FROM scylla_tables limit ?\", [1]).catch(console.error);\n\n   console.log(result);\n   ```\n\n   This script connects to the ScyllaDB instance running on your machine, performs a query, and logs the result.\n\n### 📥 Installing 📥\n\nTo install this package, use the following command:\n\n```bash\nnpm install @lambda-group/scylladb@latest\n```\n\n## 📚 Examples 📚\n\nReference wise you can guide yourself through the [examples/](https://github.com/Daniel-Boll/scylla-javascript-driver/tree/main/examples) folder in the repo.\n\n## 🙏 Acknowledgments 🙏\n\n- Thanks to the developers of ScyllaDB for creating such a high-performance database.\n- Thanks to the Rust community for providing the robust `scylla` crate.\n- Thanks to the `napi-rs` project for enabling efficient Rust and Node.js integrations.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel-boll%2Fscylla-javascript-driver","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdaniel-boll%2Fscylla-javascript-driver","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdaniel-boll%2Fscylla-javascript-driver/lists"}