npm install vue-jwt-decode> Tiny JWT decoder for Vue.js
```
npm install vue-jwt-decode
`
import VueJwtDecode from 'vue-jwt-decode'
// like this
VueJwtDecode.decode("
// or like this
Vue.use(VueJwtDecode)
Vue.jwtDec("
// or in component
this.$jwtDec("
`
The lib is so tiny it doesn't have any error handling. You'll need to try - catch` by yourself.