Version 0.9.5

PaveDB TypeScript Client Examples

Each example is a single Node >= 20 script; point it at any PaveDB with your tenant key.

Complete example: examples/1-hello-search.mjs

PAVEDB_BASE_URL=http://127.0.0.1:8086 PAVEDB_API_KEY=pv_... \
  PAVEDB_TENANT=book node examples/1-hello-search.mjs

2-metadata-filters

Complete example: examples/2-metadata-filters.mjs

PAVEDB_BASE_URL=http://127.0.0.1:8086 PAVEDB_API_KEY=pv_... \
  PAVEDB_TENANT=book node examples/2-metadata-filters.mjs

3-inspect-what-you-stored

Complete example: examples/3-inspect-what-you-stored.mjs

PAVEDB_BASE_URL=http://127.0.0.1:8086 PAVEDB_API_KEY=pv_... \
  PAVEDB_TENANT=book node examples/3-inspect-what-you-stored.mjs

4-health-and-admin

Complete example: examples/4-health-and-admin.mjs

PAVEDB_BASE_URL=http://127.0.0.1:8086 PAVEDB_API_KEY=pv_... \
  PAVEDB_TENANT=book node examples/4-health-and-admin.mjs