Typescript / Javascript Clients?

35 views
Skip to first unread message

Colton L

unread,
Jul 13, 2025, 5:33:23 PMJul 13
to OPDS
Hi all,

I am new to the opds spec and was looking around for a Javascript/Typescript client library so I don't reinvent the wheel if it already exists.

I was wondering if anyone has experience using https://github.com/NYPL-Simplified/opds-web-client or has recommendations for another similar client library. The former has no live demo application that is straightforward to build and I have some issues using it in a demo application due to its old node dependencies. I am not sure its maintenance status.

Honestly, even a typescript type describing the json is probably sufficient as, from what I understand from the spec, it is fairly straightforward. 

Regards
Colton


Hadrien Gardeur

unread,
Jul 14, 2025, 4:30:58 AMJul 14
to OPDS
Hello,

Are you targeting exclusively OPDS 2.0?

Best,
Hadrien

Colton L

unread,
Jul 15, 2025, 7:06:11 PMJul 15
to ope...@googlegroups.com
Either one would work fine for me! I assumed I would use 1.X since it seems 2.0 is a draft. 

Regards
Colton 

--
--
You received this message because you are subscribed to the Google
Groups "OPDS" group.
 
To post to this group, send email to ope...@googlegroups.com
To unsubscribe from this group, send email to
openpub+u...@googlegroups.com
 
For more options, visit this group at
http://groups.google.com/group/openpub?hl=en
---
You received this message because you are subscribed to the Google Groups "OPDS" group.
To unsubscribe from this group and stop receiving emails from it, send an email to openpub+u...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/openpub/e072bb7f-949a-430c-8e26-ee62a672b5f1n%40googlegroups.com.

Hadrien Gardeur

unread,
Jul 16, 2025, 11:26:23 AMJul 16
to OPDS
I would recommend using 2.0. It's been stable for many years now, it's what most organizations use in production and we're planning to convert it into a full spec in the near future.

If you're looking for a TypeScript parser, you can take a look at what Thorium Desktop uses: https://github.com/edrlab/r2-opds-js

The Readium TypeScript Toolkit (https://github.com/readium/ts-toolkit) will eventually have an OPDS parser as well, but there's no ETA yet. It's not missing much for OPDS 2.0 since RWPM and OPDS 2.0 share essentially the same model.

Colton L

unread,
Jul 18, 2025, 7:20:24 PMJul 18
to ope...@googlegroups.com
Sounds good thank you very much for that info! 

Regards
Colton 

Reply all
Reply to author
Forward
0 new messages