# backbone-associations

> Create object hierarchies with Backbone models. Respond to hierarchy changes using regular Backbone events

Latest version **0.6.2** (published 2014-06-29) · 0 weekly downloads

## Install

```sh
npm install backbone-associations
pnpm add backbone-associations
yarn add backbone-associations
bun add backbone-associations
```

## Health

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

Positive: has types package; no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.6.2 |
| Published | 2014-06-29 |
| First published | 2013-01-25 |
| Weekly downloads | 0 |
| TypeScript types | separate (@types/backbone-associations) |
| Module format | CommonJS |
| Dependencies | 2 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 490 |
| Maintainers | dhruvaray |
| Keywords | Backbone, association, associated, nested, model, cyclic graph, qualified event paths, relational, relations |

## Links

- npm: https://www.npmjs.com/package/backbone-associations
- Repository: https://github.com/dhruvaray/backbone-associations
- Homepage: http://dhruvaray.github.io/backbone-associations/
- Issues: https://github.com/dhruvaray/backbone-associations/issues
- npm.io page: https://npm.io/package/backbone-associations

## Dependencies (2)

- [backbone](https://npm.io/package/backbone.md) >=1.0.0
- [underscore](https://npm.io/package/underscore.md) >=1.4.4

## Alternatives

- [base64url](https://npm.io/package/base64url.md) — 6.1M weekly downloads
- [get-installed-path](https://npm.io/package/get-installed-path.md) — 502.9K weekly downloads
- [@uppy/url](https://npm.io/package/@uppy/url.md) — 185.8K weekly downloads
- [@d3fc/d3fc-shape](https://npm.io/package/@d3fc/d3fc-shape.md) — 16.2K weekly downloads
- [localizer](https://npm.io/package/localizer.md) — 226 weekly downloads

## Recent versions

- 0.6.2 (latest) — 2014-06-29
- 0.6.1 — 2014-02-23
- 0.6.0 — 2014-02-19
- 0.5.5 — 2014-01-17
- 0.5.4 — 2013-11-13
- 0.5.3 — 2013-09-27
- 0.5.2 — 2013-09-02
- 0.5.1 — 2013-07-17
- 0.5.0 — 2013-06-21
- 0.4.2 — 2013-03-22
- 0.4.1 — 2013-01-28
- 0.4.0 — 2013-01-25

## README

### Backbone-associations [![Build Status](https://travis-ci.org/dhruvaray/backbone-associations.png?branch=master)](https://travis-ci.org/dhruvaray/backbone-associations)

Associations allows Backbone applications to model 1:1 & 1:N associations between application models and Collections. More importantly, applications can listen to any kind of change (change, add, remove, reset, sort, destroy) in this hierarchy using standard Backbone events and respond to them. (views can re-render for example). The implementation strives to be tiny (3.6KB), easy-to-understand, light-weight and fast.

For features, performance #s, API documentation, tutorials and recipes, please visit :

http://dhruvaray.github.io/backbone-associations/.


### Who uses Backbone-Associations? 

See https://github.com/dhruvaray/backbone-associations/issues/55

We encourage you to add your experiences to this list!

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