# proxy-class

> Proxy Class for javascript/coffeescript

Latest version **0.0.1** (published 2013-11-06) · MIT license · 0 weekly downloads

## Install

```sh
npm install proxy-class
pnpm add proxy-class
yarn add proxy-class
bun add proxy-class
```

## 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 | 2013-11-06 |
| First published | 2013-11-06 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 0 |
| Author | William K Farrell |
| Maintainers | wkf |
| Keywords | proxy, class, utility |

## Links

- npm: https://www.npmjs.com/package/proxy-class
- Repository: git@github.com:wkf/proxy-class
- Issues: https://github.com/wkf/proxy-class/issues
- npm.io page: https://npm.io/package/proxy-class

## Alternatives

- [lodash.assign](https://npm.io/package/lodash.assign.md) — 2.3M weekly downloads
- [lodash.chunk](https://npm.io/package/lodash.chunk.md) — 1.8M weekly downloads
- [react-native-ios-utilities](https://npm.io/package/react-native-ios-utilities.md) — 138.5K weekly downloads
- [@technically/lodash](https://npm.io/package/@technically/lodash.md) — 50.9K weekly downloads
- [@fluid-topics/ft-icon](https://npm.io/package/@fluid-topics/ft-icon.md) — 20.6K weekly downloads

## Recent versions

- 0.0.1 (latest) — 2013-11-06

## README

proxy-class
===========

A Proxy Class for wrapping javascript/coffeescript classes and adding functionality.


Example:

class LogProxy extends Proxy
  wrap: ->
    console.log("Calling #{@name}")
    super

class A
  constructor: ->
    @property = 'world'

  hello: -> @property

_A = new LogProxy(A)

a  = new _A # outputs 'Calling constructor'
a.hello()   # outputs 'Calling hello', returns 'world'

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