{"id":19331978,"url":"https://github.com/tikv/client-node","last_synced_at":"2025-04-22T23:32:37.017Z","repository":{"id":46719865,"uuid":"387440172","full_name":"tikv/client-node","owner":"tikv","description":null,"archived":false,"fork":false,"pushed_at":"2021-09-28T16:40:49.000Z","size":86,"stargazers_count":12,"open_issues_count":1,"forks_count":5,"subscribers_count":14,"default_branch":"master","last_synced_at":"2025-04-02T05:11:27.134Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tikv.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}},"created_at":"2021-07-19T11:27:07.000Z","updated_at":"2025-02-20T23:41:37.000Z","dependencies_parsed_at":"2022-07-22T01:48:17.345Z","dependency_job_id":null,"html_url":"https://github.com/tikv/client-node","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/tikv%2Fclient-node","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikv%2Fclient-node/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikv%2Fclient-node/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tikv%2Fclient-node/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tikv","download_url":"https://codeload.github.com/tikv/client-node/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250340474,"owners_count":21414557,"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-11-10T02:43:20.868Z","updated_at":"2025-04-22T23:32:36.716Z","avatar_url":"https://github.com/tikv.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# client-node\n\n**client-node:** A TiKV client in Node.js.\n\nThis project was bootstrapped by [create-neon](https://www.npmjs.com/package/create-neon).\n\n## Installing client-node\n\nInstalling client-node requires a [supported version of Node and Rust](https://github.com/neon-bindings/neon#platform-support).\n\nYou can install the project with npm. In the project directory, run:\n\n```sh\n$ npm install\n```\n\nThis fully installs the project, including installing any dependencies and running the build.\n\n## Building client-node\n\nIf you have already installed the project and only want to run the build, run:\n\n```sh\n$ npm run build\n```\n\nThis command uses the [cargo-cp-artifact](https://github.com/neon-bindings/cargo-cp-artifact) utility to run the Rust build and copy the built library into `./index.node`.\n\n## Exploring client-node\n\nAfter building client-node, you can explore its exports at the Node REPL:\n\n```sh\n$ npm install\n$ node transaction_app.js\nv4\nv3\n[ 'k1', 'v1' ]\n[ 'k4', 'v4' ]\n```\n\n## Available Scripts\n\nIn the project directory, you can run:\n\n### `npm install`\n\nInstalls the project, including running `npm run build`.\n\n### `npm build`\n\nBuilds the Node addon (`index.node`) from source.\n\n### `npm test`\n\nRuns the unit tests by calling `cargo test`. You can learn more about [adding tests to your Rust code](https://doc.rust-lang.org/book/ch11-01-writing-tests.html) from the [Rust book](https://doc.rust-lang.org/book/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftikv%2Fclient-node","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftikv%2Fclient-node","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftikv%2Fclient-node/lists"}