passport-twitch
passport-twitch copied to clipboard
Updates to the newest Twitch API
Description
This package is outdated and no longer works with the newest Twitch API, there have been attempts in the past to update this package, but have yet to be merged, so here is my attempt. I have updated the code and now works perfectly with the new API with some extra changes such as more profile information such as view count, bio and images.
I have also created a new class to replace the deprecated util.inherits
and updated all dependencies including requiring a minimum version of Node17 as it uses the inbuilt fetch API
Changes
Updated URL's to fit new twitch API Implemented standard fetch Added clientID to headers Updated comments Updated dependencies