Hoody SDK
@hoody-ai/hoody-sdk @ 3.2.0About
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
- /versions — all published versions
- /manifest.json — role manifest (JSON)
- /latest — 302 to the latest version
Other artifacts in this realm
- Hoody CLI (native) — single-binary CLI; install via shell script (no Node.js required) (
install.hoody.com) - Hoody CLI (npm) — JavaScript CLI runner — `bunx hoody-cli@…` (
cli.hoody.com)