Used to check for browser translation.
用于检测浏览器翻译。
ブラウザの翻訳を検出する

Overview


Note: This library was formerly known as @abtnode/client. The package has been renamed to @blocklet/server-js, and the main client class is now BlockletServerClient.

The @blocklet/server-js package is a JavaScript client library for interacting with the Blocklet Server GraphQL API. It provides a convenient way to read and write data, enabling developers to programmatically manage a Blocklet Server instance from their own applications. This library is universal, designed to work seamlessly in both Node.js backend services and client-side browser applications.

The client acts as an intermediary between your application and Blocklet Server, simplifying the process of sending GraphQL queries and mutations.


Key Features#

Comprehensive API Coverage

Programmatically manage the entire lifecycle of blocklets, users, networking, and more. The client exposes all available GraphQL queries and mutations for full control over Blocklet Server.

Universal Compatibility

A single, isomorphic library that functions identically whether you're working in a Node.js backend or a modern web browser.

Intuitive Interface

A straightforward API for making requests. For instance, listing installed blocklets is as simple as calling `client.listBlocklets()`.

Debugging Support

Includes a built-in debugging mechanism that can be enabled to provide detailed logs for troubleshooting API requests in both Node.js and browser environments.

Who is this for?#

This documentation is for developers, DevOps engineers, and system administrators who need to build integrations or create automation scripts for Blocklet Server.

Next Steps#

Ready to integrate? Follow our Getting Started guide to install the client and make your first API call.