Skip to content

thaitype/tech-stack

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

2 Commits
Β 
Β 
Β 
Β 

Repository files navigation

typescript-tech-stack

TypeScript Tech Stack used and recommended by ThaiType Team

πŸš€ Frontend

  • astro β€” Modern static site builder using islands architecture.
  • Next.js β€” Fullstack React framework with SSR, SSG, and API routes.
    • next-runtime-env β€” Load environment variables in the browser at runtime.
  • Material UI β€” React components that follow Google’s Material Design.
  • Tailwind CSS β€” Utility-first CSS framework for building fast and custom UIs.
  • React Query β€” Powerful data fetching and caching solution for React.
  • react-number-format β€” Format numbers, currencies, and phone inputs in React.
  • react-hook-form β€” Performant form state management using hooks.
  • sonner β€” Lightweight toast notification library.
  • vaul β€” Accessible and customizable bottom sheet component.
  • usehooks-ts β€” Useful and reusable TypeScript hooks for React.
  • zustand β€” Simple, scalable, and fast state management.
  • emotion β€” CSS-in-JS library for styling components dynamically.
  • signalr β€” Real-time web communication library from Microsoft.
  • react router β€” Declarative routing for React apps.
  • dnd-kit β€” Drag and drop toolkit for React with accessibility focus.
  • tiptap β€” Headless rich-text editor built on ProseMirror.
  • ag-grid β€” Feature-rich data grid for enterprise-level applications.
  • recharts β€” Charting library built with D3 and React.
  • nuqs β€” Sync React state with URL query parameters.
  • mantine β€” Full-featured React component library with good DX.
  • react-pdf β€” Display and render PDFs in React applications.
  • react-icons β€” Icon packs wrapped as React components.
  • js-cookie β€” Simple JavaScript API for managing cookies.
  • fontsource β€” Self-hosted open-source fonts (Google Fonts alternative).
  • lucide-react β€” Beautiful, consistent icon library as React components.
  • Fluent UI React β€” Microsoft’s React UI framework for enterprise apps.
  • Shadcn β€” Beautifully styled Tailwind + Radix UI component set.
  • Radix UI Primitive β€” Unstyled, accessible UI primitives for building components.
  • React Aria β€” Hooks for building accessible, custom UI components.
  • Better Auth / Auth.js β€” Authentication solution for Next.js (formerly NextAuth.js)

πŸ› οΈ Backend

  • hono β€” Ultra-fast, lightweight web framework for building APIs (similar to Express, but faster).
  • trpc β€” End-to-end typesafe API framework for fullstack TypeScript apps.
  • azure functions β€” Serverless compute platform from Azure for event-driven apps.
  • mongoose β€” ODM (Object Data Modeling) library for MongoDB in Node.js.
  • drizzle β€” TypeScript-first, SQL-friendly ORM with zero runtime.
  • prisma β€” Next-gen ORM with type-safe query builder and powerful migration system.
  • polars β€” Fast DataFrame library (originally Rust/Python), useful for data analytics in Node.js via bindings.
  • grammY β€” Framework for building Telegram bots using JavaScript/TypeScript.
  • google-spreadsheet β€” Node.js API wrapper to interact with Google Sheets easily.
  • express β€” Minimal and flexible web framework for Node.js, great for APIs and web apps.
    • http-proxy-middleware (express) β€” Middleware to proxy requests in Express apps.
  • nestjs β€” Scalable, enterprise-grade Node.js framework using TypeScript and decorators.
    • @anatine/esbuild-decorators β€” Enable decorators in NestJS via esbuild without TypeScript compiler.
    • grpc, @grpc/grpc-js β€” High-performance RPC framework; official gRPC client/server implementation for Node.js.

βš™οΈ DevOps

  • CDKTF β€” Infrastructure as Code using TypeScript with Terraform under the hood (by HashiCorp).
  • Terrakit β€” Type-safe infrastructure toolkit designed for multi-tenant, modular cloud environments.
  • kubernetes-models β€” Auto-generated Kubernetes resource models for writing manifests with full type safety.

🧰 General Utilities

  • axios β€” Promise-based HTTP client for browser and Node.js.
  • lodash-es β€” Utility library for JavaScript with ES module support.
  • promise-fun β€” Async/await utility functions for cleaner async code.
  • filenamify β€” Make filenames safe for use across OSes.
  • url-join β€” Join URL segments into a properly formatted URL.
  • faker-js β€” Generate fake data for testing and prototyping.
  • numbro β€” Number formatting and manipulation with localization.
  • dayjs β€” Lightweight date library compatible with Moment.js API.
  • grapheme-splitter β€” Correctly split strings by visual Unicode characters.
  • node-cron β€” Cron-style scheduled task runner for Node.js.

πŸ”’ Encoding, Hashing, Config & Env

  • hash-wasm β€” High-performance WebAssembly hash functions.
  • js-base64 β€” Encode/decode Base64 easily in JavaScript.
  • dotenv β€” Load environment variables from .env files.
  • unconfig β€” Smart config loader that supports multiple formats.

πŸ–ΌοΈ CLI & Terminal Helpers

  • cleye β€” Minimal and type-safe CLI argument parser.
  • yargs β€” Feature-rich CLI parser for building complex tools.
  • ansis β€” Styled terminal output using tagged template literals.
  • clipboardy β€” Read/write system clipboard with Node.js.
  • execa β€” Modern child_process wrapper for shell commands.

πŸͺ΅ Logging

  • pino β€” Extremely fast, structured logging library for Node.js.
  • @thaitype/core-utils β€” Pluggable logger utilities with ILogger interface for consistent, testable logging.

