2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-20 20:00:40 +03:00

docs(helpers/fromDataURI)

This commit is contained in:
Jay
2022-06-02 20:49:21 +02:00
parent 10c20daa2b
commit a0808db951
+2
View File
@@ -8,10 +8,12 @@ var DATA_URL_PATTERN = /^(?:([^;]+);)?(?:[^;]+;)?(base64|),([\s\S]*)$/;
/** /**
* Parse data uri to a Buffer or Blob * Parse data uri to a Buffer or Blob
*
* @param {String} uri * @param {String} uri
* @param {?Boolean} asBlob * @param {?Boolean} asBlob
* @param {?Object} options * @param {?Object} options
* @param {?Function} options.Blob * @param {?Function} options.Blob
*
* @returns {Buffer|Blob} * @returns {Buffer|Blob}
*/ */
module.exports = function fromDataURI(uri, asBlob, options) { module.exports = function fromDataURI(uri, asBlob, options) {