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

15 lines (10 loc) 346 B
// Generated by CoffeeScript 1.9.1 (function() { var XMLBuilder, assign; assign = require('lodash/assign'); XMLBuilder = require('./XMLBuilder'); module.exports.create = function(name, xmldec, doctype, options) { options = assign({}, xmldec, doctype, options); return new XMLBuilder(name, options).root(); }; }).call(this);