# @gitterhq/backbone-proxy-collection

> A Proxy COllection for Backbone

Latest version **2.3.0** (published 2017-04-28) · MIT license · 0 weekly downloads

## Install

```sh
npm install @gitterhq/backbone-proxy-collection
pnpm add @gitterhq/backbone-proxy-collection
yarn add @gitterhq/backbone-proxy-collection
bun add @gitterhq/backbone-proxy-collection
```

## Health

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

Positive: no vulnerabilities.

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

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 2.3.0 |
| Published | 2017-04-28 |
| First published | 2017-04-28 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| Author | Gitter |
| Maintainers | gitterhq-admin |

## Links

- npm: https://www.npmjs.com/package/@gitterhq/backbone-proxy-collection
- npm.io page: https://npm.io/package/@gitterhq/backbone-proxy-collection

## Recent versions

- 2.3.0 (latest) — 2017-04-28

## README

Backbone.Collection Proxy
----------------------------

A simple utility to help switching out collections whilst allowing their respective views to function normally.

Examples:

```js

//Make a new collection
var privateCollection = new Backbone.Collection();
var publicCollection  = new ProxyCollection({
  collection: privateCollection
});

```

Now at any point if you want to switch the collection call:

```js

var newCollection = new Backbone.Collection();
publicCollection.switchCollection(newCollection);

```

This will maintain you event bindings etc. Simples.

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