@gradientai/nodejs-sdk
TypeScript icon, indicating that this package has built-in type declarations

1.12.1 • Public • Published

Gradient AI SDK for JavaScript

A JavaScript client with TypeScript types definitions for gradient

npm version

Installation

npm install --save @gradientai/nodejs-sdk

Usage

Refer to SDK quickstart page for more examples. The gradient-sdk-typescript-example repository has a complete working example!

import { Gradient } from "@gradientai/nodejs-sdk";

const gradient = new Gradient({});
const models = await gradient.listModels();

See the complete list of endpoints in the API reference.

Requirements

This package requires NodeJS at least in version 18.

Getting help

To report issues with the SDK, it is possible to submit an issue in the package repo.

Package Sidebar

Install

npm i @gradientai/nodejs-sdk

Weekly Downloads

510

Version

1.12.1

License

MIT

Unpacked Size

666 kB

Total Files

144

Last publish

Collaborators

  • atmiguel-gradient
  • briangradient
  • chris.chang
  • dezgradient
  • matehal