This class is a utility that allows obtaining the locally hosted access token from surge.sh
npm install git+https://github.com/thebr0k3r/surge-tokenyarn add git+https://github.com/thebr0k3r/surge-tokenimport SurgeToken from "surge-token";
const surge = await SurgeToken.create()
surge.getAuthToken()
surge.getCredentials()