polyinherit

Modifies the function prototype for the possibility of using multiple inheritance

Usage no npm install needed!

<script type="module">
  import polyinherit from 'https://cdn.skypack.dev/polyinherit';
</script>

README

Polyinherit

Modifies the function prototype for the possibility of using multiple inheritance

Usage inherit

function() { }.inherit(somefunc1, somefunc2)

Usage proto

function() { }.proto({
  someMethod: function() { }
});