Skip to content

Commit

Permalink
Collection readme
Browse files Browse the repository at this point in the history
  • Loading branch information
tj committed Dec 4, 2009
1 parent 996271b commit 460c2a0
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions Readme.md
Expand Up @@ -19,6 +19,7 @@
* Extendable using Express 'Modules'
* Static file serving
* View support
* Collections and chainable iterators
* Routing
* string matching
* regexp with captures
Expand Down Expand Up @@ -94,6 +95,16 @@ POST /login

* Coming Soon

## Collections

Express ships with the Collection class, allowing
you to chain iterations on array-like objects.

$(['tj', 'matt', 'taylor'])
.select(function(name){ return name.charAt(0) == 't' })
.reject(function(name){ return name.length < 4 })
.first()

## Running Tests

Express uses the [JSpec](http://jspec.info) BDD JavaScript testing
Expand Down

0 comments on commit 460c2a0

Please sign in to comment.