{"versions":{"0.0.0":{"name":"file64","version":"0.0.0","gitHead":"30d96a4f72a8baec96d7060e6ed8afb70639a999","_id":"file64@0.0.0","_nodeVersion":"18.12.1","_npmVersion":"8.19.2","dist":{"integrity":"sha512-9vSSon8ra/gWTTC3SMgOa+09JSuDY1e00Ne1o295LBFYXoG1ZLQZNMHEGRbC2HCLjjTqwGj4b4HMTsiMBu0IDA==","shasum":"2a5d27fd3cf1fb2e68e82452f81d863b374cd05d","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file64/-/file64-0.0.0.tgz","fileCount":1,"unpackedSize":45,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF58c1p5Q84ZVShMGk6Tbh+kgnODvqHMwXcGX+yXkq0hAiEAl5G1bOYueltKUCFAvxTnMymuwEJtamiFM+OVFPz6GPo="}],"size":140},"_npmUser":{"name":"anonymous","email":"mark@remarkablemark.org"},"directories":{},"maintainers":[{"name":"anonymous","email":"mark@remarkablemark.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/file64_0.0.0_1687657060435_0.7318501472620906"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-25T01:37:40.615Z","publish_time":1687657060615,"_source_registry_name":"default","contributors":[]},"1.0.0":{"name":"file64","version":"1.0.0","description":"Convert Base64 to Blob/File and Blob/File to Base64.","author":{"name":"Mark","email":"mark@remarkablemark.org"},"main":"lib/index.js","types":"lib/index.d.ts","module":"module/index.mjs","exports":{"types":"./lib/index.d.ts","import":"./module/index.mjs","require":"./lib/index.js"},"scripts":{"build":"tsc","build:watch":"tsc --watch","clean":"rm -rf coverage docs lib","docs":"typedoc","lint":"eslint --ignore-path .gitignore --ext .js,.ts,.tsx .","lint:fix":"npm run lint -- --fix","lint:tsc":"tsc --noEmit","_postinstall":"husky install","postpublish":"pinst --enable","prepublishOnly":"pinst --disable && npm run lint && npm run lint:tsc && npm run test:ci && npm run clean && npm run build","test":"jest","test:ci":"CI=true jest --ci --colors --coverage","test:module":"npm run build && node --test module","test:watch":"jest --watch"},"repository":{"type":"git","url":"git+https://github.com/encrypit/file64.git"},"bugs":{"url":"https://github.com/encrypit/file64/issues"},"keywords":["base64","base64-to-blob","base64-to-file","blob","blob-to-base64","decode","encode","file","file-to-base64"],"devDependencies":{"@commitlint/cli":"17.6.6","@commitlint/config-conventional":"17.6.6","@types/jest":"29.5.2","@types/node":"20.3.1","@typescript-eslint/eslint-plugin":"5.60.0","@typescript-eslint/parser":"5.60.0","eslint":"8.43.0","eslint-plugin-prettier":"4.2.1","eslint-plugin-simple-import-sort":"10.0.0","eslint-plugin-tsdoc":"0.2.17","husky":"8.0.3","jest":"29.5.0","jest-environment-jsdom":"29.5.0","lint-staged":"13.2.2","pinst":"3.0.0","prettier":"2.8.8","ts-jest":"29.1.0","typedoc":"0.24.8","typescript":"5.1.3"},"engines":{"node":">=18"},"license":"MIT","gitHead":"c073515d7143d2210b0eb8b3ac054f371149b773","homepage":"https://github.com/encrypit/file64#readme","_id":"file64@1.0.0","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-aTL/QskEOJLLliiv692a2kcnTET/+Lsn8zgdUt5CgjjxE8wlAGvsqwI/Tatfnnyhl+U9MbKlEtP8doI98CqSzw==","shasum":"166d293342ca5f55f13a33e0813e1298e0b7ddad","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file64/-/file64-1.0.0.tgz","fileCount":25,"unpackedSize":24565,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCe4u8kViirccuykRBznegSwyJKoGjeFceS8LNQCX9RXgIgSDq6n2FAW34sEeMAub203NL1nvYw8QWNja+Bih7/HBQ="}],"size":6329},"_npmUser":{"name":"anonymous","email":"mark@remarkablemark.org"},"directories":{},"maintainers":[{"name":"anonymous","email":"mark@remarkablemark.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/file64_1.0.0_1687668628389_0.6107229501123501"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-25T04:50:28.613Z","publish_time":1687668628613,"_source_registry_name":"default","contributors":[]},"1.0.1":{"name":"file64","version":"1.0.1","description":"Convert Base64 to Blob/File and Blob/File to Base64.","author":{"name":"Mark","email":"mark@remarkablemark.org"},"main":"lib/index.js","types":"lib/index.d.ts","module":"module/index.mjs","exports":{"types":"./lib/index.d.ts","import":"./module/index.mjs","require":"./lib/index.js"},"scripts":{"build":"tsc","build:watch":"tsc --watch","clean":"rm -rf coverage docs lib","docs":"typedoc","lint":"eslint --ignore-path .gitignore --ext .js,.ts,.tsx .","lint:fix":"npm run lint -- --fix","lint:tsc":"tsc --noEmit","_postinstall":"husky install","postpublish":"pinst --enable","prepublishOnly":"pinst --disable && npm run lint && npm run lint:tsc && npm run test:ci && npm run clean && npm run build","test":"jest","test:ci":"CI=true jest --ci --colors --coverage","test:module":"npm run build && node --test module","test:watch":"jest --watch"},"repository":{"type":"git","url":"git+https://github.com/encrypit/file64.git"},"bugs":{"url":"https://github.com/encrypit/file64/issues"},"keywords":["base64","base64-to-blob","base64-to-file","blob","blob-to-base64","decode","encode","file","file-to-base64"],"devDependencies":{"@commitlint/cli":"17.6.6","@commitlint/config-conventional":"17.6.6","@types/jest":"29.5.2","@types/node":"20.3.1","@typescript-eslint/eslint-plugin":"5.60.0","@typescript-eslint/parser":"5.60.0","eslint":"8.43.0","eslint-plugin-prettier":"4.2.1","eslint-plugin-simple-import-sort":"10.0.0","eslint-plugin-tsdoc":"0.2.17","husky":"8.0.3","jest":"29.5.0","jest-environment-jsdom":"29.5.0","lint-staged":"13.2.2","pinst":"3.0.0","prettier":"2.8.8","ts-jest":"29.1.0","typedoc":"0.24.8","typescript":"5.1.3"},"engines":{"node":">=18"},"license":"MIT","gitHead":"ddf9a26bac18c2a3005a5f14cd2778cacd9849b7","homepage":"https://github.com/encrypit/file64#readme","_id":"file64@1.0.1","_nodeVersion":"18.16.0","_npmVersion":"9.5.1","dist":{"integrity":"sha512-DiGS9O5g3ePvUQ46okrfOyi/C0W4pKK9d2laPchSdF8gsEC8wscB4agtlHN/ZvrS86k3JMoG3cWsol51lXaI9w==","shasum":"8c3987c51862167ec8fbd1cb2b2bdaf8609d21ab","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file64/-/file64-1.0.1.tgz","fileCount":25,"unpackedSize":24631,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDCM47otst7Pbg1jvXPiUuL91RvOgNZM84CgqhguAJiwgIhAMOW3Veu/ZcJZh+RUVIzHgZFQPM93BC2MauIVQzCeK/4"}],"size":6328},"_npmUser":{"name":"anonymous","email":"mark@remarkablemark.org"},"directories":{},"maintainers":[{"name":"anonymous","email":"mark@remarkablemark.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/file64_1.0.1_1687714829117_0.5944665953158581"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-06-25T17:40:29.350Z","publish_time":1687714829350,"_source_registry_name":"default","contributors":[]},"1.0.2":{"name":"file64","version":"1.0.2","description":"Convert Base64 to Blob/File and Blob/File to Base64.","author":{"name":"Mark","email":"mark@remarkablemark.org"},"main":"cjs/index.js","module":"esm/index.js","exports":{"import":"./esm/index.js","require":"./cjs/index.js"},"scripts":{"build":"npm run build:cjs && npm run build:esm","build:cjs":"tsc","build:esm":"tsc --module nodenext --outDir esm","build:watch":"tsc --watch","clean":"rm -rf cjs coverage docs esm","docs":"typedoc","lint":"eslint --ignore-path .gitignore --ext .js,.ts,.tsx .","lint:fix":"npm run lint -- --fix","lint:tsc":"tsc --noEmit","_postinstall":"husky install","postpublish":"pinst --enable","prepublishOnly":"pinst --disable && npm run lint && npm run lint:tsc && npm run test:ci && npm run test:esm && npm run clean && npm run build","test":"jest","test:ci":"CI=true jest --ci --colors --coverage","test:esm":"npm run build:esm && node --test src","test:watch":"jest --watch"},"repository":{"type":"git","url":"git+https://github.com/encrypit/file64.git"},"bugs":{"url":"https://github.com/encrypit/file64/issues"},"keywords":["base64","base64-to-blob","base64-to-file","blob","blob-to-base64","decode","encode","file","file-to-base64"],"devDependencies":{"@commitlint/cli":"17.6.6","@commitlint/config-conventional":"17.6.6","@types/jest":"29.5.3","@types/node":"20.4.1","@typescript-eslint/eslint-plugin":"6.0.0","@typescript-eslint/parser":"6.0.0","eslint":"8.44.0","eslint-plugin-prettier":"5.0.0","eslint-plugin-simple-import-sort":"10.0.0","eslint-plugin-tsdoc":"0.2.17","husky":"8.0.3","jest":"29.6.1","jest-environment-jsdom":"29.6.1","lint-staged":"13.2.3","pinst":"3.0.0","prettier":"3.0.0","ts-jest":"29.1.1","typedoc":"0.24.8","typescript":"5.1.6"},"engines":{"node":">=18"},"license":"MIT","types":"./cjs/index.d.ts","gitHead":"f56008fdd04bf067117247909bda2f5b1938833e","homepage":"https://github.com/encrypit/file64#readme","_id":"file64@1.0.2","_nodeVersion":"18.16.1","_npmVersion":"9.5.1","dist":{"integrity":"sha512-cDQefGBdb8OO7Pb2nXiRcZlVjwgzoG0uuJ/H2fxNdz3vbOZctp0iPJoHDQ4VZrirqGYc9n/p9+ZqptLZrcSGRA==","shasum":"d3dde9bab142ccf0049e0bd407a2576e94894825","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file64/-/file64-1.0.2.tgz","fileCount":43,"unpackedSize":43098,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD0IjXwfaQK+GorrKDktsgQKyXpy7O4bVJYbIwWpwXdJQIhAKSBNEIsvGegPc7hZJi7dtANReTW8aeCOZuDyE+SyeLH"}],"size":6692},"_npmUser":{"name":"anonymous","email":"mark@remarkablemark.org"},"directories":{},"maintainers":[{"name":"anonymous","email":"mark@remarkablemark.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/file64_1.0.2_1689136337001_0.38608632125311226"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-07-12T04:32:17.183Z","publish_time":1689136337183,"_source_registry_name":"default","contributors":[]},"1.0.3":{"name":"file64","version":"1.0.3","description":"Convert Base64 to Blob/File and Blob/File to Base64.","author":{"name":"Mark","email":"mark@remarkablemark.org"},"main":"./cjs/index.js","types":"./cjs/index.d.ts","scripts":{"build":"tsc","build:watch":"tsc --watch","clean":"rm -rf cjs coverage docs","docs":"typedoc","lint":"eslint --ignore-path .gitignore --ext .js,.mjs,.ts .","lint:fix":"npm run lint -- --fix","lint:tsc":"tsc --noEmit","_postinstall":"husky install","postpublish":"pinst --enable","prepublishOnly":"pinst --disable && npm run lint && npm run lint:tsc && npm run test:ci && npm run test:esm && npm run clean && npm run build","test":"jest","test:ci":"CI=true jest --ci --colors --coverage","test:esm":"npm run build && node --test src","test:watch":"jest --watch"},"repository":{"type":"git","url":"git+https://github.com/encrypit/file64.git"},"bugs":{"url":"https://github.com/encrypit/file64/issues"},"keywords":["base64","base64-to-blob","base64-to-file","blob","blob-to-base64","decode","encode","file","file-to-base64"],"devDependencies":{"@commitlint/cli":"18.2.0","@commitlint/config-conventional":"18.1.0","@types/jest":"29.5.6","@types/node":"20.8.9","@typescript-eslint/eslint-plugin":"6.9.0","@typescript-eslint/parser":"6.9.0","eslint":"8.52.0","eslint-plugin-prettier":"5.0.1","eslint-plugin-simple-import-sort":"10.0.0","eslint-plugin-tsdoc":"0.2.17","husky":"8.0.3","jest":"29.7.0","jest-environment-jsdom":"29.7.0","lint-staged":"15.0.2","pinst":"3.0.0","prettier":"3.0.3","ts-jest":"29.1.1","typedoc":"0.25.2","typescript":"5.2.2"},"engines":{"node":">=18"},"license":"MIT","_id":"file64@1.0.3","gitHead":"4281a10758e537428c95d19df59b8ed436a6ca91","homepage":"https://github.com/encrypit/file64#readme","_nodeVersion":"18.18.2","_npmVersion":"9.8.1","dist":{"integrity":"sha512-XTPmQ/uhnQWw6RgEG1uXhByWRrMZucXGL4fGUB1JVuuwjUUoDEvD5HvGqg7+NiFZ+ymFa36cEaG+v7i2FpThOQ==","shasum":"1f2a1cddeee25f7c5d3e3ed215a712868d63e6e5","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file64/-/file64-1.0.3.tgz","fileCount":34,"unpackedSize":31367,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCS/VkjQaIp6JLlw/7HvC4Mzd3yiNKe9gvK5fNrXNnHZwIgRE/ZHgiJ+c1UzNFjRRBOBhPcuXXLq6KXRSJOlmxuiMM="}],"size":7711},"_npmUser":{"name":"anonymous","email":"mark@remarkablemark.org"},"directories":{},"maintainers":[{"name":"anonymous","email":"mark@remarkablemark.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/file64_1.0.3_1698554080164_0.8786384413662323"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2023-10-29T04:34:40.359Z","publish_time":1698554080359,"_source_registry_name":"default","contributors":[]},"1.0.4":{"name":"file64","version":"1.0.4","description":"Convert Base64 to Blob/File and Blob/File to Base64.","author":{"name":"Mark","email":"mark@remarkablemark.org"},"main":"./cjs/index.js","types":"./cjs/index.d.ts","scripts":{"build":"tsc","build:watch":"tsc --watch","clean":"rm -rf cjs coverage docs","docs":"typedoc","lint":"eslint .","lint:fix":"npm run lint -- --fix","lint:tsc":"tsc --noEmit","prepare":"husky","prepublishOnly":"npm run lint && npm run lint:tsc && npm run test:ci && npm run test:esm && npm run clean && npm run build","test":"jest","test:ci":"CI=true jest --ci --colors --coverage","test:esm":"npm run build && node --test src","test:watch":"jest --watch"},"repository":{"type":"git","url":"git+https://github.com/encrypit/file64.git"},"bugs":{"url":"https://github.com/encrypit/file64/issues"},"keywords":["base64","base64-to-blob","base64-to-file","blob","blob-to-base64","decode","encode","file","file-to-base64"],"devDependencies":{"@commitlint/cli":"19.4.1","@commitlint/config-conventional":"19.4.1","@eslint/compat":"1.1.1","@eslint/eslintrc":"3.1.0","@eslint/js":"9.9.1","@types/jest":"29.5.12","@types/node":"22.5.4","@typescript-eslint/eslint-plugin":"8.4.0","@typescript-eslint/parser":"8.4.0","eslint":"9.9.1","eslint-plugin-prettier":"5.2.1","eslint-plugin-simple-import-sort":"12.1.1","eslint-plugin-tsdoc":"0.3.0","globals":"15.9.0","husky":"9.1.5","jest":"29.7.0","jest-environment-jsdom":"29.7.0","lint-staged":"15.2.10","prettier":"3.3.3","ts-jest":"29.2.5","typedoc":"0.26.6","typescript":"5.5.4"},"engines":{"node":">=18"},"license":"MIT","_id":"file64@1.0.4","gitHead":"75e1e1b73432ca621f06778d8c93a76613be12f4","homepage":"https://github.com/encrypit/file64#readme","_nodeVersion":"20.17.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-X8ck2dNHmDB+RbV0PpkZ7Vu73tvjvNDXs75tQTmmsiiu+HF4tmnZTZCgVqsVGd87VAjViMNxhorI51RWokbFYA==","shasum":"3752fc69c7d6a5e79267327c7ae28e32d50d4995","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file64/-/file64-1.0.4.tgz","fileCount":34,"unpackedSize":31284,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/file64@1.0.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDa6E37bsuErPd8Pwpgw7ALpGeKGeOk8X6oZcmFW31YIwIhAK0nOuk0JJ+naiHbLifmjp4ybOsolI9rVCM2YuNHLx7D"}],"size":7754},"_npmUser":{"name":"anonymous","email":"mark@remarkablemark.org"},"directories":{},"maintainers":[{"name":"anonymous","email":"mark@remarkablemark.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/file64_1.0.4_1725510500615_0.22163343478970554"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-05T04:28:20.881Z","publish_time":1725510500881,"_source_registry_name":"default","contributors":[]},"1.0.5":{"name":"file64","version":"1.0.5","description":"Convert Base64 to Blob/File and Blob/File to Base64.","author":{"name":"Mark","email":"mark@remarkablemark.org"},"main":"./cjs/index.js","types":"./cjs/index.d.ts","scripts":{"build":"tsc","build:watch":"tsc --watch","clean":"rm -rf cjs coverage docs","docs":"typedoc","lint":"eslint .","lint:fix":"npm run lint -- --fix","lint:tsc":"tsc --noEmit","prepare":"husky","prepublishOnly":"npm run lint && npm run lint:tsc && npm run test:ci && npm run test:esm && npm run clean && npm run build","test":"jest","test:ci":"CI=true jest --ci --colors --coverage","test:esm":"npm run build && node --test src","test:watch":"jest --watch"},"repository":{"type":"git","url":"git+https://github.com/encrypit/file64.git"},"bugs":{"url":"https://github.com/encrypit/file64/issues"},"keywords":["base64","base64-to-blob","base64-to-file","blob","blob-to-base64","decode","encode","file","file-to-base64"],"devDependencies":{"@commitlint/cli":"19.8.1","@commitlint/config-conventional":"19.8.1","@eslint/compat":"1.3.1","@eslint/eslintrc":"3.3.1","@eslint/js":"9.30.1","@types/jest":"30.0.0","@types/node":"24.0.10","@typescript-eslint/eslint-plugin":"8.35.1","@typescript-eslint/parser":"8.35.1","eslint":"9.30.1","eslint-plugin-prettier":"5.5.1","eslint-plugin-simple-import-sort":"12.1.1","eslint-plugin-tsdoc":"0.4.0","globals":"16.2.0","husky":"9.1.7","jest":"30.0.3","jest-environment-jsdom":"30.0.2","lint-staged":"16.1.2","prettier":"3.6.2","ts-jest":"29.4.0","ts-node":"10.9.2","typedoc":"0.28.7","typescript":"5.8.3"},"engines":{"node":">=18"},"license":"MIT","_id":"file64@1.0.5","gitHead":"ce1a8a29d7c2443a85995911ed90123bc2006b99","homepage":"https://github.com/encrypit/file64#readme","_nodeVersion":"20.19.3","_npmVersion":"10.8.2","dist":{"integrity":"sha512-GQLvUJk6RIMUJhULultcZ5cQfKUIgcBWmiYdVMXAAljhNJAmEj+H16LGiaR5ZbF+XEBm4CGjVFv5FzuL6EeceA==","shasum":"779e7848f87edd661b9ef098398e792613bb2e85","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/file64/-/file64-1.0.5.tgz","fileCount":34,"unpackedSize":31569,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/file64@1.0.5","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCW6Uw5pSud3Y4Y0lk9FrrCe6Van+bDTuD5OOqhPxzkBQIgDu/r2tg5A4UNjx+pU6fbcpL0uLpdY2lWPrcrnMhYk3w="}],"size":7781},"_npmUser":{"name":"anonymous","email":"mark@remarkablemark.org","actor":{"name":"remarkablemark","email":"mark@remarkablemark.org","type":"user"}},"directories":{},"maintainers":[{"name":"anonymous","email":"mark@remarkablemark.org"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/file64_1.0.5_1751515972547_0.4010745523302244"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2025-07-03T04:12:52.712Z","publish_time":1751515972712,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"1.0.5"},"name":"file64","time":{"created":"2023-06-25T01:37:47.384Z","modified":"2025-07-03T04:43:09.012Z","0.0.0":"2023-06-25T01:37:40.615Z","1.0.0":"2023-06-25T04:50:28.613Z","1.0.1":"2023-06-25T17:40:29.350Z","1.0.2":"2023-07-12T04:32:17.183Z","1.0.3":"2023-10-29T04:34:40.359Z","1.0.4":"2024-09-05T04:28:20.881Z","1.0.5":"2025-07-03T04:12:52.712Z"},"readme":"# file64\n\n[![NPM](https://nodei.co/npm/file64.png)](https://nodei.co/npm/file64/)\n\n[![NPM version](https://img.shields.io/npm/v/file64.svg)](https://www.npmjs.com/package/file64)\n[![build](https://github.com/encrypit/file64/actions/workflows/build.yml/badge.svg)](https://github.com/encrypit/file64/actions/workflows/build.yml)\n[![codecov](https://codecov.io/gh/encrypit/file64/branch/master/graph/badge.svg?token=IKmG72W8c6)](https://codecov.io/gh/encrypit/file64)\n\nConvert [Base64](https://developer.mozilla.org/docs/Glossary/Base64) to [Blob](https://javascript.info/blob)/File and Blob/File to Base64.\n\n## Installation\n\n[NPM](https://www.npmjs.com/package/file64):\n\n```sh\nnpm install file64\n```\n\n[Yarn](https://yarnpkg.com/package/file64):\n\n```sh\nyarn add file64\n```\n\n## Usage\n\nConvert Base64 to Blob:\n\n```ts\nimport { base64ToBlob } from 'file64';\n\nconst blob = await base64ToBlob('data:text/plain;base64,YQ==');\n```\n\nConvert Base64 to File:\n\n```ts\nimport { base64ToFile } from 'file64';\n\nconst file = await base64ToFile('data:text/plain;base64,YQ==', 'file.txt');\n```\n\nConvert Blob to Base64:\n\n```ts\nimport { blobToBase64 } from 'file64';\n\nconst blob = new Blob(['a'], { type: 'text/plain' });\nconst base64 = await blobToBase64(blob);\n```\n\nConvert File to Base64:\n\n```ts\nimport { fileToBase64 } from 'file64';\n\nconst file = new File(['a'], 'file.txt', { type: 'text/plain' });\nconst base64 = await fileToBase64(file);\n```\n\n## Release\n\nRelease is automated with [Release Please](https://github.com/googleapis/release-please).\n\n## License\n\n[MIT](https://github.com/encrypit/file64/blob/master/LICENSE)","users":{}}