How to use Sentry as a library author?

This question is for Javascript
I see that there’s the minimal package,

but this requires the application to be using the Sentry SDK. Is it possible to use Sentry for a library only?

Manual repoting is ok.

Hey, so this works something like this:

You have to manage your own Hub + create your own Client.
Also, the client supports integrations in case you want to use any of them.

Hope this helps.

This is great, thanks!