Skip to content

WorksProvider ​

Import from: @xbbg/xnews, @xbbg/xnews/catalog

WorksProvider = "annas-archive" | "internet-archive" | "libgen" | "open-library"

Defined in: src/types.ts (declaration: types.d.ts:447)

Built-in works providers. The works lane is bibliographic catalog lookup: news providers answer with dated documents and data providers with dated rows, but a works provider answers a query with catalog records that carry no release date and have no natural time ordering. Neither lane's machinery fits, so the works lane has its own (see src/works.ts).

annas-archive and libgen are mirror-based: they dial only origins the caller supplies (see src/mirrors.ts). internet-archive and open-library have stable official APIs and carry their own origin.

Last updated:

xbbg is independent open-source software and is not affiliated with, endorsed by, sponsored by, or approved by Bloomberg Finance L.P.