Entra ID tokens are standard JWT tokens. Any JWT token validation package should work fine and it's recommended, especially for signature validation. Try jsonwebtoken. Also, take a look at Validate tokens.
Let me know if you need additional or more detailed guidance. If the answer was helpful, please accept it and rate it so that others facing a similar issue can easily find a solution.