View on GitHub


Allows OOP concepts in javascript including classes, inheritance, multi-inheritance, polymophism, interfaces (code contracts), and enumerators. Several ready to use collections implemented including List, Queue, Stack, Dictionary, and Tree.

Download this project as a .zip file Download this project as a tar.gz file

The purpose of the oop library is to make writing and maintaining classes in javascript easier. There are many libraries out there that already do this. Here are a few reasons why ds.oop is better.

In addition, ds.oop allows you to write significantly less code. This translates to faster load times for your js files. The result? Code using ds.oop will load/initalize faster than vanilla javascript in almost all cases not to mention making your code far more readable, maintainable, and modular.

Table of Contents