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

13 lines (9 loc) 247 B
var arrMin = require('../array/min'); var values = require('./values'); /** * Returns minimum value inside object. */ function min(obj, iterator) { return arrMin(values(obj), iterator); } module.exports = min;