There's no maintained #ActivityPub library for #JavaScript. I'll have to implement my own...
@sirber83@fosstodon.org that's not true! There is Fedify! @hongminhee@hollo.social
There's also the helper lib that NodeBB uses, although that's baked in core.
I'm happy to split this out into an npm module if there is interest though!
If you have a fediverse account, you can quote this note from your own instance. Search https://activitypub.space/post/616 on your instance and quote it. (Note that quoting is not supported in Mastodon.)