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) 307 B
define(['./forOwn'], function (forOwn) { /** * Get object keys */ var keys = Object.keys || function (obj) { var keys = []; forOwn(obj, function(val, key){ keys.push(key); }); return keys; }; return keys; });