UNPKG

decode-base64

Version:

A tiny function for decoding base64 strings into Uint8Arrays, useful for bundling and loading WASM modules.

41 lines (40 loc) 953 B
{ "name": "decode-base64", "repository": "github:fabiospampinato/decode-base64", "description": "A tiny function for decoding base64 strings into Uint8Arrays, useful for bundling and loading WASM modules.", "license": "MIT", "version": "3.0.2", "type": "module", "main": "dist/node.js", "types": "./dist/node.d.ts", "exports": { "node": "./dist/node.js", "default": "./dist/browser.js" }, "scripts": { "clean": "tsex clean", "compile": "tsex compile", "compile:watch": "tsex compile --watch", "test": "tsex test", "test:watch": "tsex test --watch", "prepublishOnly": "tsex prepare" }, "keywords": [ "decode", "base64", "uint8array", "buffer", "node", "web", "browser" ], "dependencies": { "node-buffer-encoding": "^1.0.3" }, "devDependencies": { "fava": "^0.3.4", "tsex": "^4.0.2", "typescript": "^5.7.3", "uint8-encoding": "^2.0.1" } }