PATH:
usr
/
local
/
lib
/
node_modules
/
pm2
/
node_modules
/
axios
/
lib
/
helpers
'use strict'; /** * Syntactic sugar for invoking a function and expanding an array for arguments. * * Common use case would be to use `Function.prototype.apply`. * * ```js * function f(x, y, z) {} * var args = [1, 2, 3]; * f.apply(null, args); * ``` * * With `spread` this example can be re-written. * * ```js * spread(function(x, y, z) {})([1, 2, 3]); * ``` * * @param {Function} callback * @returns {Function} */ module.exports = function spread(callback) { return function wrap(arr) { return callback.apply(null, arr); }; };
[-] bind.js
[edit]
[-] spread.js
[edit]
[+]
..
[-] cookies.js
[edit]
[-] combineURLs.js
[edit]
[-] parseHeaders.js
[edit]
[-] normalizeHeaderName.js
[edit]
[-] deprecatedMethod.js
[edit]
[-] buildURL.js
[edit]
[-] README.md
[edit]
[-] isURLSameOrigin.js
[edit]
[-] isAbsoluteURL.js
[edit]