🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@authon/create-app

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@authon/create-app

Create a new project with Authon authentication pre-configured

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
4
300%
Maintainers
1
Weekly downloads
 
Created
Source

create-authon-app

Scaffold a new project with Authon authentication pre-configured.

Usage

npx create-authon-app

Non-interactive

npx create-authon-app my-app --template nextjs-app --yes

Templates

TemplateFrameworkSDK
nextjs-appNext.js (App Router)@authon/nextjs
nextjs-pagesNext.js (Pages Router)@authon/nextjs
react-viteReact + Vite@authon/react
vue-viteVue 3 + Vite@authon/vue
nuxtNuxt 3@authon/vue
svelteSvelteKit@authon/svelte
expressExpress.js@authon/node
nodePlain Node.js@authon/node

What's included

Each generated project includes:

  • Framework-specific configuration
  • Authon authentication setup (provider, middleware)
  • Landing page with sign-in
  • Protected dashboard page
  • Server-side token verification (where applicable)
  • .env.example with Authon configuration
  • CLAUDE.md for AI agent context

Options

-t, --template <template>  Use a specific template (skip framework prompt)
-y, --yes                  Skip prompts and use defaults
-h, --help                 Show help
-v, --version              Show version

License

MIT

Keywords

authon

FAQs

Package last updated on 20 Mar 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts