i found some code example here , is it possible to adapt it to your library?
Fell free to send a PR implementing this feature! Cheers