Is it possible to use @bitwarden jslib to write own node application?

I see the jslib package is deprecated and user just for internal project. What I’d like to achieve is to write own application which will log and retrieve a secret from bitwarden. So I’d like to use eg authService.login(). Wonder if there may be any examples available