Indexbind

Use this skill when the task is about using indexbind from a host application or environment.

Usage examples

Install

Install the package:

npm install indexbind

Optional global install when the goal is using indexbind as a shell command from arbitrary directories:

npm install -g indexbind

Then use either:

Platform notes:

Install and packaging docs:

Choose the right interface

API docs:

Choose the artifact

Concepts:

Common commands

Typical CLI commands:

Use indexbind/build instead when the host already has documents in memory or wants tighter control from code.

Index-scoped conventions

When one indexed root only needs a small amount of host-specific behavior, place convention files beside that root:

docs/
  indexbind.build.js
  indexbind.search.js
  .indexbind/

Use indexbind.build.js when the default directory scanner is already correct and you only need to:

Use indexbind.search.js when CLI or Node search should automatically apply:

These convention files are index-scoped, not repo-global:

Common APIs

Use these APIs when the host already has documents or wants tighter control:

Docs:

Cloudflare rule

Inside Cloudflare Workers:

Docs:

Read in this order when unsure

  1. https://indexbind.jolestar.workers.dev/guides/getting-started.md
  2. https://indexbind.jolestar.workers.dev/reference/api.md
  3. https://indexbind.jolestar.workers.dev/reference/cli.md
  4. https://indexbind.jolestar.workers.dev/guides/web-and-cloudflare.md