mix

mixxer

This package allows developers to implement the Mixin design pattern.

Showing:

Popularity

Downloads/wk

1

GitHub Stars

0

Maintenance

Last Commit

5yrs ago

Contributors

0

Package

Dependencies

0

Size (min+gzip)

0.7KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

Mixxer

This package allows you to implement the Mixin design pattern. Extend one object from other objects.

Install

npm install mixxer --save

It's easy to use

const mixxer = require('mixxer');;

Extend from one object

mixxer.extend(Programmer, Person)

Extend from several objects

mixxer(Programmer)
 .extendFrom(Person)
 .extendFrom(Employ)
 .extendFrom(SalsaDancer);

You can specify what properties to extend

mixxer.extend(Programmer, Person, 'breathe', 'walk')

mixxer(Programmer)
 .extendFrom(Person, 'breathe', 'walk')
 .extendFrom(Employ)
 .extendFrom(SalsaDancer);

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100