Skip to main content
Deno 2 is finally here 🎉️
Learn more

JSR sourcehut GitHub mirror

OpenLibrary API client

API client for OpenLibrary’s API for searching books, authors etc.

Installation

deno add @timharek/openlibrary
# or using NPM
npx jsr add @timharek/openlibrary
# or using Bun
bunx jsr add @timharek/openlibrary

Examples

import { book } from "jsr:@timharek/openlibrary";

const result = await book.get("OL17914663W");
import { book } from "jsr:@timharek/openlibrary";

const result = await book.search("All Systems Red");