# Cbjs > A modern Couchbase SDK for Node.js & TypeScript, drop-in replacement for the official `couchbase` package. Cbjs is built on top of the official Couchbase Node.js SDK and ships the same native binary. It adds inferred return types for KV operations, document path autocompletion, typed keyspaces, chainable sub-document operations and vitest fixtures for integration tests. ## Table of Contents ### Guide - [Why Cbjs | Guide](https://cbjs.dev/guide/why.md): Why Cbjs exists, how it compares to the official Couchbase Node.js SDK, and why you can rely on it. - [Getting Started | Guide](https://cbjs.dev/guide.md): Install Cbjs, the Couchbase SDK for Node.js and TypeScript, and connect to your cluster. - [Migrate from couchbase | Guide](https://cbjs.dev/guide/migrate.md): Replace the official Couchbase Node.js SDK with Cbjs in a few minutes. Same native binary, same API, plus TypeScript inference. - [Features | Guide](https://cbjs.dev/guide/features.md): Inferred KV return types, document path autocompletion, chainable sub-document operations and more Couchbase features for TypeScript. - [Cluster Types | Guide](https://cbjs.dev/guide/cluster-types.md): Describe your Couchbase buckets, scopes, collections and documents once, get type safety and autocompletion everywhere. - [Runtime Validation | Guide](https://cbjs.dev/guide/runtime-validation.md): Pair Cluster Types with Zod, ArkType or Valibot schemas, and use a lint rule to catch the writes where the validation was forgotten. - [Utilities](https://cbjs.dev/guide/utilities.md) - [Observability | Guide](https://cbjs.dev/guide/observability.md) - [AWS Lambda | Guide](https://cbjs.dev/guide/lambda.md) - [FAQ](https://cbjs.dev/guide/faq.md): Answers about Cbjs, the Couchbase SDK for Node.js and TypeScript. Compatibility with the official library, migration and testing. #### Services - [KeyValue Service | Guide](https://cbjs.dev/guide/services/kv.md) - [Query Service | Guide](https://cbjs.dev/guide/services/query.md) #### HTTP Client - [Setup | HTTP Client](https://cbjs.dev/guide/http-client.md) - [Actions - Couchbase HTTP Client](https://cbjs.dev/guide/http-client/actions.md) - [Wait For - Couchbase HTTP Client](https://cbjs.dev/guide/http-client/wait-for.md) #### Deploy - [Introduction | Deploy Couchbase Cluster](https://cbjs.dev/guide/deploy.md) - [Keyspace changes | Deploy Couchbase Cluster](https://cbjs.dev/guide/deploy/cluster-config.md) ### Other - [How to write tests with Couchbase](https://cbjs.dev/guide/test-with-couchbase.md): How to write reliable integration tests against Couchbase, and avoid the flakiness caused by its asynchronous provisioning. - [KeyValue Service advanced mechanisms](https://cbjs.dev/guide/services/kv-advanced.md) - [Node Failure](https://cbjs.dev/guide/node-failure.md) - [Runtime changes | Guide](https://cbjs.dev/guide/runtime-changes.md)