New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@atomstate/atomstate-client

Package Overview
Dependencies
Maintainers
0
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@atomstate/atomstate-client

This package represents the JS SDK for the Atomstate vector search engine.

latest
npmnpm
Version
1.1.1
Version published
Maintainers
0
Created
Source

Atomstate-JS: JavaScript Atomstate SDK

This package represents the JS SDK for the Atomstate vector search engine.

The next packages are re-exported from it:

  • JS Client REST
  • JS Client gRPC

Installation

yarn i @atomstate/atomstate-client
# or
npm install @atomstate/atomstate-client
# or
yarn add @atomstate/atomstate-client

Usage

The REST client is imported from the root path; the gRPC is imported from the /grpc subpath:

import {AtomstateClient} from '@atomstate/atomstate-client'; // REST client
import {AtomstateClient} from '@atomstate/atomstate-client/grpc'; // gRPC client

Begin with the REST (OpenAPI-based) client for easier debugging. Once your APIs are stable, switch to gRPC for better performance. Remember, REST can match or surpass gRPC for smaller requests, while gRPC is more efficient for larger data transfers.

Contributing

These are the most relevant scripts for development:

  • yarn build: builds and bundles from TypeScript sources
  • yarn pre-check: type-checks sources
  • yarn pre-commit: same as pre-check, but for git hooks (husky)

FAQs

Package last updated on 16 Oct 2024

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts