Hoody SDK

@hoody-ai/hoody-sdk @ 3.2.0

About

JavaScript/TypeScript library for the Hoody platform. Import the SDK in your application code to call the API programmatically. The package ALSO ships the `hoody` CLI as a `bin` entry, so `bunx @…/sdk` will launch the CLI; for CLI-only use, prefer the standalone CLI package on the Other Artifacts list below.

Run via npm

npx https://sdk.hoody.com

Run via pnpm

pnpm dlx https://sdk.hoody.com

Run via bun

bunx @hoody-ai/hoody-sdk@https://sdk.hoody.com/3.2.0/hoody-ai-hoody-sdk-3.2.0.tgz

Run via yarn (berry)

yarn dlx @hoody-ai/hoody-sdk@https://sdk.hoody.com/3.2.0/hoody-ai-hoody-sdk-3.2.0.tgz

Install (pinned version)

npm i @hoody-ai/hoody-sdk@https://sdk.hoody.com/3.2.0/hoody-ai-hoody-sdk-3.2.0.tgz

Import in code

// TypeScript / ES modules
import { Hoody } from '@hoody-ai/hoody-sdk';

const hoody = new Hoody({ apiKey: process.env.HOODY_API_KEY });
const me = await hoody.auth.whoami();
console.log(me);

Browser (script tag)

<!-- ES module (modern browsers) -->
<script type="module">
import { Hoody } from "https://sdk.hoody.com/3.2.0/hoody-sdk.browser.esm.js";
const hoody = new Hoody({ apiKey: "…" });
</script>

<!-- UMD/IIFE (legacy, exposes window.Hoody) -->
<script src="https://sdk.hoody.com/3.2.0/hoody-sdk.browser.min.js"></script>

Both bundles are hash-pinned in this version's signed SHA256SUMS; bytes are immutable per-version. Open CORS so they load from any origin. For npm-style integration in a bundled project, use the import example above instead.

Browse

Other artifacts in this realm