npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

create-hamsu-app

v1.3.1

Published

Next 14 + React 18 + MUI v5 + Emotion SSR + (public)/(admin) 템플릿 스캐폴딩 CLI

Readme

create-hamsu-app

🚀 Next.js 14 + React 18 + MUI v6 + Emotion SSR 기반의 웹 애플리케이션 스캐폴딩 CLI 도구입니다.

✨ 주요 특징

  • Next.js 14 - 최신 App Router와 서버 컴포넌트 지원
  • React 18 - 최신 React 기능과 동시성 렌더링
  • MUI v6 - Material Design 기반의 완성도 높은 UI 컴포넌트
  • Emotion SSR - 서버 사이드 렌더링을 위한 스타일링 솔루션
  • TypeScript - 타입 안전성과 개발자 경험 향상
  • 관리자 패널 - (public)(admin) 라우트 구조로 분리된 템플릿
  • 호환성 최적화 - 모든 라이브러리가 Next.js 14와 완벽 호환

🚀 빠른 시작

1. CLI 도구 설치

npm install -g create-hamsu-app

2. 프로젝트 생성

create-hamsu-app
```4

프로젝트 이름을 입력하면 자동으로 모든 설정이 완료됩니다.

### 3. 프로젝트 실행

```bash
cd [프로젝트명]
npm run dev

🏗️ 프로젝트 구조

[프로젝트명]/
├── app/
│   ├── (public)/          # 공개 페이지
│   │   └── page.tsx      # 랜딩 페이지
│   ├── (admin)/          # 관리자 페이지
│   │   ├── admin/
│   │   │   ├── layout.tsx # 관리자 레이아웃
│   │   │   ├── page.tsx   # 대시보드
│   │   │   ├── posts/     # 게시물 관리
│   │   │   └── users/     # 사용자 관리
│   │   └── layout.tsx
│   ├── globals.css
│   └── layout.tsx        # 루트 레이아웃
├── components/
│   ├── MUIThemeRegistry.tsx # MUI 테마 레지스트리
│   └── AdminSidebar.tsx     # 관리자 사이드바
├── theme.ts               # MUI 테마 설정
└── tsconfig.json         # TypeScript 설정

📦 포함된 라이브러리

핵심 프레임워크

UI & 스타일링

  • @mui/material@^6 - Material-UI v6
  • @mui/icons-material@^6 - Material 아이콘
  • @emotion/react@^11 - Emotion React
  • @emotion/styled@^11 - Emotion Styled

폼 & 검증

  • react-hook-form - 폼 상태 관리
  • zod - 스키마 검증
  • @hookform/resolvers - React Hook Form + Zod 연동

데이터 관리

  • @tanstack/react-query - 서버 상태 관리
  • zustand - 클라이언트 상태 관리
  • axios - HTTP 클라이언트

MUI 확장 컴포넌트

  • @mui/x-data-grid - 데이터 그리드
  • @mui/x-date-pickers - 날짜 선택기

인증 & SEO

  • next-auth - 인증 시스템
  • next-seo - SEO 최적화
  • next-sitemap - 사이트맵 생성

개발 도구

  • eslint@^8.57.0 - ESLint 8 (Next.js 14와 완벽 호환)
  • eslint-config-next@^14.2.0 - Next.js 14 ESLint 설정
  • prettier - 코드 포맷팅
  • vitest - 테스트 프레임워크
  • @testing-library/react - React 테스트

🎨 MUI 테마 설정

프로젝트에는 CSS 변수를 활용한 다크/라이트 모드 지원과 한국어 폰트가 포함된 MUI 테마가 미리 설정되어 있습니다.

// theme.ts
const theme = createTheme({
  cssVariables: true,
  colorSchemes: { light: true, dark: true },
  typography: {
    fontFamily: ['Inter', 'Pretendard', 'system-ui', 'sans-serif'].join(','),
  },
  components: {
    MuiButton: { defaultProps: { variant: 'contained' } },
  },
});

🔧 TypeScript 설정

@/* 경로 별칭이 자동으로 설정되어 있어 컴포넌트 import가 간편합니다.

🛠️ 개발 도구

프로젝트에는 다음과 같은 개발 도구가 포함되어 있습니다:

npm run lint        # 코드 품질 검사
npm run lint:fix    # 코드 품질 자동 수정
npm run format      # 코드 포맷팅
npm run type-check  # TypeScript 타입 검사
// tsconfig.json
{
  "compilerOptions": {
    "paths": {
      "@/*": ["./*"]
    }
  }
}

📱 반응형 디자인

MUI의 Grid 시스템과 반응형 컴포넌트를 활용하여 모든 디바이스에서 최적화된 사용자 경험을 제공합니다.

🔒 보안 및 안정성

  • 자동 보안 취약점 해결: npm audit fix 자동 실행
  • 호환성 최적화: Next.js 14와 완벽 호환되는 패키지 버전 사용
  • ESLint 8: Next.js 14와 안정적으로 호환되는 코드 품질 도구
  • TypeScript 5.3: ESLint 7과 완벽 호환되는 버전 사용
  • Tailwind CSS 제거: MUI와의 충돌 방지를 위한 자동 정리
  • 타입 안전성: any 타입 사용 최소화 및 엄격한 타입 검사

🚀 배포

Vercel (권장)

npm run build
vercel --prod

기타 플랫폼

npm run build
npm start

🤝 기여하기

  1. 이 저장소를 포크합니다
  2. 새로운 기능 브랜치를 생성합니다 (git checkout -b feature/amazing-feature)
  3. 변경사항을 커밋합니다 (git commit -m 'Add some amazing feature')
  4. 브랜치에 푸시합니다 (git push origin feature/amazing-feature)
  5. Pull Request를 생성합니다

📄 라이선스

이 프로젝트는 MIT 라이선스 하에 배포됩니다. 자세한 내용은 LICENSE 파일을 참조하세요.

📞 지원

문제가 있거나 질문이 있으시면 Issues를 통해 문의해 주세요.