# Classy

> Brings the MooTools 1.x Class sugar to Prime

Latest version **0.0.1** (published 2012-05-01) · MIT license · 0 weekly downloads

## Install

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

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.1 |
| Published | 2012-05-01 |
| First published | 2012-05-01 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | * |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 10 |
| Author | Arian Stolwijk |
| Maintainers | arian |

## Links

- npm: https://www.npmjs.com/package/Classy
- Repository: https://github.com/arian/classy
- npm.io page: https://npm.io/package/Classy

## Recent versions

- 0.0.1 (latest) — 2012-05-01

## README

Prime with Class
================

Make Prime Classy.

If you're used to MooTools 1.x Class, and think [prime](https://github.com/mootools/prime)
is too basic? Classy will give you your familiar features:

- Mixins (Implements)
- .parent (Will wrap methods)
- Will clone/reset objects and arrays in the prototype to prevent shared objects
- Alias `Implements`, `Extends` and `initialize`
- Tries to be compatible with the MooTools 1.x Class API.

Wrapping functions and reseting are not very elegant however.
I would advice to use the basic `prime` wherever possible.

### TODO

- Implement `Class.Mutators`
- Create another Classy implementation that will break 1.x API
	- I'd rather see a `.parent` without wrapping
	- Don't reset/clone objects
	- Create a nice packages with some nice additional goodies like:
		- Class.Bind (by @cpojer)
		- …

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