pg-smart-search
Getting Started

Installation

How to install pg-smart-search in your Node.js or TypeScript project using npm, yarn, or pnpm.

Installation

Before installing pg-smart-search, ensure your environment meets the prerequisites.

Prerequisites

  • Node.js 18.x or later
  • PostgreSQL 12.x or later
  • An existing PostgreSQL adapter (e.g., pg, postgres, drizzle-orm)

Install the Package

bash npm install pg-smart-search
bash yarn add pg-smart-search
bash pnpm add pg-smart-search

Install Peer Dependencies

If you havent already, install your database driver:

bash npm install pg
bash yarn add pg
bash pnpm add pg

Next, proceed to the Quick Start to configure your first search engine.