iai-oop is a utility toolset to ease OOP. The filosofy is to type less while being more expressive.

Usage no npm install needed!

<script type="module">
  import iaiOop from 'https://cdn.skypack.dev/iai-oop';



iai-oop is an utility belt to deal with object declarations, in the context of OOP for javascript. It has been built on top of the practical-inheritance module. Please read the paper An alternative to the constructor pattern to further understanding of the practical inheritance pattern.

This module has been designed to be widely used within iai related modules. It provides a chainable api that reduces the verbosity of vanilla javascript on defining object's properties and its attributes, plus some shortcut functions for OOP common operations.