Skip to content

Enumerable data model collections

Notifications You must be signed in to change notification settings

segment-boneyard/collection

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

collection

Enumerable data model collections, with all 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

About

Enumerable data model collections

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%