underscore_extended

lots of fun functions for use with underscore.js

npm install underscore_extended
1 downloads in the last week
4 downloads in the last month

Underscore Extended

Adds these helpful functions to underscore, and a few more that should be documented soon...

Utility

  • pairs
  • toObject
  • unEscape
  • isNotEmpty

Object mapping/splitting

  • selectKeys
  • removeKeys
  • renameKeys
  • nest
  • splitKeys

Object Merging

  • combine
  • extend_r
  • fill

Array

  • isLastEmpty
  • merge
  • zipMerge
  • partition
  • compress
  • joinOn
  • matchTo

Map

  • mapRenameKeys
  • mapMerge
  • mapNest
  • mapCombine

Object/Array unification

  • filter$
  • map$

Functions

  • juxtapose

Object/Primative unification

  • add
  • subtract
  • multiply
  • divide
  • lessThan
  • greaterThan

Conditional

  • either
npm loves you