# structr

> javascript class system

Latest version **0.3.2** (published 2013-11-01) · 0 weekly downloads

## Install

```sh
npm install structr
pnpm add structr
yarn add structr
bun add structr
```

## Health

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

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; low quality score; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.3.2 |
| Published | 2013-11-01 |
| First published | 2011-07-01 |
| Weekly downloads | 0 |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Craig Condon |
| Maintainers | architectd |

## Links

- npm: https://www.npmjs.com/package/structr
- Repository: http://github.com/spiceapps/Structr
- npm.io page: https://npm.io/package/structr

## Recent versions

- 0.3.2 (latest) — 2013-11-01
- 0.3.1 — 2013-11-01
- 0.3.0 — 2013-11-01
- 0.2.4 — 2013-10-17
- 0.2.3 — 2013-03-14
- 0.2.2 — 2012-11-02
- 0.2.0 — 2012-04-27
- 0.1.3 — 2012-01-29
- 0.1.0 — 2011-12-03
- 0.0.10 — 2011-09-12
- 0.0.8 — 2011-08-10
- 0.0.5 — 2011-08-01
- 0.0.4-3 — 2011-07-28
- 0.0.4-2 — 2011-07-21
- 0.0.4-1 — 2011-07-13
- … 4 more at https://npm.io/package/structr/versions

## README

Structr is a thin class library that helps create, and extend prototypes.

## Example


```javascript


function Animal(name) {
  this.name = name;
}

function Cat(name) {
  Cat.__super__.apply(this, arguments);
}

structr(Animal, Cat, {
  meow: function() {
    console.log(this.name + ": meow");
  }
});


```

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