How to use the mappersmith.Utils.extend function in mappersmith

To help you get started, we’ve selected a few mappersmith examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github tulios / mappersmith / src / fixture.js View on Github external
data: function() {
    if (typeof entry !== 'object') return this.opts.value;
    return Utils.extend({}, this.opts.value);
  },
github tulios / mappersmith / src / fixture.js View on Github external
failure: function(params) {
    this.opts.success = false;
    this.opts.errorParams = Utils.extend({status: 400}, params || {});
    return this;
  },

mappersmith

It is a lightweight rest client for node.js and the browser

MIT
Latest version published 6 months ago

Package Health Score

83 / 100
Full package analysis