fendjs-collection

0.0.3 • Public • Published

fendjs-collection

Build Status

Enumerable data model collections, with all Enumerable methods available.

Installation

$ component install Frapwings/fendjs-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 license.

See the LICENSE.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.3
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.3
    1
  • 0.0.2
    1
  • 0.0.1
    1

Package Sidebar

Install

npm i fendjs-collection

Weekly Downloads

3

Version

0.0.3

License

MIT

Last publish

Collaborators

  • kazupon