Awesome ClickHouseJavaScript/Typescript

ClickHouse/clickhouse-js

⭐ 331 TypeScript repository created 2022-07-25

The ClickHouse JS client is the official JavaScript client for the ClickHouse database, designed to provide seamless integration and interaction with ClickHouse from JavaScript environments. This client is written entirely in TypeScript and is rigorously tested against actual ClickHouse versions to ensure reliability and performance. The project is structured into three main packages to cater to different runtime environments and use cases. The first package, `@clickhouse/client`, is tailored for Node.js platforms and leverages Node.js's HTTP and Stream APIs to support streaming capabilities for both data selection and insertion operations. The second package, `@clickhouse/client-web`, is designed for web environments, utilizing the Fetch API and Web Streams API to enable streaming for data selection. This package is compatible with modern browsers like Chrome and Firefox, as well as CloudFlare workers, making it versatile for various web-based applications. The third package, `@clickhouse/client-common`, contains shared types and the foundational framework necessary for building custom client implementations, promoting extensibility and customization. Comprehensive documentation is available on the ClickHouse website, providing detailed guidance on using the client effectively. Additionally, the project offers a wide range of usage examples that demonstrate various scenarios and best practices for interacting with ClickHouse through this client. The repository also encourages community engagement and support through a dedicated Slack channel and GitHub issues, fostering collaboration and assistance. Overall, the ClickHouse JS client is a robust, well-maintained, and versatile tool that facilitates efficient and effective communication with ClickHouse databases from JavaScript environments, supporting both server-side and client-side applications with streaming capabilities and extensible architecture.

https://github.com/ClickHouse/clickhouse-js

clickhouseclickhouse-integrationclient-sidecloudflare-workerscustom-clientdatabase-clientextensiblefetch-apihttphttp-apihttpsjavascriptjavascript-clientnode.jsnodejsopen-sourceserver-sidestream-apistreamingtypescriptweb-streams-api

Also in JavaScript/Typescript

TimonKK/clickhouse

A NodeJS client for ClickHouse enabling query execution, streaming, session management, and data insertion over HTTP interface.

apla/node-clickhouse

A Node.js driver providing a simple and powerful interface to interact with the ClickHouse database, supporting efficient query execution and bulk data loading.