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

@caominhhung1991/catering

v0.1.36

Published

Thư viện React TypeScript cho hệ thống quản lý catering, cung cấp các components và utilities để xây dựng ứng dụng quản lý nhà hàng/catering.

Readme

@caominhhung1991/catering

Thư viện React TypeScript cho hệ thống quản lý catering, cung cấp các components và utilities để xây dựng ứng dụng quản lý nhà hàng/catering.

📖 Giới thiệu

Đây là một thư viện React TypeScript được xây dựng với TSDX, cung cấp:

  • Components UI tái sử dụng cho hệ thống catering
  • Utilities và hooks hỗ trợ phát triển
  • Services tích hợp Firebase
  • State management với Redux Toolkit
  • Hỗ trợ quản lý menu, kho, tài khoản, báo cáo

🚀 Cài đặt

npm install @caominhhung1991/catering
# hoặc
yarn add @caominhhung1991/catering

💻 Yêu cầu hệ thống

  • Node.js >= 10
  • React >= 16.9.0
  • React DOM >= 16.9.0

📁 Cấu trúc dự án

src/
├── account-section/          # Quản lý tài khoản người dùng
├── admin-section/           # Phần quản trị hệ thống
├── app-setting-section/     # Cài đặt ứng dụng
├── catering-utils/          # Utilities riêng cho catering
├── components/              # UI Components tái sử dụng
├── datetime-section/        # Components xử lý ngày tháng
├── doanh-thu-section/       # Quản lý doanh thu
├── estimated-material/      # Dự trù nguyên liệu
├── feature-permission/      # Phân quyền tính năng
├── hooks/                   # Custom React hooks
├── image-section/           # Quản lý hình ảnh
├── inventory-section/       # Quản lý kho
├── layouts/                 # Layout components
├── nhan-su-section/        # Quản lý nhân sự
├── planed-menu/            # Lập kế hoạch thực đơn
├── provider/               # Context providers
├── report-section/         # Báo cáo
├── services/               # API services
├── sheet-section/          # Xử lý Excel
├── so-ba-buoc-section/     # Quy trình 3 bước
├── styles/                 # Styles và themes
├── table-section/          # Table components
├── tag-view-section/       # Tag view components
├── types/                  # TypeScript type definitions
├── upload-excel/           # Upload Excel files
└── utils/                  # Utility functions

🛠️ Phát triển

# Khởi chạy development mode
npm start

# Build thư viện
npm run build

# Chạy tests
npm test

# Lint code
npm run lint

# Publish package
npm run hung

📦 Build Output

  • dist/catering.cjs.development.js - CommonJS development build
  • dist/catering.cjs.production.min.js - CommonJS production build (minified)
  • dist/catering.esm.js - ES Module build
  • Type definitions trong các file .d.ts

🧪 Testing

Dự án sử dụng Jest với TSDX để testing:

npm test

📝 Scripts

  • start - Watch mode development
  • build - Build production
  • test - Run tests
  • lint - Lint code
  • prepare - Pre-publish build
  • hung - Version bump và publish

🏗️ Tech Stack

  • Framework: React + TypeScript
  • Build Tool: TSDX
  • State Management: Redux Toolkit
  • UI Library: Ant Design
  • Database: Firebase
  • Styling: Emotion
  • Utils: Lodash, Moment, Math.js

📄 License

MIT

👤 Tác giả

Cao Minh Hưng (@caominhhung1991)