1.0.5 • Published 7 years ago

es6-gof v1.0.5

Weekly downloads
2
License
MIT
Repository
github
Last release
7 years ago

ES6 Gang of Four

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');
  }
}
1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago