clients/js/examples/node/README.md
This is an example of how to use ChromaDB with Node.js.
http://localhost:8000pnpm install to install dependenciespnpm dev - Run the example with the default bundled packagepnpm dev:bundled - Run the example with the bundled chromadb packagepnpm dev:client - Run the example with the chromadb-client package (peer dependencies)This example demonstrates both ChromaDB package options:
chromadb (Bundled Package): Includes all embedding libraries as dependencies.
const chroma = require("chromadb");chromadb-client (Client Package): Uses peer dependencies.
const chroma = require("chromadb-client");Both packages provide identical functionality and API.