{"versions":{"0.1.0":{"name":"@oslojs/encoding","type":"module","version":"0.1.0","description":"Runtime-agnostic library for encoding and decoding data","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","keywords":["auth","crypto","encoding","hex","base16","base32","base64","base64url"],"author":{"name":"pilcrowOnPaper"},"license":"MIT","devDependencies":{"@types/node":"^20.8.6","@typescript-eslint/eslint-plugin":"^6.7.5","@typescript-eslint/parser":"^6.7.5","auri":"^2.0.0","eslint":"^8.51.0","prettier":"^3.0.3","typescript":"^5.2.2","vitest":"^0.34.6"},"scripts":{"build":"rm -rf dist/* && tsc --project tsconfig.build.json","format":"prettier -w .","lint":"eslint src","test":"vitest run --sequence.concurrent"},"_id":"@oslojs/encoding@0.1.0","_integrity":"sha512-XvxLVojt/RvCqvKoqdZjrAJ57VEyKNHT5bK2Hv8UDQggwC9SEenCvN4pWywzscko+jf2Uo71dA+VQs4jByRe2A==","_resolved":"/private/var/folders/qb/z2pf2nq559n552wvjqbjddww0000gn/T/fb9ad6abdd608fb9453cca3c40efaa62/oslojs-encoding-0.1.0.tgz","_from":"file:oslojs-encoding-0.1.0.tgz","_nodeVersion":"21.7.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-XvxLVojt/RvCqvKoqdZjrAJ57VEyKNHT5bK2Hv8UDQggwC9SEenCvN4pWywzscko+jf2Uo71dA+VQs4jByRe2A==","shasum":"3a14cced731bfd4d05d95b385f6f5e52f2b92589","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@oslojs/encoding/-/encoding-0.1.0.tgz","fileCount":11,"unpackedSize":14025,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDZbtJhzaFcm/GTc31tSfLTRiHGmYKhobXkrJ3vM60bswIgXLh74KEvwlmQsHxmDKILOguQ/bMmtVBaXa5GW708b9E="}],"size":4052},"_npmUser":{"name":"anonymous","email":"pilcrowonpaper@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"pilcrowonpaper@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encoding_0.1.0_1714638389572_0.6655160962115014"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-02T08:26:29.709Z","publish_time":1714638389709,"_source_registry_name":"default","contributors":[]},"0.2.0":{"name":"@oslojs/encoding","type":"module","version":"0.2.0","description":"Runtime-agnostic library for encoding and decoding data","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","keywords":["auth","encoding","hex","base16","base32","base64","base64url"],"repository":{"type":"git","url":"git+https://github.com/oslo-project/encoding.git"},"author":{"name":"pilcrowOnPaper"},"license":"MIT","devDependencies":{"@types/node":"^20.8.6","@typescript-eslint/eslint-plugin":"^6.7.5","@typescript-eslint/parser":"^6.7.5","auri":"^2.0.0","eslint":"^8.51.0","prettier":"^3.0.3","typescript":"^5.2.2","vitest":"^0.34.6"},"scripts":{"build":"rm -rf dist/* && tsc --project tsconfig.build.json","format":"prettier -w .","lint":"eslint src","test":"vitest run --sequence.concurrent"},"bugs":{"url":"https://github.com/oslo-project/encoding/issues"},"homepage":"https://github.com/oslo-project/encoding#readme","_id":"@oslojs/encoding@0.2.0","_integrity":"sha512-Z3AjpTFBsAiJBYl88fFRkjRWNgpu5PNqwWupfxyyqMFAoed+i2uIbMxQZr7AKhEy7ARclDxVRb/OkkBlO5qkhw==","_resolved":"/private/var/folders/qb/z2pf2nq559n552wvjqbjddww0000gn/T/04eef6f39d1e91832cf51bf47d707574/oslojs-encoding-0.2.0.tgz","_from":"file:oslojs-encoding-0.2.0.tgz","_nodeVersion":"21.7.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-Z3AjpTFBsAiJBYl88fFRkjRWNgpu5PNqwWupfxyyqMFAoed+i2uIbMxQZr7AKhEy7ARclDxVRb/OkkBlO5qkhw==","shasum":"d8db790e8737fccf8802269c75503ba70df8278b","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@oslojs/encoding/-/encoding-0.2.0.tgz","fileCount":11,"unpackedSize":12368,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDA6tegFN+v6sLH0hTrJ9nSimXC6Q6gZwIA5TGH2Z3dHQIgVJqqiwWgx/8bOzWDIxlIN5A93gwxhRK7YldNpJkwpDU="}],"size":3520},"_npmUser":{"name":"anonymous","email":"pilcrowonpaper@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"pilcrowonpaper@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encoding_0.2.0_1715311218769_0.3533959042288719"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-05-10T03:20:18.927Z","publish_time":1715311218927,"_source_registry_name":"default","contributors":[]},"0.3.0":{"name":"@oslojs/encoding","type":"module","version":"0.3.0","description":"Runtime-agnostic library for encoding and decoding data","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","keywords":["auth","encoding","hex","base16","base32","base64","base64url"],"repository":{"type":"git","url":"git+https://github.com/oslo-project/encoding.git"},"author":{"name":"pilcrowOnPaper"},"license":"MIT","devDependencies":{"@scure/base":"^1.1.6","@types/node":"^20.11.25","@typescript-eslint/eslint-plugin":"^6.7.5","@typescript-eslint/parser":"^6.7.5","auri":"^2.0.0","eslint":"^8.51.0","prettier":"^3.0.3","typescript":"^5.2.2","vitest":"^0.34.6"},"scripts":{"build":"rm -rf dist/* && tsc --project tsconfig.build.json","format":"prettier -w .","lint":"eslint src","test":"vitest run --sequence.concurrent"},"bugs":{"url":"https://github.com/oslo-project/encoding/issues"},"homepage":"https://github.com/oslo-project/encoding#readme","_id":"@oslojs/encoding@0.3.0","_integrity":"sha512-i374LSDXuo2l+waPlejutIkw1zOA1wWxpvaXwQgyGsr5eZwX29hH1KIKFopPTriR4DKH+7nL7c5wNx16a/6voQ==","_resolved":"/private/var/folders/qb/z2pf2nq559n552wvjqbjddww0000gn/T/9f0d5d6f23c26bb6b9c40c8665ea7ae3/oslojs-encoding-0.3.0.tgz","_from":"file:oslojs-encoding-0.3.0.tgz","_nodeVersion":"21.7.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-i374LSDXuo2l+waPlejutIkw1zOA1wWxpvaXwQgyGsr5eZwX29hH1KIKFopPTriR4DKH+7nL7c5wNx16a/6voQ==","shasum":"39d01ed2932be5ef489b306f107146b23050b0eb","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@oslojs/encoding/-/encoding-0.3.0.tgz","fileCount":11,"unpackedSize":16154,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDwPuV14WhTJ5bEWiItUQ+Cq2mLowN6AXqU+u58GxFTNAiAy0rqyzkXXgXpSjFMsEeYLQI58Ihr/t8iCDhwGy8Ay6A=="}],"size":3643},"_npmUser":{"name":"anonymous","email":"pilcrowonpaper@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"pilcrowonpaper@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encoding_0.3.0_1717831615487_0.2424160860536122"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-06-08T07:26:55.615Z","publish_time":1717831615615,"_source_registry_name":"default","contributors":[]},"0.4.0":{"name":"@oslojs/encoding","type":"module","version":"0.4.0","description":"Runtime-agnostic library for encoding and decoding data","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","keywords":["auth","encoding","hex","base16","base32","base64","base64url"],"repository":{"type":"git","url":"git+https://github.com/oslo-project/encoding.git"},"author":{"name":"pilcrowOnPaper"},"license":"MIT","devDependencies":{"@scure/base":"^1.1.6","@types/node":"^20.11.25","@typescript-eslint/eslint-plugin":"^6.7.5","@typescript-eslint/parser":"^6.7.5","auri":"^2.0.0","eslint":"^8.51.0","prettier":"^3.0.3","typescript":"^5.2.2","vitest":"^0.34.6"},"scripts":{"build":"rm -rf dist/* && tsc --project tsconfig.build.json","format":"prettier -w .","lint":"eslint src","test":"vitest run --sequence.concurrent"},"bugs":{"url":"https://github.com/oslo-project/encoding/issues"},"homepage":"https://github.com/oslo-project/encoding#readme","_id":"@oslojs/encoding@0.4.0","_integrity":"sha512-QE3fMwdygkTqrNYNl1RVdHbkyz7kCy2MgIX024MDePfOyI9czglPxWEhdRZbmh8i1H6OxPSpQap1mTeX7tBJcg==","_resolved":"/private/var/folders/qb/z2pf2nq559n552wvjqbjddww0000gn/T/0e4cbee84bb1294040b5937c67edec0d/oslojs-encoding-0.4.0.tgz","_from":"file:oslojs-encoding-0.4.0.tgz","_nodeVersion":"21.7.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-QE3fMwdygkTqrNYNl1RVdHbkyz7kCy2MgIX024MDePfOyI9czglPxWEhdRZbmh8i1H6OxPSpQap1mTeX7tBJcg==","shasum":"6be2020402b21c374154da5535fbb6e2e30ed3b4","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@oslojs/encoding/-/encoding-0.4.0.tgz","fileCount":11,"unpackedSize":16495,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDD8c4E3X+4EYzCCuHuRQ54Hy2trMV9S2RFTveuByMjOwIgY5UbWiyBOEM9CEqhaBavw7Ic/Wqiq594CSN6reAyORQ="}],"size":4041},"_npmUser":{"name":"anonymous","email":"pilcrowonpaper@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"pilcrowonpaper@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encoding_0.4.0_1722477028855_0.4737192921874285"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-01T01:50:29.032Z","publish_time":1722477029032,"_source_registry_name":"default","contributors":[]},"0.4.1":{"name":"@oslojs/encoding","type":"module","version":"0.4.1","description":"Runtime-agnostic library for encoding and decoding data","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","keywords":["auth","encoding","hex","base16","base32","base64","base64url"],"repository":{"type":"git","url":"git+https://github.com/oslo-project/encoding.git"},"author":{"name":"pilcrowOnPaper"},"license":"MIT","devDependencies":{"@scure/base":"^1.1.6","@types/node":"^20.11.25","@typescript-eslint/eslint-plugin":"^6.7.5","@typescript-eslint/parser":"^6.7.5","auri":"^2.0.0","eslint":"^8.51.0","prettier":"^3.0.3","typescript":"^5.2.2","vitest":"^0.34.6"},"scripts":{"build":"rm -rf dist/* && tsc --project tsconfig.build.json","format":"prettier -w .","lint":"eslint src","test":"vitest run --sequence.concurrent"},"bugs":{"url":"https://github.com/oslo-project/encoding/issues"},"homepage":"https://github.com/oslo-project/encoding#readme","_id":"@oslojs/encoding@0.4.1","_integrity":"sha512-hkjo6MuIK/kQR5CrGNdAPZhS01ZCXuWDRJ187zh6qqF2+yMHZpD9fAYpX8q2bOO6Ryhl3XpCT6kUX76N8hhm4Q==","_resolved":"/private/var/folders/qb/z2pf2nq559n552wvjqbjddww0000gn/T/720868c9cb1f4b51a3e911db061d052b/oslojs-encoding-0.4.1.tgz","_from":"file:oslojs-encoding-0.4.1.tgz","_nodeVersion":"21.7.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-hkjo6MuIK/kQR5CrGNdAPZhS01ZCXuWDRJ187zh6qqF2+yMHZpD9fAYpX8q2bOO6Ryhl3XpCT6kUX76N8hhm4Q==","shasum":"1489e560041533214511e9e03626962d24e58e9f","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@oslojs/encoding/-/encoding-0.4.1.tgz","fileCount":11,"unpackedSize":16401,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDHhf9VeeH6lDCc+AXgPiYBlmXebB2/gisgvdIToU+uXwIgFChz+yh3Mx4TnubGuSyDwK/VHk9x2aIu1ZQdzP+7N18="}],"size":4014},"_npmUser":{"name":"anonymous","email":"pilcrowonpaper@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"pilcrowonpaper@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encoding_0.4.1_1722506773245_0.576852735906423"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-08-01T10:06:13.401Z","publish_time":1722506773401,"_source_registry_name":"default","contributors":[]},"1.0.0":{"name":"@oslojs/encoding","type":"module","version":"1.0.0","description":"Runtime-agnostic library for encoding and decoding data","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","keywords":["auth","encoding","hex","base16","base32","base64","base64url"],"repository":{"type":"git","url":"git+https://github.com/oslo-project/encoding.git"},"author":{"name":"pilcrowOnPaper"},"license":"MIT","devDependencies":{"@scure/base":"^1.1.6","@types/node":"^20.11.25","@typescript-eslint/eslint-plugin":"^6.7.5","@typescript-eslint/parser":"^6.7.5","auri":"^2.0.0","eslint":"^8.51.0","prettier":"^3.0.3","typescript":"^5.2.2","vitest":"^0.34.6"},"scripts":{"build":"rm -rf dist/* && tsc --project tsconfig.build.json","format":"prettier -w .","lint":"eslint src","test":"vitest run --sequence.concurrent"},"bugs":{"url":"https://github.com/oslo-project/encoding/issues"},"homepage":"https://github.com/oslo-project/encoding#readme","_id":"@oslojs/encoding@1.0.0","_integrity":"sha512-dyIB0SdZgMm5BhGwdSp8rMxEFIopLKxDG1vxIBaiogyom6ZqH2aXPb6DEC2WzOOWKdPSq1cxdNeRx2wAn1Z+ZQ==","_resolved":"/private/var/folders/qb/z2pf2nq559n552wvjqbjddww0000gn/T/749aeef9e8f7a8119c8449665c4ad3c1/oslojs-encoding-1.0.0.tgz","_from":"file:oslojs-encoding-1.0.0.tgz","_nodeVersion":"21.7.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-dyIB0SdZgMm5BhGwdSp8rMxEFIopLKxDG1vxIBaiogyom6ZqH2aXPb6DEC2WzOOWKdPSq1cxdNeRx2wAn1Z+ZQ==","shasum":"ac3219e7c2b28a4e29a32d5cebb7cae57b4526bd","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@oslojs/encoding/-/encoding-1.0.0.tgz","fileCount":11,"unpackedSize":16401,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHWo9mSgRN2u1Kg62ZuaFtNxiq8WzbcUj/dim6XzmXspAiEAithNNLzrgzkYCoBNcu24QPcF9POgr/RMxiE5fVjJQSg="}],"size":4014},"_npmUser":{"name":"anonymous","email":"pilcrowonpaper@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"pilcrowonpaper@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encoding_1.0.0_1726710103070_0.8477873214060765"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-19T01:41:43.283Z","publish_time":1726710103283,"_source_registry_name":"default","contributors":[]},"1.1.0":{"name":"@oslojs/encoding","type":"module","version":"1.1.0","description":"Runtime-agnostic library for encoding and decoding data","main":"dist/index.js","module":"dist/index.js","types":"dist/index.d.ts","keywords":["auth","encoding","hex","base16","base32","base64","base64url"],"repository":{"type":"git","url":"git+https://github.com/oslo-project/encoding.git"},"author":{"name":"pilcrowOnPaper"},"license":"MIT","devDependencies":{"@scure/base":"^1.1.6","@types/node":"^20.11.25","@typescript-eslint/eslint-plugin":"^6.7.5","@typescript-eslint/parser":"^6.7.5","auri":"^2.0.0","eslint":"^8.51.0","prettier":"^3.0.3","typescript":"^5.2.2","vitest":"^0.34.6"},"scripts":{"build":"rm -rf dist/* && tsc --project tsconfig.build.json","format":"prettier -w .","lint":"eslint src","test":"vitest run --sequence.concurrent"},"bugs":{"url":"https://github.com/oslo-project/encoding/issues"},"homepage":"https://github.com/oslo-project/encoding#readme","_id":"@oslojs/encoding@1.1.0","_integrity":"sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==","_resolved":"/private/var/folders/qb/z2pf2nq559n552wvjqbjddww0000gn/T/70bd4ae30d04c6c51df47f4fba4e3327/oslojs-encoding-1.1.0.tgz","_from":"file:oslojs-encoding-1.1.0.tgz","_nodeVersion":"21.7.0","_npmVersion":"10.5.0","dist":{"integrity":"sha512-70wQhgYmndg4GCPxPPxPGevRKqTIJ2Nh4OkiMWmDAVYsTQ+Ta7Sq+rPevXyXGdzr30/qZBnyOalCszoMxlyldQ==","shasum":"55f3d9a597430a01f2a5ef63c6b42f769f9ce34e","tarball":"http://123.232.10.234:8212/nexus/content/groups/npm-public/@oslojs/encoding/-/encoding-1.1.0.tgz","fileCount":11,"unpackedSize":17748,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEHldn6LGn/pHL18i3+xw3RxUkrnNq41hTON15iemfT1AiAnh9F29IRgc72Hg744yN05b61KKgOX8mPGDCnvSPZlcA=="}],"size":4131},"_npmUser":{"name":"anonymous","email":"pilcrowonpaper@gmail.com"},"directories":{},"maintainers":[{"name":"anonymous","email":"pilcrowonpaper@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/encoding_1.1.0_1727176103818_0.43131895268175935"},"_hasShrinkwrap":false,"_cnpmcore_publish_time":"2024-09-24T11:08:24.035Z","publish_time":1727176104035,"_source_registry_name":"default","contributors":[]}},"dist-tags":{"latest":"1.1.0"},"name":"@oslojs/encoding","time":{"created":"2024-05-02T08:28:27.037Z","modified":"2024-09-24T19:59:42.807Z","0.1.0":"2024-05-02T08:26:29.709Z","0.2.0":"2024-05-10T03:20:18.927Z","0.3.0":"2024-06-08T07:26:55.615Z","0.4.0":"2024-08-01T01:50:29.032Z","0.4.1":"2024-08-01T10:06:13.401Z","1.0.0":"2024-09-19T01:41:43.283Z","1.1.0":"2024-09-24T11:08:24.035Z"},"readme":"# @oslojs/encoding\n\n**Documentation: https://encoding.oslojs.dev**\n\nA JavaScript library for encoding and decoding data with hexadecimal, base32, base64, and base64url encoding schemes based on [RFC 4648](https://datatracker.ietf.org/doc/html/rfc4648). Implementations may be stricter than most to follow the RFC as close as possible.\n\n- Runtime-agnostic\n- No third-party dependencies\n- Fully typed\n\n```ts\nimport { encodeBase64, decodeBase64 } from \"@oslojs/encoding\";\n\nconst data: Uint8Array = new TextEncoder().encode(\"hello world\");\nconst encoded = encodeBase64(data);\nconst decoded = decodeBase64(encoded);\n```\n\n## Installation\n\n```\nnpm i @oslojs/encoding\n```","users":{}}