types-helpers
v1.0.1
Published
Librería de utilidades avanzadas para tipos en TypeScript
Maintainers
Readme
🧠 helper types
A collection of advanced types in TypeScript that help you manipulate, transform, and validate complex type structures in a safe and expressive way.
🌟 Ideal for form-based architectures, deep validation, object flattening, type manipulation, and more.
📦Installation
npm install types-helpers🚀 Quick Use
import {
Flat,
DeepReadonly,
} from "types-helpers"This is an example for Flat:
type Entry = {
usuario: {
nombre: string;
edad: number;
};
direccion: {
ciudad: string;
};
};
type result = Flat<Entry>;📁 API structure
types-helpers/
├── deep/
│ ├── DeepPartial
│ └── DeepReadonly
├── flatten/
│ ├── Flat
│ ├── Flatten
│ ├── FilterFlat
│ └── IsPrimitive
├── transform/
│ ├── Split
│ ├── BuildPath
│ ├── MergeAll
│ └── Create handlers
├── validators/
│ ├── Validate
│ └── Validators📜 License
MIT © 2025 Wilson Gutiérrez
🤝 Contributions
Pull requests and suggestions are welcome! Help us continue improving this useful library for the entire TypeScript community. 🙌
⭐ Credits
Created with ❤️ by Wilson Gutiérrez
