go-patterns
JavaScript Design-Patterns Builder
Installation
npm install --save go-patterns
import patterns from 'go-patterns';
Usage
See docs for more patterns and information.
A simple example is the singleton, which the idea behind it is that you can only create a single instance from a class.
; let Singleton = patterns; console // true