# component-collection

> Enumerable data model collections

Latest version **0.0.4** (published 2015-06-22) · MIT license · 0 weekly downloads

## Install

```sh
npm install component-collection
pnpm add component-collection
yarn add component-collection
bun add component-collection
```

## Health

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

Positive: no vulnerabilities.

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

Negative: insecure dependencies; abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2015-06-22 |
| First published | 2015-06-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 1 |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 16 |
| Maintainers | timaschew |
| Keywords | enumerable, data, model, db |

## Links

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

## Dependencies (1)

- [enumerable-component](https://npm.io/package/enumerable-component.md) git://github.com/component/enumerable#0.3.2

## Alternatives

- [angular-pipes](https://npm.io/package/angular-pipes.md) — 5.6K weekly downloads
- [@ng-web-apis/midi](https://npm.io/package/@ng-web-apis/midi.md) — 2.6K weekly downloads
- [happn-3](https://npm.io/package/happn-3.md) — 1.6K weekly downloads
- [@opensip-cli/lang-go](https://npm.io/package/@opensip-cli/lang-go.md) — 1.2K weekly downloads
- [@temporal-architect/claude-plugin](https://npm.io/package/@temporal-architect/claude-plugin.md) — 335 weekly downloads

## Recent versions

- 0.0.4 (latest) — 2015-06-22
- 0.0.3 — 2015-06-21
- 0.0.2 — 2015-06-14

## README

# collection

  Enumerable data model collections, with all [Enumerable](https://github.com/component/enumerable)
  methods available.

## Installation

    $ component install component/collection

## API

### Collection([models])

  Initialize a new collection with the given `models`.

### Collection#length()

  Return the collection length.

### Collection#push(model:Object)

  Add `model` to the collection and return the index.

## License

  MIT

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