{"id":13394982,"url":"https://github.com/tcorral/Design-Patterns-in-Javascript","last_synced_at":"2025-03-13T20:31:51.350Z","repository":{"id":1693177,"uuid":"2421525","full_name":"tcorral/Design-Patterns-in-Javascript","owner":"tcorral","description":"Design Patterns applied to Javascript code.","archived":false,"fork":false,"pushed_at":"2023-08-07T04:31:34.000Z","size":1330,"stargazers_count":2629,"open_issues_count":34,"forks_count":525,"subscribers_count":136,"default_branch":"es6","last_synced_at":"2025-03-09T20:54:44.051Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://tcorral.github.com/Design-Patterns-in-Javascript/","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tcorral.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2011-09-20T09:51:58.000Z","updated_at":"2025-02-20T16:42:21.000Z","dependencies_parsed_at":"2024-07-30T19:45:18.599Z","dependency_job_id":"4717ccdd-e5ae-4e88-a5a2-dca4a601ed46","html_url":"https://github.com/tcorral/Design-Patterns-in-Javascript","commit_stats":{"total_commits":52,"total_committers":5,"mean_commits":10.4,"dds":0.1923076923076923,"last_synced_commit":"e37f712d8a3c0988d05cda3ca91893ea78349fc1"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcorral%2FDesign-Patterns-in-Javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcorral%2FDesign-Patterns-in-Javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcorral%2FDesign-Patterns-in-Javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tcorral%2FDesign-Patterns-in-Javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tcorral","download_url":"https://codeload.github.com/tcorral/Design-Patterns-in-Javascript/tar.gz/refs/heads/es6","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243478264,"owners_count":20297224,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T17:01:38.181Z","updated_at":"2025-03-13T20:31:50.402Z","avatar_url":"https://github.com/tcorral.png","language":"JavaScript","funding_links":[],"categories":["JavaScript","others","Uncategorized"],"sub_categories":["Uncategorized"],"readme":"# Design Patterns in Javascript ES6\nThis will be a repository of how to use the Design Patterns from *Gang of Four* in your applications with Javascript.\n\n## Update:\n- Added Flyweight implementation.\n- Added Bridge implementation.\n- Added Prototype and Builder implementations.\n- All the Design Patterns have been refactored to ES6.\n- Added the Multi-Inheritance Design Patterns exclusive for ES6.\n- Added new Design Patterns exclusive from Javascript.\n- Added changes to index.html. Now you can check the code to be executed and the execution without open the console. Thanks -adamnbowen-\n\n\n## Design Patterns that you can find in this repository:\n\n* Adapter\n* Builder\n* Bridge\n* Chaining\n* Command\n* Composite\n* Composite Iterator\n* Compound (Use some design patterns together to solve a problem)\n* Decorator\n* Facade\n* Factory\n* Iterator\n* Lazy\n* Module\n* Module Revealed\n* Multi-Inheritance ES6\n* MVC\n* Namespace\n* Nullify\n* Observer\n* Prototype\n* Proxy\n* Singleton\n* State\n* Strategy\n* Template\n* Try-Finally\n\nThis repository contains a folder by each design pattern.\n\nInside these folders you can found, in some of them, other folders with numbers . This folders are the different steps to follow to arrive to the final resolution of the problem.\nYou will understand it better if you have one copy of the book I recomend you before.\n\n## To transpile the code to ES5 you should execute ```gulp```\n \n## Do you want to collaborate?\n\nAll constructive comments are welcome. I promise I will answer everyone.\n\n## Agreements\n\n[Head First Design Patterns](http://www.amazon.com/First-Design-Patterns-Elisabeth-Freeman/dp/0596007124/ref=sr_1_1?ie=UTF8\u0026qid=1316512770\u0026sr=8-1)\n\n[Pro Javascript Design Patterns](http://www.amazon.com/Pro-JavaScript-Design-Patterns-Object-Oriented/dp/159059908X)\n__\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcorral%2FDesign-Patterns-in-Javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftcorral%2FDesign-Patterns-in-Javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftcorral%2FDesign-Patterns-in-Javascript/lists"}