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) 226 B
define(['./map', '../function/prop'], function (map, prop) { /** * Extract a list of property values. */ function pluck(obj, propName){ return map(obj, prop(propName)); } return pluck; });