A curated collection of idiomatic design & application patterns for JavaScript programming language.
Creational design patterns are design patterns that deal with object creation mechanisms, trying to create objects in a manner suitable to the situation. The basic form of object creation could result in design problems or in added complexity to the design. Creational design patterns solve this problem by somehow controlling this object creation.
Pattern | Description |
---|---|
Constructor | Create multiple instances of the same object |
Singleton | Restricts instantiation of a type to one object |
Module | Enables code encapsulation |
Having trouble with this repository? Check out the documentation at the repository's site or contact [email protected] and weโll help you sort it out.
Happy Coding
โ๏ธ