Typescript sdk sample code for obtaining bearer token, non-browser

I’ve got an auth0-protected backend. Believe it’s using the authorization_code flow. It has a complementary browser-based frontend. Code base is typescript.

I’d like to interact with the BE directly from a node program, without a browser. For this, I’d obtain a bearer token and use it to call on the backend.

Would appreciate someone referring me to a relevant auth0 sample that does that.

thank you.