Developer Documentation

Everything you need to integrate with Lifestream Vault

Quick Start

Get started with the SDK in minutes:

Install the SDK

bash
npm install @lifestreamdynamics/vault-sdk

Basic Usage

typescript
import { LifestreamVaultClient } from '@lifestreamdynamics/vault-sdk';

const client = new LifestreamVaultClient({
  baseUrl: 'https://api.example.com',
  apiKey: 'lsv_k_...',
});

// List vaults
const vaults = await client.vaults.list();

// Create a document
await client.documents.create({
  vaultId: 'vault-id',
  path: 'notes/hello.md',
  content: '# Hello World',
});