UNPKG

scriptures-byu-edu-http-client

Version:

TypeScript SDK for querying the BYU Scripture Citation Index API (for Bun)

26 lines (19 loc) 588 B
# scriptures-byu-edu-http-client TypeScript SDK for querying the BYU Scripture Citation Index API using Bun. ## Features - Type-safe URL builder for the Citation Index API - Source flags and validation - Lucene query helper - HTTP client for fetching results - Pagination support ## Usage ```ts import { buildCitationIndexUrl } from "./src/urlBuilder"; import { fetchCitationResults } from "./src/client"; // Example usage will be added after implementation ``` --- ## Development - Requires [Bun](https://bun.sh/) and TypeScript - Run `bun build` to build - Run `bun test` to test