JSPM

  • Created
  • Published
  • Downloads 2619851
  • Score
    100M100P100Q208962F
  • License MIT

Library for accessing the Anthropic API

Package Exports

    This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@anthropic-ai/sdk) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

    Readme

    Anthropic TypeScript SDK

    This package provides access to Anthropic's safety-first language model APIs.

    For more information on our APIs, please check the confidential documentation portal.

    Getting started

    Examples are available in the examples/ folder.

    To get started, install dependencies, set your API key, and run one of the package.json scripts:

    yarn
    export ANTHROPIC_API_KEY=<insert token here>
    yarn example:basic_stream
    yarn example:basic_sync