This repo contains an npm library implementing utilities to extract jwt tokens from request instances and verify the token once extracted.
npm install @cr-ste-justine/jwt
See the comments in the index.js file for documentation on each function.
For usage, look at the tests in tests/index.js.