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

17 lines (13 loc) 265 B
define(['./forOwn'], function (forOwn) { /** * Get object values */ function values(obj) { var vals = []; forOwn(obj, function(val, key){ vals.push(val); }); return vals; } return values; });