# at.property

> install

Latest version **0.0.14** (published 2020-08-15) · MulanPSL-2.0 license · 0 weekly downloads

## Install

```sh
npm install at.property
pnpm add at.property
yarn add at.property
bun add at.property
```

## Health

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

Positive: esm support; no vulnerabilities.

Warnings: low downloads; no types; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.14 |
| Published | 2020-08-15 |
| First published | 2020-08-15 |
| Weekly downloads | 0 |
| License | MulanPSL-2.0 |
| TypeScript types | none |
| Module format | ESM |
| Dependencies | 0 |
| Unpacked size | 10.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | i@rmw.link |
| Maintainers | gcxfd |

## Links

- npm: https://www.npmjs.com/package/at.property
- Repository: https://github.com/rmw-lib/at.property
- Homepage: https://github.com/rmw-lib/at.property#readme
- Issues: https://github.com/rmw-lib/at.property/issues
- npm.io page: https://npm.io/package/at.property

## Recent versions

- 0.0.14 (latest) — 2020-08-15
- 0.0.12 — 2020-08-15
- 0.0.11 — 2020-08-15
- 0.0.10 — 2020-08-15
- 0.0.9 — 2020-08-15
- 0.0.5 — 2020-08-15
- 0.0.4 — 2020-08-15
- 0.0.3 — 2020-08-15

## README

# Object.defineProperty for coffeescript

install

```
npm install at.property
```

use

```
require 'at.property'

class Person
  constructor: (@firstName, @lastName) ->

  @property(
    name:
      get: -> "#{@firstName} #{@lastName}"
      set: (name) -> [@firstName, @lastName] = name.split ' '
  )
```

code


```
Function::property = (dict) ->
  for attr of dict
    Object.defineProperty @::, attr, dict[attr]
```

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