UNPKG

tastypie

Version:

Tastypie is a webservice API framework for Node.js based on Django's Tastypie Framework. It provides a convenient, yet powerful and highly customizable, abstraction for creating REST-style interfaces

12 lines (9 loc) 234 B
define(['../array/max', './values'], function(arrMax, values) { /** * Returns maximum value inside object. */ function max(obj, compareFn) { return arrMax(values(obj), compareFn); } return max; });