UNPKG

hd-utils

Version:

A handy utils for modern JS developers

7 lines (6 loc) 265 B
/** * @description The function takes a JWT token and returns the decoded payload as a JSON object. * @param {string} token - The JWT token that you want to parse. * @returns The JSON payload of the JWT. */ export default function parseJwt(token: string): any;