🧠 Dependency Injection / IoC

  • inversify β€” IoC container for TypeScript/JavaScript applications.
  • @thaitype/ioctopus β€” Type-safe IoC container with zero dependency on reflect-metadata, works in any runtime including edge.

πŸ“¦ File & Data Utilities

  • globby β€” Better glob with advanced file-matching patterns.
  • fs-extra β€” Enhanced fs module with extra file system methods.
  • gray-matter β€” Parse front-matter from markdown and other content files.
  • @iarna/toml β€” Fully spec-compliant TOML parser and serializer.
  • yaml β€” Parse and stringify YAML files with full spec compliance.

πŸ” Search & Viewers

  • flexsearch β€” Ultra-fast, lightweight full-text search engine designed for in-browser use.
  • @thaitype/data-viewer-server β€” Dev tool for live-reloading and visualizing structured Node.js data in a dynamic web table.

πŸ”Ž Module & Env Inspectors

  • node-modules-inspector β€” Tool to check for dual-package hazards (ESM/CJS).

πŸ§ͺ Type-Safe Utilities

  • @thaitype/core-utils β€” Typed error and logger utilities with a shared structure.
  • tiny-invariant β€” Small assertion utility for throwing errors with conditions.
  • ts-odata-client β€” Type-safe OData client SDK for working with OData APIs.
  • type-fest β€” A collection of advanced TypeScript type definitions.
  • zod β€” TypeScript-first schema validation and inference library.
    • zod-validation-error β€” User-friendly error formatter for Zod schemas.
  • hotscript β€” Type-level programming toolkit for composing advanced TypeScript types.

πŸ§ͺ Azure Utilities

  • @thaitype/azure-service-principal β€” Utility to manage Azure Service Principals programmatically.

βš’οΈ Build & Dev Tools

  • bun β€” Fast all-in-one JavaScript runtime, bundler, and test runner.
  • tsup β€” Zero-config bundler for TypeScript using esbuild.
  • vite β€” Lightning-fast dev server and build tool for modern frontend projects.
  • esbuild β€” Extremely fast bundler and minifier for JavaScript/TypeScript.
    • @jgoz/esbuild-plugin-typecheck β€” Adds TypeScript type-checking to esbuild.
  • tsx β€” Run TypeScript files instantly using esbuild under the hood.
  • jiti β€” Runtime loader for TS/ESM/CJS, ideal for config and scripts.
  • rimraf β€” Cross-platform rm -rf alternative for cleaning directories.
  • nodemon β€” Auto-restarts Node.js apps when file changes are detected.
  • pnpm β€” Efficient, fast, and disk-saving JavaScript package manager.

βš™οΈ CLI & Automation

  • cross-env β€” Set environment variables across OSes in scripts.
  • taze β€” Upgrade npm dependencies interactively with filtering.
  • changesets β€” Automate changelogs and versioning in monorepos.
  • release-it β€” Release automation tool (version bump, changelog, publish).
  • gleanup β€” Generate Markdown bundles of source files for LLMs or docs.
  • npm-run-all β€” Run multiple npm scripts in sequence or parallel.
  • zx β€” Write shell scripts using JavaScript with great DX.
  • husky β€” Git hook manager to run tasks before commits or pushes.

πŸ§ͺ Lint, Test & Format

  • eslint β€” Highly configurable linter for JavaScript and TypeScript.
  • prettier β€” Opinionated code formatter to keep styles consistent.
  • vitest β€” Vite-native unit test framework with great DX and ESM support.
  • playwright β€” End-to-end testing tool for modern web apps across browsers.

🧩 Monorepo Tooling

  • nx β€” Full-featured monorepo framework with smart caching and orchestration.
  • turborepo β€” High-performance monorepo build system from Vercel.

πŸ“ Website & Documentation

  • vitepress β€” Lightweight static site generator powered by Vite (by Vue team).
    • @thaitype/vitepress-typed-navbar β€” Typed navigation configuration for VitePress.
    • @shikijs/vitepress-twoslash β€” Add live, annotated code blocks to VitePress using Shiki + twoslash.
  • typedoc β€” Generate API documentation from TypeScript source code.
    • typedoc-vitepress-theme β€” VitePress theme for beautiful TypeDoc-generated docs.
  • fumadocs β€” Modern documentation framework built with Next.js.
  • resumed β€” Resume generator and theme viewer for JSON Resume format.
    • jsonresume-theme-onepage-web β€” One-page web theme for JSON Resume.

πŸš€ Deploys

  • Azure Static Web App β€” Host static sites with built-in CI/CD and auth on Azure.
  • Azure Container App β€” Serverless container hosting for microservices and APIs.
  • Azure Functions β€” Event-driven serverless compute service by Azure.
  • Azure Kubernetes Service (AKS) β€” Managed Kubernetes cluster service by Azure.
  • (More Azure Services) β€” Full cloud stack support including storage, database, and networking.
  • Cloudflare Pages β€” Fast, global static site hosting with edge functions.
  • Vercel β€” Frontend cloud for static and dynamic apps with Git-based CI/CD.

🌱 Consideration to Use

  • Numberflow β€” Visual flow-based programming interface (experimental).
  • cmdk β€” Headless command menu UI component for React apps.
  • Swiper β€” Modern, touch-enabled slider and carousel library.
  • Silk β€” Clean and performant documentation framework.
  • Animata β€” Animation toolkit for smooth UI interactions.
  • Joyride β€” Guide users through UI flows with tooltips and onboarding tours.

About

TypeScript Tech Stack used and recommended by ThaiType Team

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published