# disproperty

> Disposable properties

Latest version **0.4.0** (published 2015-06-07) · MIT license · 0 weekly downloads

## Install

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

## 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.4.0 |
| Published | 2015-06-07 |
| First published | 2015-05-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Vladislav Zarakovsky |
| Maintainers | vlazar |
| Keywords | disposable, property, properties, define |

## Links

- npm: https://www.npmjs.com/package/disproperty
- Repository: https://github.com/vlazar/disproperty
- Issues: https://github.com/vlazar/disproperty/issues
- npm.io page: https://npm.io/package/disproperty

## Recent versions

- 0.4.0 (latest) — 2015-06-07
- 0.3.0 — 2015-06-02
- 0.2.0 — 2015-05-27
- 0.1.0 — 2015-05-25

## README

# disproperty
[![npm version](https://img.shields.io/npm/v/disproperty.svg)](https://www.npmjs.com/package/disproperty)
[![Build Status](https://img.shields.io/travis/vlazar/disproperty.svg)](https://travis-ci.org/vlazar/disproperty)
[![Code Climate](https://img.shields.io/codeclimate/github/vlazar/disproperty.svg)](https://codeclimate.com/github/vlazar/disproperty)
[![Test Coverage](https://img.shields.io/codeclimate/coverage/github/vlazar/disproperty.svg)](https://codeclimate.com/github/vlazar/disproperty/coverage)

Define properties to be automatically removed after the first read.

## Usage

Require disproperty via AMD, CommonJS or &lt;script&gt; tag and have fun:

**Example**

```javascript
var obj = {};

disproperty(obj, 'sticker', 'JS');

obj.sticker; // 'JS'
obj.sticker; // undefined

disproperty(obj, 'sticker', 'JS');

obj.sticker = 'ES6';
obj.sticker; // 'ES6'
obj.sticker; // undefined
```

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