{"_id":"fetch-base64","_rev":"10-73cd57de5600cfdc69f6819d6d3619e4","name":"fetch-base64","description":"A node package to retrieve fetch local or remote files in base64 encoding.","dist-tags":{"latest":"2.1.2"},"versions":{"0.2.0":{"name":"fetch-base64","version":"0.2.0","description":"A node package to retrieve fetch local or remote images in base64 encoding.","main":"index.js","scripts":{"test":"mocha --harmony --recursive ./test","publish-please":"publish-please","prepublish":"publish-please guard"},"repository":{"type":"git","url":"git+https://github.com/gamell/fetch-base64.git"},"keywords":["base64","html","encoding","picture","assets","static","files","embedding","mime"],"author":{"name":"Joan Gamell"},"license":"MIT","bugs":{"url":"https://github.com/gamell/fetch-base64/issues"},"homepage":"https://github.com/gamell/fetch-base64#readme","dependencies":{"mime-types":"^2.1.11"},"devDependencies":{"chai":"^3.5.0","eslint":"^2.10.1","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.0.4","eslint-plugin-react":"^5.2.2","mocha":"^2.5.3","publish-please":"2.1.4","sinon":"^1.17.4"},"engines":{"node":">= 5.0.0"},"eslintConfig":{"extends":"airbnb","env":{"node":true,"es6":true},"rules":{"no-console":0,"strict":0}},"gitHead":"5fef6dd23e00abeb745732133ee52f27d1c94d45","_id":"fetch-base64@0.2.0","_shasum":"1475ff998189b9413ab08c9caf1df477b62a938c","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"gamell","email":"joan@gamell.io"},"dist":{"shasum":"1475ff998189b9413ab08c9caf1df477b62a938c","tarball":"https://registry.npmjs.org/fetch-base64/-/fetch-base64-0.2.0.tgz","integrity":"sha512-CDJ1RAqf4hBqLAfDoKIlgsH6AqiolpRHC/I321yqB/0PFHeY82WOaXTDOtmr9lLqkSApeJODAQ7eCIXJ0ANYRQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDVVWsVO3PTnIAu2HR79a2/qtY+SHIZpioQoc6yYn4QfAiBSSmixmko/SlZY5bMkwiH6O/OmgIo5HhHtfL95ZAB9Xg=="}]},"maintainers":[{"name":"gamell","email":"joan@gamell.io"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/fetch-base64-0.2.0.tgz_1466235015723_0.31065689073875546"},"directories":{}},"0.3.0":{"name":"fetch-base64","version":"0.3.0","description":"A node package to retrieve fetch local or remote images in base64 encoding.","main":"index.js","scripts":{"test":"mocha --harmony --recursive ./test","publish-please":"publish-please","prepublish":"publish-please guard"},"repository":{"type":"git","url":"git+https://github.com/gamell/fetch-base64.git"},"keywords":["base64","html","encoding","picture","assets","static","files","embedding","mime"],"author":{"name":"Joan Gamell"},"license":"MIT","bugs":{"url":"https://github.com/gamell/fetch-base64/issues"},"homepage":"https://github.com/gamell/fetch-base64#readme","dependencies":{"mime-types":"^2.1.11"},"devDependencies":{"chai":"^3.5.0","eslint":"^2.10.1","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.0.4","eslint-plugin-react":"^5.2.2","mocha":"^2.5.3","publish-please":"2.1.4","sinon":"^1.17.4"},"engines":{"node":">= 5.0.0"},"eslintConfig":{"extends":"airbnb","env":{"node":true,"es6":true},"rules":{"no-console":0,"strict":0}},"gitHead":"fc25099e7b51a82c3a05cba9ec066718ece4a857","_id":"fetch-base64@0.3.0","_shasum":"add166c8cbe2bdbafc7e995f2ae00e350227c790","_from":".","_npmVersion":"3.9.5","_nodeVersion":"6.2.2","_npmUser":{"name":"gamell","email":"joan@gamell.io"},"dist":{"shasum":"add166c8cbe2bdbafc7e995f2ae00e350227c790","tarball":"https://registry.npmjs.org/fetch-base64/-/fetch-base64-0.3.0.tgz","integrity":"sha512-PP3AJK3EAT2wfmKZNxPbMLoLLjaG8+t7ILhe7oSxWBosMd2BRjN7+v4Xf37rn+ooShql8OzGL9r5+YUnVuvUiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGhocpvOAmhsnhdmfPk52L4vSzL6VuvWp6vcZmQvtbnQAiBwg/jbDU5g1vkyYG23NXuLarpbqmQ/rPICOZoMptj+BQ=="}]},"maintainers":[{"name":"gamell","email":"joan@gamell.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-base64-0.3.0.tgz_1466237533038_0.1880112299695611"},"directories":{}},"1.0.0":{"name":"fetch-base64","version":"1.0.0","description":"A node package to retrieve fetch local or remote images in base64 encoding.","main":"index.js","scripts":{"test":"mocha --harmony --recursive ./test","publish-please":"publish-please","prepublish":"publish-please guard"},"repository":{"type":"git","url":"git+https://github.com/gamell/fetch-base64.git"},"keywords":["base64","html","encoding","picture","assets","static","files","embedding","mime"],"author":{"name":"Joan Gamell"},"license":"MIT","bugs":{"url":"https://github.com/gamell/fetch-base64/issues"},"homepage":"https://github.com/gamell/fetch-base64#readme","dependencies":{"mime-types":"^2.1.11"},"devDependencies":{"chai":"^3.5.0","eslint":"^2.10.1","eslint-config-airbnb":"^9.0.1","eslint-plugin-import":"^1.8.1","eslint-plugin-jsx-a11y":"^1.0.4","eslint-plugin-react":"^5.2.2","mocha":"^2.5.3","publish-please":"2.1.4","sinon":"^1.17.4"},"engines":{"node":">= 5.0.0"},"eslintConfig":{"extends":"airbnb","env":{"node":true,"es6":true},"rules":{"no-console":0,"strict":0}},"gitHead":"f38a8534d147c5ac176119323ea8014396d9c623","_id":"fetch-base64@1.0.0","_shasum":"2c761e5fb933dfc1cf0a1f48452cd738726f2804","_from":".","_npmVersion":"3.9.3","_nodeVersion":"6.2.1","_npmUser":{"name":"gamell","email":"joan@gamell.io"},"dist":{"shasum":"2c761e5fb933dfc1cf0a1f48452cd738726f2804","tarball":"https://registry.npmjs.org/fetch-base64/-/fetch-base64-1.0.0.tgz","integrity":"sha512-EYDLx5WtmjXTaQwRGsfS8LnNhsW6JaA2tuKRI64S9BKs3JnjvHuzd010d+HlUYhGw9/GCJn0+SwQU45gj3+8/A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFttCBm5vp8+UtI9ukFf/R+7qtCJFhU0ouSgxsbg+GRyAiEA1vAkYvOEjddFv44YeyxjOndvCae84Pm5TWUJ02KbGGw="}]},"maintainers":[{"name":"gamell","email":"joan@gamell.io"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/fetch-base64-1.0.0.tgz_1466495352849_0.09694351954385638"},"directories":{}},"2.0.0":{"name":"fetch-base64","version":"2.0.0","description":"A node package to retrieve fetch local or remote files in base64 encoding.","main":"index.js","scripts":{"test":"mocha --recursive ./test","publish-please":"publish-please","prepublish":"publish-please guard"},"repository":{"type":"git","url":"git+https://github.com/gamell/fetch-base64.git"},"keywords":["base64","html","encoding","picture","assets","static","files","embedding","mime","inline","inlining"],"author":{"name":"Joan Gamell"},"license":"MIT","bugs":{"url":"https://github.com/gamell/fetch-base64/issues"},"homepage":"https://github.com/gamell/fetch-base64#readme","dependencies":{"mime-types":"^2.1.15"},"devDependencies":{"chai":"^4.1.0","eslint":"^4.2.0","eslint-config-airbnb-base":"^11.2.0","eslint-plugin-import":"^2.7.0","mocha":"^3.4.2","publish-please":"^2.3.1","sinon":"^2.3.8"},"engines":{"node":">= 7.5.0"},"eslintConfig":{"extends":"airbnb","env":{"node":true,"es6":true},"rules":{"no-console":0,"strict":0}},"gitHead":"0fd24800d405184fa225cb08bf0eb29622404d8b","_id":"fetch-base64@2.0.0","_npmVersion":"5.0.3","_nodeVersion":"8.1.0","_npmUser":{"name":"gamell","email":"gamell@gamell.io"},"dist":{"integrity":"sha512-gaCZslcCnFWstrg+269WemT2/32kdDugHS1ZPoIEsnvIw9SU4Gji46nURiGZUbOr1RGbBY/POh8tqZYWqfH0lw==","shasum":"bc48ca0741f454738f4545766270f2cf2fbf62cb","tarball":"https://registry.npmjs.org/fetch-base64/-/fetch-base64-2.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD3KQMbnLJNfpD8uSbPiI3IZUijbJQeik5t4gE1ciX2VwIgAfJs9g6ayCwr6sSnLZvHgt93WI2zLsszXuYK+w5Ygxo="}]},"maintainers":[{"name":"gamell","email":"joan@gamell.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-base64-2.0.0.tgz_1500192293738_0.5339899705722928"},"directories":{}},"2.1.1":{"name":"fetch-base64","version":"2.1.1","description":"A node package to retrieve fetch local or remote files in base64 encoding.","main":"index.js","scripts":{"test":"mocha --recursive ./test"},"repository":{"type":"git","url":"git+https://github.com/gamell/fetch-base64.git"},"keywords":["base64","html","encoding","picture","assets","static","files","embedding","mime","inline","inlining"],"author":{"name":"Joan Gamell"},"license":"MIT","bugs":{"url":"https://github.com/gamell/fetch-base64/issues"},"homepage":"https://github.com/gamell/fetch-base64#readme","dependencies":{"mime-types":"^2.1.17"},"devDependencies":{"chai":"^4.1.2","eslint":"^5.1.0","eslint-config-airbnb-base":"^13.0.0","eslint-plugin-import":"^2.8.0","mocha":"^5.0.0","publish-please":"^3.1.1","sinon":"^6.1.3"},"engines":{"node":">= 7.5.0"},"eslintConfig":{"extends":"airbnb-base","env":{"node":true,"es6":true},"rules":{"no-console":0,"strict":0,"comma-dangle":0}},"gitHead":"58e5ee814ae98c08523ff3406f18025117d91d32","_id":"fetch-base64@2.1.1","_shasum":"f79006ae85b44de4eefbe9b91e149633646b8435","_from":".","_npmVersion":"4.1.2","_nodeVersion":"7.5.0","_npmUser":{"name":"gamell","email":"gamell@gamell.io"},"dist":{"shasum":"f79006ae85b44de4eefbe9b91e149633646b8435","tarball":"https://registry.npmjs.org/fetch-base64/-/fetch-base64-2.1.1.tgz","fileCount":21,"unpackedSize":181109,"integrity":"sha512-Gya1j2cCRyDFgi3W7ml0fRFy8+zigvncbRmJShMjLugcpKLy5A1JdIvhhqGeDiQ7V3Un8Dt5dE7G2/7ycnJpSA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFX5FOA8MfeUz6waHhsKQElxrDl2KdBMA40+7jMqqNl5AiEAgDO7MEHY95GQfPQodCFo2ogAwOtSbrEztkFiDxBUtiE="}]},"maintainers":[{"name":"gamell","email":"joan@gamell.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-base64_2.1.1_1531234678363_0.9392042641934197"},"_hasShrinkwrap":false},"2.1.2":{"name":"fetch-base64","version":"2.1.2","description":"A node package to retrieve fetch local or remote files in base64 encoding.","main":"index.js","scripts":{"test":"mocha --recursive ./test"},"repository":{"type":"git","url":"git+https://github.com/gamell/fetch-base64.git"},"keywords":["base64","html","encoding","picture","assets","static","files","embedding","mime","inline","inlining"],"author":{"name":"Joan Gamell"},"license":"MIT","bugs":{"url":"https://github.com/gamell/fetch-base64/issues"},"homepage":"https://github.com/gamell/fetch-base64#readme","dependencies":{"mime-types":"^2.1.17"},"devDependencies":{"chai":"^4.1.2","eslint":"^5.1.0","eslint-config-airbnb-base":"^13.0.0","eslint-plugin-import":"^2.8.0","mocha":"^5.0.0","sinon":"^6.1.3"},"engines":{"node":">= 7.5.0"},"eslintConfig":{"extends":"airbnb-base","env":{"node":true,"es6":true},"rules":{"no-console":0,"strict":0,"comma-dangle":0}},"gitHead":"7ca029f663c51a684a908944e5df859a691d3be8","_id":"fetch-base64@2.1.2","_npmVersion":"6.1.0","_nodeVersion":"7.5.0","_npmUser":{"name":"gamell","email":"gamell@gamell.io"},"dist":{"integrity":"sha512-APL3vK1yYXUZ5spJFmojP/xXepjpsJUy/4oCijsvOlHBm9lEJtqOHgFJD8AMP/Rlr/1DlGxLc5InA0SqFf05zA==","shasum":"460e581c823633aade6fa7fc8dc3f2cdb1da15c4","tarball":"https://registry.npmjs.org/fetch-base64/-/fetch-base64-2.1.2.tgz","fileCount":19,"unpackedSize":38790,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbRN3pCRA9TVsSAnZWagAAkhcP/3m2f37t2KAhyuu+SXQY\n2TCI8w3ST7IyXSN63Lte+4L1V3pTzOnKgfLWAZyCsho5SvMQz3dw1zhbt+kG\nc6Znnb1pWTwSyBJCNoRmDj2/PIn6fPCJzt+Domr7UFO7QYbACMjZCflLX6L6\nj3Wza8Q+j6IWvajNocUxJe0aw5xHVMfnuQNp+djbzjPNa0JlLhnU0QF0Z7aO\nI3k54JtjBDH8cxZEqckP3aUyvWEf1d59iPswTE9M7p9hvOcrIZpUD+FGvOV7\nH3ux08sN2coOstJ6YDqYY+9pi7q9pJMV+aXKtaEFLxC0USvayYuiKbOvd/Xj\nwDRDMyu0lVGtgGVlgdwX3S1LPvwDQqFLVxQg7NAgyW6qg4dqk/SBn4bnGaOo\nf20b8nqjxwcaSO6kYE8otY59iXUwmCa/oZ/5h1dPJ9K1QrVoWYqzHCXWI7MM\nCvVLV3UpTUEoz4QgU16mYCpYL2IXF/S2KHnSlf15AWxgK9DrPow/LkRpxELZ\nf1f5LnzUpupN0IHe3vvyyG4PbeJuJiPn/p2E1i+KjXJ4PrymdTcR/AJ9UVsU\nYmn6gNZwAcrGbNusXPfqV2lA6USPF0sPYkHA0a69EY59mEMXS2XNNBaRvali\nrGaguqgLZZkyC+YK3nFtRbQ4Hqexpv/8TyqfDwnOcogtm1QcI50sW3yYpLlm\nwmOi\r\n=MWJx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCibIjiAagrQosuYmFMGYmcgFG2owww4FcGn2jqJAd53wIgJj1Q+KsnMaRL8OEixx0vyCY5dAafg8vmwdhPcNF5Fnw="}]},"maintainers":[{"name":"gamell","email":"joan@gamell.io"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/fetch-base64_2.1.2_1531239912973_0.7663231205388887"},"_hasShrinkwrap":false}},"readme":"# Fetch Base64\n\n[![Build Status](https://travis-ci.org/gamell/fetch-base64.svg?branch=master)](https://travis-ci.org/gamell/fetch-base64)\n\nA node package to fetch local or remote files in base64 encoding. Useful for inlining assets (images, web fonts, etc.) into HTML or CSS documents.\n\nDisclaimer: I've only used this for images so far, but there is no reason why it shouldn't work for any other kind of files.\n\nIf you find a bug please report it [here](https://github.com/gamell/fetch-base64/issues).\n\n# Usage\n\n```js\nconst fetch = require('fetch-base64');\n\nfetch.local('/path/to/image.jpg').then((data) => {\n  // data[0] contains the raw base64-encoded jpg\n}).catch((reason) => {});\n\nfetch.remote('http://domain.com/to/image.jpg').then((data) => {\n  // data[1] contains base64-encoded jpg with MimeType\n}).catch((reason) => {});\n\nfecth.auto('/remote/or/local/path/image.gif').then((data) => {\n\n}).catch((reason) => {});\n```\n\n# Install\n\n`npm install --save fetch-base64`\n\n# API\n\n### Return value\n\nAll the functions return a [`Promise`](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Promise) which when resolved will return an Array with two Strings (`data`):\n\n- `data[0]` will contain the raw base64-encoded file. E.g.: `iVBORw0KGgoAAAANSUhEUg...`\n- `data[1]` will contain the same information as `data[0]` and the mimeType. Useful if you want to embed the file into an HTMl or CSS document. E.g.: `data:image/png;base64,iVBORw0KGgoAAAANSUhEUg...`\n\n## `fetch.local(...paths)`\n\nFetch local files and return a promise with the file in base64 format.\n\n### Params\n\n- `...paths` `<string(s)>`: Single or multiple paths which will be combined using node's [`path.resolve()`](https://nodejs.org/docs/latest/api/path.html#path_path_resolve_from_to). You can pass multiple paths to resolve a relative path to an absolute path. Some examples of valid values for this parameter:\n  - `'/some/absolute/path/image.jpg'`\n  - `'/base/path/to/html', './img/animation.gif'`\n\n\n## `fetch.remote(url)`\n\nFetch remote file in `url` and return a promise with the file in base64 format.\n\nUser Agent is spoofed to be same as Chrome's to avoid some restrictions, but fetching could still fail for other reasons.\n\n### Params\n\n- `url` `<string>`: URL where the file resides. Note that node must have access to the given URL.\n\n## `fetch.remote(from, to)`\n\nResolve url using node's [`url.resolve(from, to)`](https://nodejs.org/api/url.html#url_url_resolve_from_to), fetch remote file  and return a promise with the file in base64 format.\n\nUser Agent is spoofed to be same as Chrome's to avoid some restrictions, but fetching could still fail for other reasons.\n\n### Params\n\n- `from` `<string>`: The Base URL being resolved against.\n- `to` `<string>`: The HREF URL being resolved.\n\nSee [`url.resolve()`](https://nodejs.org/api/url.html#url_url_resolve_from_to) for more information and examples.\n\n## `fetch.remote(options)`\n\nAdvanced version of the `fetch.remote` where you can pass an `options` object containing:\n\n- `paths` `<[string]>`: Array with 2 Strings representing `from` and `to` (see above).\n- `url` `<string>`: The url to fetch. If both `paths` and `url` are passed, `paths` takes priority.\n- `headers` `<object>`: Object containing key-value pairs with the desired HTTP Headers you want to attach to the fetch request.\n\nUser Agent will still be spoofed to be same as Chrome.\n\n## `fetch.auto(...mixed)`\n\nThis function will do the *best effort* to automatically detect the kind of path passed (`remote` or `local`) and invoke the correspondent function.\n\nIt will use the `fetch.isRemote()` function to determine if a remote url or a local path has been passed **in the first parameter**.\n\n### Params\n\n- `...mixed` `<string(s)>`: Accepts the same parameters as `fetch.local(...paths)`, `fetch.remote(url)` or `fetch.remote(from, to)` - see above. Examples of valid calls:\n  - `fetch.auto('/base/path/to/html', './img/animation.gif');`\n  - `fetch.auto('http://some.domain/file.png');`\n  - `fetch.auto('http://some.domain/', 'file.png');`\n\n\n# Utility functions\n\n## `fetch.isLocal(path)`\n\nReturns `true` if the passed path (`<string>`) is local. Returns `false` otherwise.\n\n## `fetch.isRemote(path)`\n\nReturns `true` if the passed path (`<string>`) is remote. Returns `false` otherwise.\n\n\n# Examples\n\n## Include package\n\n```js\nconst fetch = require('fetch-base64');\n```\n\n## Local\n\n```js\n// will fetch image in /Users/bla/src/project/img/logo.jpg\nconst doFetchLocal = fetch.local('/Users/bla/src/project', './img/logo.jpg');\ndoFetchLocal.then((data) => {\n  console.log(`base64 image raw: ${data[0]}`);\n}, (reason) => {\n  console.log(`Fetch Failed: ${reason}`)\n});\n```\n\n## Remote\n\n```js\nconst doFetchRemote = fetch.remote('https://somedomain.com/image.jpg');\ndoFetchRemote.then((data) => {\n  console.log(`base64 image with mimeType: ${data[1]}`);\n}, (reason) => {\n  console.log(`Fetch Failed: ${reason}`)\n});\n```\n\n```js\nconst doFetchRemote2 = fetch.remote('https://somedomain.com', '/image.jpg');\ndoFetchRemote2.then((data) => {\n  console.log(`base64 image with mimeType: ${data[1]}`);\n}, (reason) => {\n  console.log(`Fetch Failed: ${reason}`)\n});\n```\n\n```js\nconst doFetchRemote = fetch.remote({ url: 'https://somedomain.com/image.jpg', headers: { 'custom-header': 'foo' } });\ndoFetchRemote.then((data) => {\n  console.log(`base64 image with mimeType: ${data[1]}`);\n}, (reason) => {\n  console.log(`Fetch Failed: ${reason}`)\n});\n```\n\n## Auto\n\n```js\nconst doFetchAuto = fetch.auto('https://somedomain.com/image.jpg');\ndoFetchAuto.then((data) => {\n  console.log(`base64 image: ${data[0]}`);\n}, (reason) => {\n  console.log(`Fetch Failed: ${reason}`)\n});\n```\n\n```js\nconst doFetchAuto2 = fetch.auto('/some/local/', '/path/', './image.jpg');\ndoFetchAuto2.then((data) => {\n  console.log(`base64 image: ${data[0]}`);\n}, (reason) => {\n  console.log(`Fetch Failed: ${reason}`)\n});\n```\n","maintainers":[{"name":"gamell","email":"joan@gamell.io"}],"time":{"modified":"2022-06-18T00:13:58.986Z","created":"2016-06-18T07:30:18.247Z","0.2.0":"2016-06-18T07:30:18.247Z","0.3.0":"2016-06-18T08:12:13.476Z","1.0.0":"2016-06-21T07:49:13.321Z","2.0.0":"2017-07-16T08:04:53.853Z","2.1.1":"2018-07-10T14:57:58.512Z","2.1.2":"2018-07-10T16:25:13.094Z"},"homepage":"https://github.com/gamell/fetch-base64#readme","keywords":["base64","html","encoding","picture","assets","static","files","embedding","mime","inline","inlining"],"repository":{"type":"git","url":"git+https://github.com/gamell/fetch-base64.git"},"author":{"name":"Joan Gamell"},"bugs":{"url":"https://github.com/gamell/fetch-base64/issues"},"license":"MIT","readmeFilename":"README.md","users":{"gamell":true}}