Skip to content

Latest commit

 

History

History
34 lines (24 loc) · 1.91 KB

README.md

File metadata and controls

34 lines (24 loc) · 1.91 KB

JSR sourcehut GitHub mirror

builds.sr.ht status

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");