Skip to content
@opinionated-ts

Opinionated TS

A collection of opinionated tools, configs, and templates for modern TypeScript development.

Opinionated TS

An opinionated ecosystem created by DanhezCode to improve the modern TypeScript and JavaScript development experience.

The goal is to solve common developer problems and provide practical tools, configurations, and workflows that make building modern software simpler and more productive.

Not every project requires the entire ecosystem. Some tools work independently, others can be used across languages and platforms, and some are designed to work together as part of the Opinionated TS development experience.

Projects

Projects evolve independently and may be at different stages of maturity.

🌐 Cross-platform

Tools that can be useful beyond TypeScript and JavaScript.

  • write-once — Keep documentation, AI instructions, skills, and code examples in sync from a single source of truth.
  • Context Map — A contextual map of your codebase for humans and AI coding agents.

🧩 TypeScript & JavaScript

Tools and libraries for TypeScript projects that can be used independently of the broader ecosystem.

  • error-factory — Type-safe functional error factories with automatic and exact type inference for TypeScript.
  • result — A type-safe Result type for functional error handling in TypeScript.

🛠️ Opinionated TS ecosystem

Templates and tools built around the ecosystem's recommended development practices and workflows.

  • template — A ready-to-use TypeScript project template with opinionated tooling defaults.
  • package-template — An experimental TypeScript project template for packages, libraries, CLIs, and SDKs.
  • preact-web-template — An experimental TypeScript project template for web development.

🚀 Start building

Starting a new project? Explore the templates listed above to find a preconfigured foundation for your needs, whether you're building a library, SDK, CLI, or web application.

🌱 Open source

All projects in this organization are open source. Explore the code, report issues, suggest improvements, or contribute.

  • 🐛 Found a bug? Open an issue.
  • 💡 Have an idea? Start a discussion.
  • 🛠️ Want to improve something? Submit a pull request.

🙏 Acknowledgements

Thanks to everyone in the open source community whose tools, ideas, and contributions help make these projects possible.

Pinned Loading

  1. ai-spec ai-spec Public

    An early-stage, community-driven effort to define an open specification for AI-assisted development tools, covering agents, hooks, plugins, and other related concepts.

    2

  2. error-factory error-factory Public

    Type-safe functional error factories with automatic and exact type inference for TypeScript.

    TypeScript 2

  3. result result Public

    A type-safe Result type for functional error handling in TypeScript.

    TypeScript 1

  4. write-once write-once Public

    Keep documentation, AI instructions, skills, and code examples in sync from a single source of truth. Reuse text across files with simple markers and avoid duplicated edits.

    TypeScript 3

Repositories

Showing 10 of 16 repositories

Top languages

Loading…

Most used topics

Loading…