How to use Sentry as a library author?


#1

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.


#2

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.


#3

This is great, thanks!