Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/onehilltech/base-object

Base object that enables OOP-like support with JavaScript objects
https://github.com/onehilltech/base-object

base-object mixins object-oriented-programming oop

Last synced: about 2 months ago
JSON representation

Base object that enables OOP-like support with JavaScript objects

Awesome Lists containing this project

README

        

Base Object
================

Base object that enables OOP-like support with JavaScript objects

![npm version](https://img.shields.io/npm/v/base-object.svg)
![node version](https://img.shields.io/node/v/base-object.svg)
[![Build Status](https://travis-ci.org/onehilltech/base-object.svg?branch=master)](https://travis-ci.org/onehilltech/base-object.svg?branch=master)
[![Coverage Status](https://coveralls.io/repos/github/onehilltech/base-object/badge.svg?branch=master)](https://coveralls.io/github/onehilltech/base-object?branch=master)
[![Dependencies](https://david-dm.org/onehilltech/base-object.svg)](https://david-dm.org/onehilltech/base-object)
[![devDependencies Status](https://david-dm.org/onehilltech/base-object/dev-status.svg)](https://david-dm.org/onehilltech/base-object?type=dev)

Features
--------

* Define classes using hashes consisting of both methods and data
* Define mixins containing reusable methods and data
* Use mixins when defining classes, and instantiating objects.
* Supports polymorphic behavior when defining methods
* Computed properties simplify defining data properties on types and instances.

Documentation
-------------

See the chapter on [The Object Model](https://blueprint.onehilltech.com/developer-guide/the-object-model)
from the [Blueprint documentation](https://blueprint.onehilltech.com) to learn
how to use Base Object.