Monday, November 24, 2014

Linq in your browser: underscore.js

While working on an Angular application, I ended in a situation where I had to add another tool in my toolbox: underscore.js. It not only offers over 100 functions that support functional helpers like map, filter, invoke — but also has a fluent API that allows to create LINQ style queries.

An example:

2 comments:

Anonymous said...

Make sure to check out lo -dash.

It is considered superior to underscore for a number of reasons.

DBJDBJ said...

You want a really fluid API?

See this