{"_id":"@47ng/codec","_rev":"10-1349baac5a9a85c7550d2638b8259619","name":"@47ng/codec","dist-tags":{"latest":"1.1.0"},"versions":{"0.0.1":{"name":"@47ng/codec","version":"0.0.1","description":"Universal conversion of Uint8Array from/into UTF-8, base64url and hex in the browser and Node.js","main":"dist/index.js","license":"MIT","author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"repository":{"type":"git","url":"git+https://github.com/47ng/codec.git"},"keywords":["encoding","decoding","utf-8","base64url","hex","browser","nodejs","int8array"],"publishConfig":{"access":"public"},"scripts":{"test":"jest --verbose","test:watch":"jest --verbose --watch","dev":"nodemon -e ts,.env -w .env -w . -x 'run-s build:ts test'","build:clean":"rm -rf ./dist","build:ts":"tsc","build":"run-s build:clean build:ts","ci":"run-s test build"},"dependencies":{"@stablelib/base64":"^0.7.2","@stablelib/hex":"^0.5.0"},"devDependencies":{"@types/jest":"^24.0.25","@types/node":"^13.1.6","husky":"^4.0.7","jest":"^24.9.0","nodemon":"^2.0.2","npm-run-all":"^4.1.5","ts-jest":"^24.3.0","ts-node":"^8.6.1","typescript":"^3.7.4"},"jest":{"preset":"ts-jest/presets/js-with-ts","testEnvironment":"node"},"husky":{"pre-push":"run-s test build"},"gitHead":"2ca5cab5bafa53395f342ad6fa6cf31bb20d2090","bugs":{"url":"https://github.com/47ng/codec/issues"},"homepage":"https://github.com/47ng/codec#readme","_id":"@47ng/codec@0.0.1","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-58jMxy38HnkqurYFUAAqNGxFRuWVscfi6SlR57sag+fynFEnvdh5zY9hUQDRLOT1/X2GKNTYv3qXAdqn9X+D1w==","shasum":"87f4304d2b76d6847635aea62f516ff500d223b5","tarball":"https://registry.npmjs.org/@47ng/codec/-/codec-0.0.1.tgz","fileCount":8,"unpackedSize":10798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGu/GCRA9TVsSAnZWagAAC40P+QCpYF6+nwf8zJjHqixX\nW0i6hTLxiEQJnQfQjysoVjfvcxCOSy4bX2JF3dD1jgoF9exZu6MHWSJdtrHb\nqF5bmdkySbsYBMjUt89ruX+XU6LCQPZQbDREee0YAyTrYSzssAbQWe40M97A\nwe4oCy8400Bh9mEzXKBjRu047p+K7aSrJbyRNj4xzhfA12GopGRWzpMAJn42\n6KAe0GdpvbhqBlOFnD+vFmZAwJYRnN9rHJUh+/99BtqxuyaxXS9v1katyetv\nuEgKNBxWH6nrtG9O4YvtB20ARXjsKwAP5pcWFFEugmKUT9bsfX8GlzDmRcS0\n8h6qM+9HDjaap005+wCW+8PHAwI7jqr4YGOeUYDVcJfZW8PNpcR9FcOJ5M1E\nT9m/gF72SZX3zCagKkC3qv3VfcKAyYAxNYhH6fcKelwR3R8BVkh3tobVUfuo\nCoLliSs3UKFFZqvuCTXhKWBaveI4CKNPJBkeQWsb1n4qXNOpijp5jpe4V37Q\ns0Z/eqJNI5PNygS6Vme3huCTxkJ74JRTt277FF9alxcI1MFa1vC8mom1R03H\nlUwBs5QKWbOCy7mQXFNgoEJKfIewvt6IVO8FRdAFrB6nsEm5HyRsETrE5S4b\nxoNFnYuAuVAM7JP0sAX7mgXjn0NCBYLt0LHCwHxQOoFCZ+IxH335oU1VGRzt\npIS3\r\n=Q4B7\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDV6lbp+SH+ZuPYB1hCN2ylqqDhljTyCuwayaCHlM5MTAIhAJIdcaKpkfnQyY6f0bRZlkdEnfCRkcC9aKpE9xXKZ5XJ"}]},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"_npmUser":{"name":"franky47","email":"accounts@francoisbest.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codec_0.0.1_1578823622346_0.10772972739543918"},"_hasShrinkwrap":false},"0.1.0":{"name":"@47ng/codec","version":"0.1.0","description":"Universal conversion of Uint8Array from/into UTF-8, base64url and hex in the browser and Node.js","main":"dist/index.js","license":"MIT","author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"repository":{"type":"git","url":"git+https://github.com/47ng/codec.git"},"keywords":["encoding","decoding","utf-8","base64url","hex","browser","nodejs","int8array"],"publishConfig":{"access":"public"},"scripts":{"test":"jest --verbose","test:watch":"jest --verbose --watch","dev":"nodemon -e ts,.env -w .env -w . -x 'run-s build:ts test'","build:clean":"rm -rf ./dist","build:ts":"tsc","build":"run-s build:clean build:ts","ci":"run-s test build"},"dependencies":{"@stablelib/base64":"^0.7.2","@stablelib/hex":"^0.5.0"},"devDependencies":{"@types/jest":"^24.0.25","@types/node":"^13.1.6","husky":"^4.0.7","jest":"^24.9.0","nodemon":"^2.0.2","npm-run-all":"^4.1.5","ts-jest":"^24.3.0","ts-node":"^8.6.1","typescript":"^3.7.4"},"jest":{"preset":"ts-jest/presets/js-with-ts","testEnvironment":"node"},"husky":{"pre-push":"run-s test build"},"gitHead":"d2371d28c002c011319ec709389984dc9999c48e","bugs":{"url":"https://github.com/47ng/codec/issues"},"homepage":"https://github.com/47ng/codec#readme","_id":"@47ng/codec@0.1.0","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-qunhWiSH+uQQFpvi3MavKInIoaOoBt1PSm+vIRVLx/IV+tht+y+wqCZ7SOLtSq/eK8Ic+VqWexgXKcvyoNklSg==","shasum":"9b8b0310f7390a15835c745e6a66cc542913d8ca","tarball":"https://registry.npmjs.org/@47ng/codec/-/codec-0.1.0.tgz","fileCount":8,"unpackedSize":10798,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGvqSCRA9TVsSAnZWagAAjQ0P/3xrXhlKiS0lDZTnucL5\nr0TN7Lb2Rsa4Vv4OejchXyI/E+FTvyWlCzTGZJxQBhhCTg5+/lUG2EljnjAK\nNF9HFRH8LjtBJF5saea+YoAuMhb027WlFjU5oA1Z6qcDyhakDGaunDaq6soZ\nOxeR74yK0wTunijU+adPJOhqfQ4S1DPsUgHmpVmWNR1ZtdFkkIfnSfljHcT0\nIVVPWac3xfH8q7NGmMkX+xMeuFtQ82NNcv93of8hLRs9F8XHkKf9JGIpdqiA\nY6A9lUNMvJa+9ZTtmnMmor6mudhlSFGW48a3yOe9m80/QIGtDSwhBkEyoh0n\nwzOkhdwO4gU92MrT68p8785OYrchWgzGVMJbSsQaDGSxOwMIHmxffqj74fRo\nJhKMUtD3IbIBeSkEVnMk4z/WFcZnmYF3zlqTH5mlu/ZjtC0jQIROeiVDruX9\n4y87d/W9akT/rSfFavtMf2JhsDSEPancVJ7O4HZBImTtGYPBvsL1YY9KDE5d\nWQnFFFMaPMMiYLudT9MlM0qq79RE7qk6AxMwu83uD59HWNO9YXQcN2URdqQD\nqCR4IUB3rvPCkY2XNXU8hh5rAVdsgLso8WHDi1x7E5emxwu+0IhLPDc+G2i/\ngzRJDMfwWiDeaaQ33U5dz950m7w0C1X7d1Fi8GUiQ6jA+6wi7b3limm9VadZ\nybR3\r\n=rO/X\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGUzvGi6j1xOML3QIP1HhaFUXNPBhS8kUyXqUdQvseKbAiEA+AeVpR4qdvyAJPspL7Q60C2XbkBwVNOW6Bt30srZ65Q="}]},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"_npmUser":{"name":"franky47","email":"accounts@francoisbest.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codec_0.1.0_1578826386033_0.06034525436507954"},"_hasShrinkwrap":false},"0.2.0":{"name":"@47ng/codec","version":"0.2.0","description":"Universal conversion of Uint8Array from/into UTF-8, base64url and hex in the browser and Node.js","main":"dist/index.js","license":"MIT","author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"repository":{"type":"git","url":"git+https://github.com/47ng/codec.git"},"keywords":["encoding","decoding","utf-8","base64url","hex","browser","nodejs","int8array"],"publishConfig":{"access":"public"},"scripts":{"test":"jest --verbose","test:watch":"jest --verbose --watch","dev":"nodemon -e ts,.env -w .env -w . -x 'run-s build:ts test'","build:clean":"rm -rf ./dist","build:ts":"tsc","build":"run-s build:clean build:ts","ci":"run-s test build"},"dependencies":{"@stablelib/base64":"^0.7.2","@stablelib/hex":"^0.5.0"},"devDependencies":{"@types/jest":"^24.0.25","@types/node":"^13.1.6","husky":"^4.0.7","jest":"^24.9.0","nodemon":"^2.0.2","npm-run-all":"^4.1.5","ts-jest":"^24.3.0","ts-node":"^8.6.1","typescript":"^3.7.4"},"jest":{"preset":"ts-jest/presets/js-with-ts","testEnvironment":"node"},"husky":{"pre-push":"run-s test build"},"gitHead":"836e646ba982c9b7d8d1b8d57a1b8fcd9259ed37","bugs":{"url":"https://github.com/47ng/codec/issues"},"homepage":"https://github.com/47ng/codec#readme","_id":"@47ng/codec@0.2.0","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-usjjPzU6LjkR/pndtOmqKxJkOb2iLNxPLTqzVawehvklL8syVCu1bbzLmQUYg0ed2JcIOTRMdLew2DiOXAZtYw==","shasum":"c33f07340751254cd55da2585b3b12ba55f1e971","tarball":"https://registry.npmjs.org/@47ng/codec/-/codec-0.2.0.tgz","fileCount":8,"unpackedSize":11024,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGv/3CRA9TVsSAnZWagAApX0QAJApTsGfzLfWCKyV036v\n0Jb17ksVuAUg9AStzMIDbEy4DmrLLInHEeJeelWMRqnYaQRTdc4+SZyGKKou\nK0X5Jaz4JnVy2/wW5JizNgHsRl7WykQ/d0wPIFpeD7oY2QgxpvzGhm6a2Qu2\n/EENUnKLl0vGLPi1co1m/xONefvrWVRKI++/HIo9jwBHRU4anivGdszNtNon\nkxsyFtvW13NlrozrAuZJg9gRS96CbWeQGFi/iCljXdl2Xl4newNvVItHzy0A\nfU+kDqQtUN7lq7uBg6MwVrBjTJ5uNXgj57+bFM/ApY7ZY2rXeu62u6GFMnLd\nkSpRQR7iQbST6tWoewJz8iKqQFzmmTSStItaEkSAohSQPtuh0tOBVrc+oU9y\nLEHmI6Nj+Oq/2l7uyXDjIMn2I6ov2wTFrGsne/oiRsohUEZ5E5AlS5YMUE2v\nsPZz9QgZrph3L5ZFvhdVD1s5aSCoXBsvBlkKoTKsII0fEvy8OhvkH+Fpn/Og\nrs4EURCqW1Px5HoK6qTJu6g2WKkxovcnq00oRvNnSEicpBUYkBfuwz6Cilv2\n0QJ5BQv0VwxzZKEFeisScOrDNmTj/FZRAOTZAyfhsH5waOJnY8eMrLOAOqjf\nvktOmhyOyIL59X4o3ePZYTLn0K2Vp1mvJJgPUft0LcvvadmuQS8yCAkE96Ax\nxy0u\r\n=c9Nd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCBxSBK845PUHYrRX1b5gYIlv+4HA92GNYocT137SpifAIhAJ60zubiGTDSmocAxbXd0+0E/PpW9kKfb5wXO2UD7TL3"}]},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"_npmUser":{"name":"franky47","email":"accounts@francoisbest.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codec_0.2.0_1578827767267_0.6914605978271973"},"_hasShrinkwrap":false},"0.3.0":{"name":"@47ng/codec","version":"0.3.0","description":"Universal conversion of Uint8Array from/into UTF-8, base64url and hex in the browser and Node.js","main":"dist/index.js","license":"MIT","author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"repository":{"type":"git","url":"git+https://github.com/47ng/codec.git"},"keywords":["encoding","decoding","utf-8","base64url","hex","browser","nodejs","int8array"],"publishConfig":{"access":"public"},"scripts":{"test":"jest --verbose","test:watch":"jest --verbose --watch","dev":"nodemon -e ts,.env -w .env -w . -x 'run-s build:ts test'","build:clean":"rm -rf ./dist","build:ts":"tsc","build":"run-s build:clean build:ts","ci":"run-s test build"},"dependencies":{"@stablelib/base64":"^0.7.2","@stablelib/hex":"^0.5.0"},"devDependencies":{"@types/jest":"^24.0.25","@types/node":"^13.1.6","husky":"^4.0.7","jest":"^24.9.0","nodemon":"^2.0.2","npm-run-all":"^4.1.5","ts-jest":"^24.3.0","ts-node":"^8.6.1","typescript":"^3.7.4"},"jest":{"preset":"ts-jest/presets/js-with-ts","testEnvironment":"node"},"husky":{"pre-push":"run-s test build"},"gitHead":"53ec56c1200beaa27cec0be4aaab1fda87113266","bugs":{"url":"https://github.com/47ng/codec/issues"},"homepage":"https://github.com/47ng/codec#readme","_id":"@47ng/codec@0.3.0","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-ZSIJIr7fJJp5LDIC/HK1scvO5F10qqvZbUX4e3TyHkR1vuIsVZ3PyI0v0gVDMQfEvNcyYAzjxNuEqLiJjGiZ3A==","shasum":"e8af94d3c469a5d4ece10ab17fa1fa7146d7094f","tarball":"https://registry.npmjs.org/@47ng/codec/-/codec-0.3.0.tgz","fileCount":8,"unpackedSize":11131,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeGxGzCRA9TVsSAnZWagAApJkP/jApYPf9hSYSTybgBdaR\nFhKq7sdA0WypAL8tx1TkAH4dZ2TMXq5ZWyO2Be77L5M52sJPlK7rd4wiQsuI\nm/HgyaSyuOooxdnZmgMkvBauLdxx5bOZIyRKEpOQsBoYjoHHwyK2EJXSNOTp\neC07Nw70/jihLPt3MehZCtYp/HDRkgWWD4iVvQO0BvkoonfNWtrEM2n/l6vb\nfAi4yH/BPrmVMQJagNcNREzmnxmOsT7pZQSsdFR1peID3d+2IG8L9AaYVAEt\nUiHbtTU/sUyLbWFqKXtrPeXsG9hjEkgiQKThoWhN6duli7GZ6eeAJ56mg4qt\nMqeXljzQbOiyOAL/NRw9d4cXjmLzfZu+KWb2IzvKE9Mz8XE5OuId6ab4r/iv\nYL/QOvM4FiAzlCLNr8+pr1K32/78DjDv4F2TGCO1DuU37oz6eNnQFvJzVi47\nJ9YsbKdSybaII6S4HDg7CZbtLEDF7xR9zGvzqIqTHKgJRjUg9zhf1sA+2Jzi\nPJafhQXW7N97w31BDc8CXEMop33p8LAAXOH6trI4FK01dcKrNuXU8pGy8ilZ\nPmAXqkkfNNSfBDwY88+siI6xHQrqDvbNNsb1ATebWxpzMw0HquCGZ5BARykO\n8x7o9HZHGZDpAFB0ZqFeUBfWaX9T6Gsu9wlc9QplqCo7gd/9hGD44UUHWcA1\nL/4z\r\n=lbA9\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD21jxGZNTAJZdgeInD2mYdQVofR+sXfnzWg8B6sewxdAIhAOB9t5mFtbOGpKxcjnpE3ImGrCMWjEJQTnzzqwVHJn8n"}]},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"_npmUser":{"name":"franky47","email":"accounts@francoisbest.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codec_0.3.0_1578832307314_0.3316155859505714"},"_hasShrinkwrap":false},"0.3.1":{"name":"@47ng/codec","version":"0.3.1","description":"Universal conversion of Uint8Array from/into UTF-8, base64url and hex in the browser and Node.js","main":"dist/index.js","license":"MIT","author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"repository":{"type":"git","url":"git+https://github.com/47ng/codec.git"},"keywords":["encoding","decoding","utf-8","base64url","hex","browser","nodejs","int8array"],"publishConfig":{"access":"public"},"scripts":{"test":"jest --verbose","test:watch":"jest --verbose --watch","dev":"nodemon -e ts,.env -w .env -w . -x 'run-s build:ts test'","build:clean":"rm -rf ./dist","build:ts":"tsc","build":"run-s build:clean build:ts","ci":"run-s test build"},"dependencies":{"@stablelib/base64":"^1.0.0","@stablelib/hex":"^1.0.0"},"devDependencies":{"@types/jest":"^24.9.0","@types/node":"^13.1.8","husky":"^4.0.10","jest":"^24.9.0","nodemon":"^2.0.2","npm-run-all":"^4.1.5","ts-jest":"^24.3.0","ts-node":"^8.6.2","typescript":"^3.7.5"},"jest":{"preset":"ts-jest/presets/js-with-ts","testEnvironment":"node"},"husky":{"pre-push":"run-s test build"},"gitHead":"9e5543e7711bdabdb376fd97ed1a6171340eab99","bugs":{"url":"https://github.com/47ng/codec/issues"},"homepage":"https://github.com/47ng/codec#readme","_id":"@47ng/codec@0.3.1","_nodeVersion":"13.6.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-BOd4HkzrUeZsAt1y9cirNwenBqGvblpB/LcQ87Bl+Ssm2ZCo7xVQ0w2ECq+iYCJaMv18XuogsMNW/uzsr5uE7w==","shasum":"7afed5ec4ce741f220f4e2160428825212251031","tarball":"https://registry.npmjs.org/@47ng/codec/-/codec-0.3.1.tgz","fileCount":8,"unpackedSize":11342,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeIubjCRA9TVsSAnZWagAAxcsP/jFzh4ksNR/RSFGZ1hrT\nE5djguoOi8h/+XIbf90o9igX/FG242iXCetDePlsPHKyCprFrWZt/ruxItzO\ntLuopHfqSmCFU4xnd7T7V2rFroz1JnOGTsI3P2SVHSthbkVlDThs+Z47Jg7D\n/YiBhI7ocKP+oDy4AL2FJ7dLgZb60PX66dsvgweQS7gtsbLJPvWylHq3trF9\n56RZ/Llf7epEMA0+axNo7tHhgX5mR2Hbxd3ZMbivu1V91RPHsm2xlIKLG9lD\ncZLcrP4hkSgTGYxrMoto6F+LwaPt0bF9ZlMHCl5XEvjVrlIxye0pFUQvHNlE\n4pZCuF2zlnsZqKF7yG0GMgQNUkCZOuHfRGiVmNxR05OjL5rFSc62nqATFuMt\nIsdPKtV7K4O/kafpX+ivLE6jGd343OcPz91SJjMMhibyXqrWam5Yql74prrM\nXBrtBKto75IOTku94JvzrcEgXklbKtiptjVNdkJyPsh05VU0cUjPh09tamRj\noJ/85YmZze4PmpxhcYmHBteVMKnJRGEB1LfKp3/37CQJVG0K4de4uw0sUK1g\nYAX7Q29hppfOi2d3hxNkLrDVKNroWNVGmL4lsePejaugFe9dGYKOLUbDb7bi\n3WKx3XsEqzAa03Qd5am4hrBR7Vj31k4gU+an+3t/bcsm6q2U0j0dZyokSpH7\na4p6\r\n=p5e0\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIGJzb04NZgTW9fomcCwhdwH53d1xaxdJsMP/jEh/wF2GAiEA2asYBch5ETgs/6bghfxfqCFgneNvYf3vycIPtouIl3g="}]},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"_npmUser":{"name":"franky47","email":"accounts@francoisbest.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codec_0.3.1_1579345634559_0.6755279963543499"},"_hasShrinkwrap":false},"0.4.0":{"name":"@47ng/codec","version":"0.4.0","description":"Universal conversion of Uint8Array from/into UTF-8, base64url and hex in the browser and Node.js","main":"dist/index.js","license":"MIT","author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"repository":{"type":"git","url":"git+https://github.com/47ng/codec.git"},"keywords":["encoding","decoding","utf-8","base64url","hex","browser","nodejs","int8array"],"publishConfig":{"access":"public"},"scripts":{"test":"jest --verbose","test:watch":"jest --verbose --watch","dev":"nodemon -e ts,.env -w .env -w . -x 'run-s build:ts test'","build:clean":"rm -rf ./dist","build:ts":"tsc","build":"run-s build:clean build:ts","ci":"run-s test build"},"dependencies":{"@stablelib/base64":"^1.0.0","@stablelib/hex":"^1.0.0"},"devDependencies":{"@types/jest":"^24.9.0","@types/node":"^13.1.8","husky":"^4.0.10","jest":"^24.9.0","nodemon":"^2.0.2","npm-run-all":"^4.1.5","ts-jest":"^24.3.0","ts-node":"^8.6.2","typescript":"^3.7.5"},"jest":{"preset":"ts-jest/presets/js-with-ts","testEnvironment":"node"},"husky":{"hooks":{"pre-push":"yarn ci"}},"gitHead":"1584061c91b64a45126112244946b1f37401a480","bugs":{"url":"https://github.com/47ng/codec/issues"},"homepage":"https://github.com/47ng/codec#readme","_id":"@47ng/codec@0.4.0","_nodeVersion":"13.7.0","_npmVersion":"6.13.6","dist":{"integrity":"sha512-3PBp7/MQHaukgmsAm2+++sQ14zg3ywJjkCJwbiw8W16ZR7CTsDw18IRRaeze3U2DanOeg7ImTTFaIdvTaUhMxA==","shasum":"27322699f285d8ce6dfa124f7785b7c70570cffa","tarball":"https://registry.npmjs.org/@47ng/codec/-/codec-0.4.0.tgz","fileCount":8,"unpackedSize":14255,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeKDyhCRA9TVsSAnZWagAAkMEP/0SgW4siI0OVnUUE2DgO\ntfMs4JpGGireYgBl4MU1TFZv+r0g4VIO2Hr8pcXUsmN0GRDnAt9SzVdaVtM0\nLE52KDDNUzP5CoBZR7o6ME0vmbr0zRcLrxMn0hKB5MLfpaBWM4aj5K3zPT1y\ncKoBXF4/MP1ThaHUVRDrguIGKAoD8J4w7gd2UB8k0Jltb2u3m40dasc0h2kC\nsBtEEBkUZIqsXxuwG9lizo+AHazMU5h06ggvYMIKHm31pq6J6hE7dcaevM9a\nYszI7RuCdN8Kf5xmvXvi18+GQ+HYD3pUiDMFI6Mu61yw2xW/uY8aZYilHREz\nwF/PmybWW5jGpueohhwgWkjs7hvMj6xlDLJwROFB1vYLRABwREV5b0qq9+K3\nejk1vOfayA+ITYyTgv6V4iHXSTNM5TDsVdx//HNyFBU3q4rl9dUkfulWPYMH\ntq6Fp4u3ouKmxokWP70Il3gida5hSj4LzAcuiizps1VKeLeKC8Y9yhO3qNjY\noEz2VycApCLMvRQiBjamVRPQ9vNXiukaIVXbfyiW/OOnZ3lwQiLdVcCfvYrE\nx03RB/2O22y+1weZ3a5vyXccJOTox4WJRKKIKIViTHWafO8LxeALeYInv2Kw\nJx/QZeIOwDvDwBIQRXgK4FgKf0v6lF9vwHSyF5/ACcIFCqUF579TSonG5Brv\nKPoV\r\n=YqFJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpV4eXWE30+fibIjeumrM93S2K0wTAo6Es7NbdVHM6oAIgK/Likjs/5CUq0fwy0dmm384vr21CULh6EReTXJtXHHU="}]},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"_npmUser":{"name":"franky47","email":"accounts@francoisbest.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codec_0.4.0_1579695265180_0.7113939166861387"},"_hasShrinkwrap":false},"0.5.0":{"name":"@47ng/codec","version":"0.5.0","description":"Universal conversion of Uint8Array from/into UTF-8, base64url and hex in the browser and Node.js","main":"dist/index.js","license":"MIT","author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"repository":{"type":"git","url":"git+https://github.com/47ng/codec.git"},"keywords":["encoding","decoding","utf-8","base64url","hex","browser","nodejs","int8array"],"publishConfig":{"access":"public"},"scripts":{"test":"jest --verbose","test:watch":"jest --verbose --watch","dev":"nodemon -e ts,.env -w .env -w . -x 'run-s build:ts test'","build:clean":"rm -rf ./dist","build:ts":"tsc","build":"run-s build:clean build:ts","ci":"run-s test build"},"dependencies":{"@stablelib/base64":"^1.0.0","@stablelib/hex":"^1.0.0"},"devDependencies":{"@types/jest":"^25.1.0","@types/node":"^13.1.8","husky":"^4.0.10","jest":"^25.1.0","nodemon":"^2.0.2","npm-run-all":"^4.1.5","ts-jest":"^25.0.0","ts-node":"^8.6.2","typescript":"^3.7.5"},"jest":{"preset":"ts-jest/presets/js-with-ts","testEnvironment":"node"},"husky":{"hooks":{"pre-push":"yarn ci"}},"gitHead":"ef39c0b869524f3fea26006ee635b1f1615f766f","bugs":{"url":"https://github.com/47ng/codec/issues"},"homepage":"https://github.com/47ng/codec#readme","_id":"@47ng/codec@0.5.0","_nodeVersion":"13.11.0","_npmVersion":"6.13.7","dist":{"integrity":"sha512-k/+OCuagLqv52RLrbzrRv+4qL68Y/1xm1EGu4N0nUXTjzVHZ6YQmo/aWNDAChcL+CP+fyNq1BDqLttHDzbfzSA==","shasum":"28294e5c76170ed9a1403a5bbbb9e129c11b94ce","tarball":"https://registry.npmjs.org/@47ng/codec/-/codec-0.5.0.tgz","fileCount":17,"unpackedSize":15215,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJea9ILCRA9TVsSAnZWagAAaMwQAKNGAMzPa/Bf/JH5jsnO\ni7TS4aHnwfdMOI2+NoZqbu3gV8aqilwOV0uVRP4So/ylsmCPe4xqnMZg3Uww\nKE+D07C0YV9VUkHGk9+m6pEL6M4fANcrMLmFjhB4VW1DjztP4OLWQ599r1jr\nQ9GJiG77hgMK3SEARPXKxQvwjuU6hvVpsEM62TZJFAmPAoRIiv0gYxDAmRwW\ntXeXka8Fc2s+B2rOIE3F1PEWjs3D2WXCLEzUAiyySy3UdxW5RObKtJ2Ub7wd\nmWaCTjqGrf46oDK+dC6AkIl3/9rlJJscMMO4QTwZZ2SNVQCYJca0H9O1DiRF\nN5Q187u/hdXx/9NzS7K5XBqDEt+9xNj3e7pgh+URA1dRUby/Tmq50rx3bjwm\n/ubSGmhxbCjoBnLYMyAvM2XEczH/CN8UQD53+MSnT6lT22kBYaGa1isYMmAQ\nzGX68CihMTYJI7BzFgCyLjRhjFlDhAprf/Ce0AN2+pZnIYxNIeP1xoMuZMXj\n1uOMIsHjuhgGTVpDr3xezwtJcOENvcWo6srgiLeT4TNCiICkX1t5CLPe1/KL\nFI4OAfzZMXY76W6Y/VYEV51Znzx6olUV2OVSq2wIzMcWR5/cxTziCl23ywW0\neVmRpX+eZV072exl50J7avCETttK3hu+Q5dVos5y7T9SYbndXS9YR6k/z7DV\nER/5\r\n=3RW4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCFs+2H+H6vzAPxX16C0qckl2NnbbY7eiT/gFpGmKslegIhANRYUophlrcTDncu2WrplPy+OfDQKtzyFoqmRGOBElx7"}]},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"_npmUser":{"name":"franky47","email":"accounts@francoisbest.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codec_0.5.0_1584124426605_0.7627201078375025"},"_hasShrinkwrap":false},"1.0.0":{"name":"@47ng/codec","version":"1.0.0","description":"Universal conversion of Uint8Array from/into UTF-8, base64url and hex in the browser and Node.js","main":"dist/index.js","license":"MIT","author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"repository":{"type":"git","url":"git+https://github.com/47ng/codec.git"},"keywords":["encoding","decoding","utf-8","base64url","hex","browser","nodejs","int8array"],"publishConfig":{"access":"public"},"scripts":{"test":"jest --coverage","test:watch":"jest --watch","build:clean":"rm -rf ./dist","build:ts":"tsc","build":"run-s build:clean build:ts","ci":"run-s test build"},"engines":{"node":">=11"},"dependencies":{"@stablelib/base64":"^1.0.0","@stablelib/hex":"^1.0.0"},"devDependencies":{"@commitlint/config-conventional":"^8.3.4","@types/jest":"^25.2.1","@types/node":"^13.13.2","commitlint":"^8.3.5","husky":"^4.2.5","jest":"^25.4.0","npm-run-all":"^4.1.5","ts-jest":"^25.4.0","ts-node":"^8.9.0","typescript":"^3.8.3"},"jest":{"verbose":true,"preset":"ts-jest/presets/js-with-ts","testEnvironment":"./test/browser.env.js"},"prettier":{"arrowParens":"avoid","semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"commitlint":{"extends":["@commitlint/config-conventional"],"rules":{"type-enum":[2,"always",["build","chore","ci","clean","doc","feat","fix","perf","ref","revert","style","test"]],"subject-case":[0,"always","sentence-case"],"body-leading-blank":[2,"always",true]}},"gitHead":"b41b0204b7b6cff778fecff549b7df402edb294d","bugs":{"url":"https://github.com/47ng/codec/issues"},"homepage":"https://github.com/47ng/codec#readme","_id":"@47ng/codec@1.0.0","_nodeVersion":"10.19.0","_npmVersion":"6.13.4","dist":{"integrity":"sha512-7HaDZNDlLACExloW9VBtN7OqrlwamYTpQP2fydbwDBJulwvY4Ad4c+wfK3Vk4yuPKOAk1IHKiw/q2cxXGugbeA==","shasum":"4e1708f7565bd6bc76be8ca231482fca4daccb79","tarball":"https://registry.npmjs.org/@47ng/codec/-/codec-1.0.0.tgz","fileCount":11,"unpackedSize":11672,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeopbkCRA9TVsSAnZWagAAkaUP/AhZT+/7CYT7cDjkclnH\nCOc91n9kLlX18RtfD8QhoKng+Xs1CnZQmzRpZnaIyK3TV2AOrp/GHknnrxRc\njl20YuKgVlN3AK2ifc1ovHaaFqk5lQvelAlfzdRzk15s3jtyf2NvServr5Z6\nFigAQIt2i3pE//8VoMBrKmXpVWeEv+XMNDVVBE36pQ+AmM8orr9p3o5F9600\nHc89/3eY56QYMjoyQBpv4MS9J5GiaORpmSu0pLpgEi1dK4eCOmeufl9fg59G\ncWScfjr8ueYCfmzihCqeV0OglLF3GSM3V2+en3kqNLKThYLhidIeOZ0QRrW2\ncxFGQphfr5dFYFlVr8/4DTzYbfDCtG8e0QVcikQ3ChlyGn69UtPHIRHvg9xD\nzHHdiq+vOqBxEYFkIVusGc0Zn0JKjOFWUT8X7q81AhnZ/xZr4z0qTSjXS/sp\ne83uvBvkNe2DP7eAQhyugcDlLPTjJ5fRGMcvVAymYh58cl/nQkSoftCPb508\nEey2Xa9nnRiQvXRjzy0svcTWtxkm1upucUhYSWSpPd2a9CiL2d0+62LJXVo+\naUFtjy2gChNb/EfU4IOqhNE6i7Dgh1rZX+vFxBra2yqiMiBtzTQZaSvFjTKC\npFv6p4hJzF6hy2kAPbu9v7R7Bj9/Ob/H3HpC1MNYGQdX6VHVQdLF3msSbAlB\nvybQ\r\n=kgbY\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC0gUKC6M9jiTvLVYjGPcGgqrgP4l+6TGeHVsHazuxnhAiAuejFAVDM/kluX+SEL18qjaffSL2nkpHRxAX/sfSNOQA=="}]},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"_npmUser":{"name":"franky47","email":"accounts@francoisbest.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codec_1.0.0_1587713763928_0.04184061328704258"},"_hasShrinkwrap":false},"1.0.1":{"name":"@47ng/codec","version":"1.0.1","description":"Universal conversion of Uint8Array from/into UTF-8, base64url and hex in the browser and Node.js","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"repository":{"type":"git","url":"git+https://github.com/47ng/codec.git"},"keywords":["encoding","decoding","utf-8","base64url","hex","browser","nodejs","int8array"],"publishConfig":{"access":"public"},"scripts":{"test":"jest --coverage","test:watch":"jest --watch","build:clean":"rm -rf ./dist","build:ts":"tsc","build":"run-s build:clean build:ts","ci":"run-s test build"},"engines":{"node":">=11"},"dependencies":{"@stablelib/base64":"^1.0.0","@stablelib/hex":"^1.0.0"},"devDependencies":{"@commitlint/config-conventional":"^11.0.0","@types/jest":"^26.0.15","@types/node":"^14.14.5","commitlint":"^11.0.0","husky":"^4.3.0","jest":"^26.6.1","npm-run-all":"^4.1.5","ts-jest":"^26.4.3","ts-node":"^9.0.0","typescript":"^4.0.5"},"jest":{"verbose":true,"preset":"ts-jest/presets/js-with-ts","testEnvironment":"./test/browser.env.js"},"prettier":{"arrowParens":"avoid","semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"commitlint":{"extends":["@commitlint/config-conventional"],"rules":{"type-enum":[2,"always",["build","chore","ci","clean","doc","feat","fix","perf","ref","revert","style","test"]],"subject-case":[0,"always","sentence-case"],"body-leading-blank":[2,"always",true]}},"gitHead":"3db054ec5c602914c08144b0752b9f21466906ba","bugs":{"url":"https://github.com/47ng/codec/issues"},"homepage":"https://github.com/47ng/codec#readme","_id":"@47ng/codec@1.0.1","_nodeVersion":"12.20.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-+PJ7xjyvcvK9K3WL99/0UNUtA1lizE6EEy2MSEFRr2zXNdd/jHe+uIeKr+0g8b4DFtYezKiM4DF8mWy+WWSIHQ==","shasum":"8387b45d6a4859fcfd14809950bc6603925175e1","tarball":"https://registry.npmjs.org/@47ng/codec/-/codec-1.0.1.tgz","fileCount":11,"unpackedSize":11986,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf4kwaCRA9TVsSAnZWagAAKVIP/2xHp3MGA1IBPOZshSlk\nFrKSjOHiTMxZh6GWIFyksdPB8QGEj1uCsAhJ8UqYBVjZiDOQ+5X4FWGhANK7\nsXGIuaGkAG0QBAT/YXdb8LNicZ6sssnUu1oAKKZF7kLoODURXoYacGku/NOi\nEUufdTZqH0VbbIaT7sVImiW0feVC05UA8oLTe6rWj4nYgheZS1nTkcA65TQQ\nSd/H3rpadofvdzfHppbuelW3O4q+rMDyEArSqnsqcFdHp6a+pCRRp5T3xV78\np9J6HiLvph7FQFo0CMS6EzzQ3OzL+DFqZigDJlLSaCjjrHLkTMiv0nRSHzmm\n7N28/Ddh8bLGZL4mC0ERM+jM+PJasiXAjbRapt+/PXq2AtXzsfPFpB94Ts2f\n/koFptgRQluRUd2YQNfnGh4pFNjFNIYZuKvoXjdTGF0fldUTWctXdj1iyjYY\nyJI+cHsfmr69z0beeiTS0C2L946zBIUls6PzqfQRL+URA39hhWI9fXS2VhHo\nb42ZEW4lCae5uiJzXIsTbzzeOT5aYuwEYws5XE15mB6f5uGQncC4lcubAel9\nFdjEybeYaGj2bD5gGQx3vpycPSK9BETjGj8HwlzmzGoMF2UMjicmvB+BMRig\n/6+14zP1AIJIRGqtJC32d+RjYn9shct2gEjSwhdeBFQWqrw1QJCZoiT/+2DP\nBCdG\r\n=cTUy\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH3Y4P5TpENu57WxPg8HO+C9henQPaTuM56HnUfDDxqNAiB+iLPYFiNd/9Wa1/WyKw0Bb3dKN13bKYsQaH3TyJYPpA=="}]},"_npmUser":{"name":"franky47","email":"accounts@francoisbest.com"},"directories":{},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codec_1.0.1_1608666138469_0.31410392214963156"},"_hasShrinkwrap":false},"1.1.0":{"name":"@47ng/codec","version":"1.1.0","description":"Universal conversion of Uint8Array from/into UTF-8, base64url and hex in the browser and Node.js","main":"dist/index.js","types":"dist/index.d.ts","license":"MIT","author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"repository":{"type":"git","url":"git+https://github.com/47ng/codec.git"},"keywords":["encoding","decoding","utf-8","base64url","hex","browser","nodejs","int8array"],"publishConfig":{"access":"public"},"scripts":{"test":"jest --coverage","test:watch":"jest --watch","build:clean":"rm -rf ./dist","build:ts":"tsc","build":"run-s build:clean build:ts","ci":"run-s test build","prepare":"husky install"},"engines":{"node":">=11"},"dependencies":{"@stablelib/base64":"^1.0.1","@stablelib/hex":"^1.0.1"},"devDependencies":{"@commitlint/config-conventional":"^16.0.0","@types/jest":"^27.4.0","@types/node":"^17.0.10","commitlint":"^16.1.0","husky":"7.x","jest":"^27.4.7","npm-run-all":"^4.1.5","ts-jest":"^27.1.3","ts-node":"^10.4.0","typescript":"^4.5.5"},"jest":{"verbose":true,"preset":"ts-jest/presets/js-with-ts","testEnvironment":"./test/browser.env.js"},"prettier":{"arrowParens":"avoid","semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"husky":{"hooks":{"commit-msg":"commitlint -E HUSKY_GIT_PARAMS"}},"commitlint":{"extends":["@commitlint/config-conventional"],"rules":{"type-enum":[2,"always",["build","chore","ci","clean","doc","feat","fix","perf","ref","revert","style","test"]],"subject-case":[0,"always","sentence-case"],"body-leading-blank":[2,"always",true]}},"gitHead":"39c94ef5d7f931d00480b11cb2400c948f2061e9","bugs":{"url":"https://github.com/47ng/codec/issues"},"homepage":"https://github.com/47ng/codec#readme","_id":"@47ng/codec@1.1.0","_nodeVersion":"12.20.1","_npmVersion":"6.14.10","dist":{"integrity":"sha512-gvtA2RjijvEiYQbURPM6/Z+ySfS4lmtQ9NovDzzT+5ekeZ3M5pGiotlT94Qd+At4AYwWp7mWJLvxFn3JR+BZbA==","shasum":"ff4a3e37855fb45273152c9d8dd99f2400b57f08","tarball":"https://registry.npmjs.org/@47ng/codec/-/codec-1.1.0.tgz","fileCount":11,"unpackedSize":14115,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh7IDACRA9TVsSAnZWagAAs3gP/jfKhcDe0KI88stnTky0\nc9MLXrHjGww8zWjVvKHljuA23kaupTufa5UcFieaNwD2ElOlm+DcXfLWb4RX\np7tSOTAX1KrPvGMNZx8R+NqNoZuB2p9uTKLHxOLXqxyr4w0TYpgAgE183fWA\n4QtWKx16Z75eoeQtjwggmmf6tbIABw3xSfaRo5orsGiadZEcNiBMzS7TGONu\nkVQyfm/RU5M6nMU59tHIBvr1gtrzWbnrGoIKpQxYKwI5FhMbTiqt0M3QMaEw\ns1fw/mTUYq0Xpv1QVjc7ehAz0pnAsTOhb89fvJFm7cHqja/CC8LPU2MFmndT\ntZDkI75vJ1J+RsZWb5FOrmRYI2dq+8/TBlP69ctn3IDArP/vB9d6W3c22FQa\n03BBmg3VM42XUzIJ6MhPtyye1kx6tCSQCmKJaBPIhBWwyu3u8IZu+xkgMrSK\nNXPzXIgVHCoZbkHV6MrNV9tALQ673ggriDUoB+TKrCXOOknI5gRaeGPwwBxA\nq4KHu++ovp5JxTgEWOBTH1AuwWpyAYZf+EWIik/op74AVCF1eJkplLRQL1CM\n1JP6ipKaj5Laso15+WsvwSzxW1EXxuxGvJBdPidf8Q+m9cNJ1AXA3Tl6fE1h\nJ007nGoDsiJyv6P8I+NyiT+U+rVDvlU2iOcwsHTMcz9rZiOoFbyXA2MZZsCQ\n1NwG\r\n=+WYm\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCtBY1p3WyfOWW31cAFjOX7h6SMbO4h2mawtDgNgnkykAIgci2KIFtYTG2pf8w0KM5DJo19tFKTfoWYXq6JxypVjv4="}]},"_npmUser":{"name":"franky47","email":"accounts@francoisbest.com"},"directories":{},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/codec_1.1.0_1642889408712_0.4301978001374358"},"_hasShrinkwrap":false}},"time":{"created":"2020-01-12T10:07:02.159Z","0.0.1":"2020-01-12T10:07:02.473Z","modified":"2022-04-04T10:45:57.359Z","0.1.0":"2020-01-12T10:53:06.212Z","0.2.0":"2020-01-12T11:16:07.397Z","0.3.0":"2020-01-12T12:31:47.424Z","0.3.1":"2020-01-18T11:07:14.706Z","0.4.0":"2020-01-22T12:14:25.276Z","0.5.0":"2020-03-13T18:33:46.747Z","1.0.0":"2020-04-24T07:36:04.046Z","1.0.1":"2020-12-22T19:42:18.643Z","1.1.0":"2022-01-22T22:10:08.863Z"},"maintainers":[{"name":"franky47","email":"accounts@francoisbest.com"}],"description":"Universal conversion of Uint8Array from/into UTF-8, base64url and hex in the browser and Node.js","homepage":"https://github.com/47ng/codec#readme","keywords":["encoding","decoding","utf-8","base64url","hex","browser","nodejs","int8array"],"repository":{"type":"git","url":"git+https://github.com/47ng/codec.git"},"author":{"name":"François Best","email":"contact@francoisbest.com","url":"https://francoisbest.com"},"bugs":{"url":"https://github.com/47ng/codec/issues"},"license":"MIT","readme":"<h1 align=\"center\"><code>@47ng/codec</code></h1>\n\n<div align=\"center\">\n\n[![NPM](https://img.shields.io/npm/v/@47ng/codec?color=red)](https://www.npmjs.com/package/@47ng/codec)\n[![MIT License](https://img.shields.io/github/license/47ng/codec.svg?color=blue)](https://github.com/47ng/codec/blob/master/LICENSE)\n![GitHub Workflow Status (branch)](https://img.shields.io/github/workflow/status/47ng/codec/Continuous%20Integration/next?label=CI)\n[![Coverage Status](https://coveralls.io/repos/github/47ng/codec/badge.svg?branch=next)](https://coveralls.io/github/47ng/codec?branch=next)\n![NPM Downloads](https://img.shields.io/npm/dm/@47ng/codec)\n\n</div>\n\n<p align=\"center\">\n  Universal conversion of Uint8Array from/into UTF-8, base64url and hex in the browser and Node.js\n</p>\n\n## Features\n\nAvailable codecs:\n\n- `utf8` - UTF-8\n- `b64` - Base 64 URL ([RFC-4648, Section 5](https://tools.ietf.org/html/rfc4648#section-5))\n- `hex` - Hexadecimal, lowercase\n- Simple conversion between string representation\n- Encoding detection\n\n> Watch out !\n> `utf8` uses a different convention than the other codecs (encode and decode\n> are swapped), to reflect how `TextEncoder` and `TextDecoder` behave.\n\n## Installation\n\n```shell\n$ yarn add @47ng/codec\n# or\n$ npm i @47ng/codec\n```\n\n## Support\n\n- Node.js: >=11.x\n- Browser: See [caniuse](https://caniuse.com/#feat=textencoder) for `TextEncoder` / `TextDecoder`\n\n## Examples\n\n```ts\nimport { b64, hex, utf8 } from '@47ng/codec'\n\nb64.encode(utf8.encode('Hello, World !')) // SGVsbG8sIFdvcmxkICE=\nhex.encode(b64.decode('SGVsbG8sIFdvcmxkICE=')) // 48656c6c6f2c20576f726c642021\nutf8.decode(hex.decode('48656c6c6f2c20576f726c642021')) // Hello, World !\n\nb64.decode('SGVsbG8sIFdvcmxkICE=') // <Buffer 48 65 6c 6c 6f 2c 20 57 6f 72 6c 64 20 21>\n```\n\n## Documentation\n\n### UTF-8\n\n- `utf8.encode`: Convert an UTF-8 string into an array of bytes (Uint8Array)\n- `utf8.decode`: Convert an array of bytes into an UTF-8 string\n\nExamples:\n\n```ts\nimport { utf8 } from '@47ng/codec'\n\nconst uint8Array = utf8.encode('Hello, World!')\n// Uint8Array [72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33]\n\nconst backToText = utf8.decode(uint8Array)\n// 'Hello, World!'\n```\n\n### Base 64\n\n- `b64.encode`: Convert an array of bytes into a base64url string\n- `b64.decode`: Convert a base64 string into an array of bytes\n- `b64.urlSafe`: Convert a standard base64 string to base64url\n- `b64.urlUnsafe`: Convert a base64url string to standard base64 dictionary\n\n> _**Note**_: For decoding, any dictionary is supported, and trailing padding (`=`) is optional.\n\nExamples:\n\n```ts\nimport { b64, utf8 } from '@47ng/codec'\n\nconst uint8Array = b64.decode('8J-Ri_CfjI0')\n// Uint8Array [240, 159, 145, 139, 240, 159, 140, 141]\n\n// Encoding always emits padding\nconst backToBase64 = b64.encode(uint8Array)\n// '8J-Ri_CfjI0='\n\nconst asText = utf8.decode(uint8Array)\n// '👋🌍'\n```\n\n### Hex\n\n- `hex.encode`: Convert an array of bytes into a hex string\n- `hex.decode`: Convert a hex string into an array of bytes\n\n> _**Note**_: Decoding accepts any case (lowercase, uppercase, mixed).\n\nExamples:\n\n```ts\nimport { hex } from '@47ng/codec'\n\nconst uint8Array = hex.decode('48656C6C6F2C20576f726c642021')\n// Uint8Array [72, 101, 108, 108, 111, 44, 32, 87, 111, 114, 108, 100, 33]\n\n// Encoding is always lowercase\nconst backToBase64 = hex.encode(uint8Array)\n// '48656c6c6f2c20576f726c642021'\n```\n\n### Utilities\n\nThe library exports convenience methods for converting from one string\nrepresentation to another:\n\n```ts\nimport {\n  hexToBase64url,\n  base64ToHex,\n  utf8ToBase64,\n  base64toUTF8,\n  utf8ToHex,\n  hexToUTF8\n} from '@47ng/codec'\n\nbase64ToHex('SGVsbG8sIFdvcmxkICE=')\n// 48656c6c6f2c20576f726c642021\n\nhexToBase64url('48656c6c6f2c20576f726c642021')\n// SGVsbG8sIFdvcmxkICE=\n\nutf8ToBase64('Hello, World !')\n// SGVsbG8sIFdvcmxkICE=\n\nbase64toUTF8('SGVsbG8sIFdvcmxkICE=')\n// Hello, World !\n\nutf8ToHex('Hello, World !')\n// 48656c6c6f2c20576f726c642021\n\nhexToUTF8('48656c6c6f2c20576f726c642021')\n// Hello, World !\n```\n\nIt also exports encoder / decoder objects with strong TypeScript types, to help you\nbuild your own encoders & decoders:\n\n```ts\nimport { encoders, decoders, Encoding } from '@47ng/codec'\n\n// type Encoding = 'base64' | 'utf8' | 'hex'\n\nfunction convert(\n  input: string,\n  inputEncoding: Encoding,\n  outputEncoding: Encoding\n): string {\n  const decoder = decoders[inputEncoding]\n  const encoder = encoders[outputEncoding]\n  return encoder(decoder(input))\n}\n\nconvert('Hello, World!', 'utf8', 'base64')\n// SGVsbG8sIFdvcmxkICE\n\nconvert('Hello, World!', 'utf8', 'hex')\n// 48656c6c6f2c20576f726c642021\n```\n\nYou can detect the encoding of a string:\n\n```ts\nimport { detectEncoding } from '@47ng/codec'\n\ndetectEncoding('baadf00dcafebabe') // hex\n\n// Both variants of base64 are detected\ndetectEncoding('SGVs+G8s/FdvcmxkICE=') // base64\ndetectEncoding('SGVs-G8s_FdvcmxkICE=') // base64\n\ndetectEncoding('not hex not base64') // utf8\n```\n\n## License\n\n[MIT](https://github.com/47ng/codec/blob/master/LICENSE) - Made with ❤️ by\n[François Best](https://francoisbest.com).\n\nUsing this package at work ? [Sponsor me](https://github.com/sponsors/franky47) to help with support and maintenance.\n","readmeFilename":"README.md"}