{"name":"base64-arraybuffer-es6","version":"3.0.1","description":"Encode/decode base64 data into ArrayBuffers","homepage":"https://github.com/brettz9/base64-arraybuffer","author":{"name":"Brett Zamir"},"type":"module","types":"./dist/types/cjs/base64-arraybuffer.d.ts","contributors":[{"name":"Niklas von Hertzen","email":"niklasvh@gmail.com","url":"http://hertzen.com"}],"repository":{"type":"git","url":"git+https://github.com/brettz9/base64-arraybuffer.git"},"bugs":{"url":"https://github.com/brettz9/base64-arraybuffer/issues"},"license":"MIT","main":"./dist/base64-arraybuffer.cjs","module":"./dist/base64-arraybuffer-es.js","exports":{".":{"import":{"types":"./dist/types/esm/base64-arraybuffer.d.ts","default":"./dist/base64-arraybuffer-es.js"},"require":{"types":"./dist/types/cjs/base64-arraybuffer.d.ts","default":"./dist/base64-arraybuffer.cjs"}}},"engines":{"node":"^12.22.0 || ^14.17.0 || >=16.0.0"},"browserslist":["cover 100%"],"dependencies":{},"devDependencies":{"@babel/core":"^7.21.4","@babel/preset-env":"^7.21.4","@brettz9/eslint-plugin":"^1.0.4","@rollup/plugin-babel":"^6.0.3","@types/mocha":"^10.0.1","@types/node":"^18.16.1","c8":"^7.13.0","eslint":"^8.39.0","eslint-config-ash-nazg":"^34.11.1","eslint-config-standard":"^17.0.0","eslint-plugin-array-func":"^3.1.8","eslint-plugin-compat":"^4.1.4","eslint-plugin-eslint-comments":"^3.2.0","eslint-plugin-html":"^7.1.0","eslint-plugin-import":"^2.27.5","eslint-plugin-jsdoc":"^43.1.1","eslint-plugin-markdown":"^3.0.0","eslint-plugin-no-unsanitized":"^4.0.2","eslint-plugin-no-use-extend-native":"^0.5.0","eslint-plugin-node":"^11.1.0","eslint-plugin-promise":"^6.1.1","eslint-plugin-sonarjs":"^0.19.0","eslint-plugin-standard":"^4.1.0","eslint-plugin-unicorn":"^46.0.0","http-server":"^14.1.1","mocha":"^10.2.0","open-cli":"^7.2.0","rollup":"3.21.0","typescript":"^5.0.4"},"keywords":["base64","arraybuffer"],"scripts":{"tsc":"tsc","start":"http-server -p 8093","eslint":"eslint --ext js,md,html .","lint":"npm run eslint --","build":"rollup -c && tsc --p tsconfig-build.json && tsc --p tsconfig-build-es.json","mocha":"mocha test/*.js","test":"npm run eslint && npm run build && c8 npm run mocha","browser-test":"npm run eslint && npm run build && open-cli http://127.0.0.1:8093/test/ && npm start"},"_id":"base64-arraybuffer-es6@3.0.1","_integrity":"sha512-bOxevePlYA8Kba1xVnrQSoktrt12UkP6Jhl2wO+GCGbKAkF4fpDxyg7xRFffZYC0kP2RgMPOSRbzmdHReWnMyg==","_resolved":"/private/var/folders/2n/_szg3q3d15n9mn2jd_q91cym0000gn/T/c2a8a8f235715a2e29dcacaddb14673f/base64-arraybuffer-es6-3.0.1.tgz","_from":"file:base64-arraybuffer-es6-3.0.1.tgz","_nodeVersion":"20.0.0","_npmVersion":"9.6.4","dist":{"integrity":"sha512-bOxevePlYA8Kba1xVnrQSoktrt12UkP6Jhl2wO+GCGbKAkF4fpDxyg7xRFffZYC0kP2RgMPOSRbzmdHReWnMyg==","shasum":"2ad032cc4e378de6bbd7aa1b29f695b277dc4474","tarball":"http://registry-npm.ywwl.com/base64-arraybuffer-es6/download/base64-arraybuffer-es6-3.0.1.tgz","fileCount":10,"unpackedSize":13903,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFfDB1kT3JAETugTTIVSxsW/zUYC/gB7uNGOOaRmGDm+AiEAoU2XMtISz5iegkni0lF5Zdhbt3LIl9m9gKdyUtl3H/k="}],"size":3950,"noattachment":false,"key":"/base64-arraybuffer-es6/-/base64-arraybuffer-es6-3.0.1.tgz"},"_npmUser":{"name":"brettz9","email":"brettz9@yahoo.com"},"directories":{},"maintainers":[{"name":"brettz9","email":"brettz9@yahoo.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/base64-arraybuffer-es6_3.0.1_1683332377514_0.649879700468716"},"_hasShrinkwrap":false,"readme":"# base64-arraybuffer-es6\n\nEncode/decode base64 data into ArrayBuffers\n\nAn ES6 Modules-based port of [base64-arraybuffer](https://github.com/niklasvh/base64-arraybuffer).\n\nAlso supports `byteOffset` and `length` arguments for partial encoding and\nallows for selective import of the two methods.\n\n## Getting Started\n\nInstall the module with: `npm install base64-arraybuffer-es6`\n\n## API\n\nThe library encodes and decodes base64 to and from ArrayBuffers\n\n - __encode(buffer, byteOffset, length)__ - Encodes `ArrayBuffer` into base64 string\n - __decode(str [, ArrayBufferOptions])__ - Decodes base64 string to `ArrayBuffer`\n\n## License\n\nCopyright (c) 2017-2019 Brett Zamir, 2012 Niklas von Hertzen\nLicensed under the MIT license.\n","publish_time":1683332377672,"_cnpm_publish_time":1683332377672,"dist-tags":{"latest":"3.1.0"}}