@stacksjs/search-engine
TypeScript icon, indicating that this package has built-in type declarations

0.61.20 • Public • Published

Stacks Search Engine

The Stacks Search Engine is a unified driver system to easily interact with search engines.

☘️ Features

  • 🔎 Advanced searching
  • 🎯 Filtering support
  • 📚 Pagination support
  • ⬇️ Sorting support
  • 🚘 Driver based
  • ⚡️ Meilisearch support
  • 💀 Headless functions & components

TODO

  • [ ] Driver: Algolia
  • [ ] Driver: TypeSense

🤖 Usage

bun install -d @stacksjs/search-engine

You may now use:

import { useSearchEngine } from '@stacksjs/search-engine'

const client = useSearchEngine()
const index = client.index(name)
const results = client.search('Hello World')

Learn more in the docs.

🧪 Testing

bun test

📈 Changelog

Please see our releases page for more information on what has changed recently.

🚜 Contributing

Please review the Contributing Guide for details.

🏝 Community

For help, discussion about best practices, or any other conversation that would benefit from being searchable:

Discussions on GitHub

For casual chit-chat with others using this package:

Join the Stacks Discord Server

📄 License

The MIT License (MIT). Please see LICENSE for more information.

Made with 💙

Package Sidebar

Install

npm i @stacksjs/search-engine

Weekly Downloads

318

Version

0.61.20

License

MIT

Unpacked Size

1.24 MB

Total Files

8

Last publish

Collaborators

  • chrisbreuer