@happykit/auth-email
Version:
- A `useAuth` hook which returns the current user - An optional `getServerSideAuth` for server-side rendering - HappyAuth is tiny - it adds only 4.6 kB to the first load JS - it adds less than 0.04 kB if you're transitioning from another page - Extremely
10 lines (7 loc) • 341 B
JavaScript
// This file is necessary since the cli needs executable permissions (chmod +x).
// TypeScript will not keep the executable permissions during compilation.
//
// Tihs file is executable (chmod +x) and is never touched by TypeScript.
// This allows us to use TypeScript to build the CLI.
require("./dist-cli/index.js")