Userhut JavaScript library
npm install --save userhut<script src="https://unpkg.com/userhut@latest"></script>import Userhut from "userhut";
const userhut = new Userhut("your-user-pool-id");
await userhut.initialize();const authenticated = await userhut.getAuthenticated();const token = await userhut.getToken();await userhut.signOut();userhut.openSignInPage({
redirect: window.location.href
});- pre-commit: re-format staged files with Prettier
# Build for production
npm run build
# Re-format files with Prettier
npm run prettier