Skip to content

vinifig/es6-gof

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ES6 Gang of Four

Build Status

An ECMAScript 2015 implementation of a DoFactory design patterns examples.

Instalation

npm install es6-gof

Running

Run the node code below and enjoy!

'use strict';
const es6Gof = require("es6-gof");
for(let type in es6Gof){
  console.log(`Type of Patterns: ${type}`);
  for(let pattern in es6Gof[type]){
    console.log(`Pattern: ${pattern}`);
    es6Gof[type][pattern].run();
    console.log('\n');
  }
}

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published