mcollina / bloomrun

A js pattern matcher
MIT License
120 stars 10 forks source link

List patterns #16

Closed mcollina closed 9 years ago

mcollina commented 9 years ago

Adds the ability to list patterns properly:

  1. support empty patterns in list() and iterator(), these will return all matching payloads
  2. adds an patterns: true option to lookup(), list() and iterator(), to return the patterns, not the payload.

It also remove the devDependency to nanite-drain.

@mcdonnelldean can you please review this?

mcdonnelldean commented 9 years ago

@mcollina LGTM, really like this addition rounds out the API much better. Merge and release (I've been dying to say this) :D

mcollina commented 9 years ago

I know :D