# base-object

> Base object that enables OOP-like support with JavaScript objects

Latest version **1.4.1** (published 2023-03-15) · Apache-2.0 license · 0 weekly downloads

## Install

```sh
npm install base-object
pnpm add base-object
yarn add base-object
bun add base-object
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 1.4.1 |
| Published | 2023-03-15 |
| First published | 2018-05-06 |
| Weekly downloads | 0 |
| License | Apache-2.0 |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=6.0.0 |
| Dependencies | 1 |
| Unpacked size | 62.1 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 6 |
| Author | One Hill Technologies, LLC |
| Maintainers | onehilltech |
| Keywords | base-object, OOP, object-oriented programming, mixin |

## Links

- npm: https://www.npmjs.com/package/base-object
- Repository: https://github.com/onehilltech/base-object
- Homepage: https://github.com/onehilltech/base-object#readme
- Issues: https://github.com/onehilltech/base-object/issues
- npm.io page: https://npm.io/package/base-object

## Dependencies (1)

- [lodash](https://npm.io/package/lodash.md) ^4.17.10

## Recent versions

- 1.4.1 (latest) — 2023-03-15
- 1.4.0 — 2019-12-11
- 1.3.1 — 2019-12-10
- 1.3.0 — 2019-12-10
- 1.2.2 — 2018-09-16
- 1.2.1 — 2018-09-13
- 1.2.0 — 2018-09-13
- 1.1.1 — 2018-07-21
- 1.1.0 — 2018-07-21
- 1.0.6 — 2018-05-09
- 1.0.5 — 2018-05-06
- 1.0.4 — 2018-05-06
- 1.0.3 — 2018-05-06
- 1.0.2 — 2018-05-06
- 1.0.1 — 2018-05-06
- … 1 more at https://npm.io/package/base-object/versions

## 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.

---
_Source: https://npm.io/package/base-object · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
