{"_id":"@bjorkhaug/sjwt","_rev":"6-abc803a48b75df74efdee8c643f8f1d3","name":"@bjorkhaug/sjwt","dist-tags":{"latest":"2.0.0"},"versions":{"1.0.0":{"module":"./esm/mod.js","main":"./script/mod.js","name":"@bjorkhaug/sjwt","version":"1.0.0","description":"Simple jwt encoding and decoding for Deno and Node.js","license":"MIT","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","scope":"@bjorkhaug"},"dependencies":{"@bjorkhaug/sbase64url":"^1.0.0","@deno/shim-deno":"~0.16.1","@deno/shim-crypto":"~0.3.1"},"repository":{"type":"git","url":"git+https://github.com/simenbjorkhaug/sjwt.git"},"bugs":{"url":"https://github.com/simenbjorkhaug/sjwt/issues"},"exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"scripts":{"test":"node test_runner.js"},"devDependencies":{"@types/node":"^18.11.9","picocolors":"^1.0.0"},"_id":"@bjorkhaug/sjwt@1.0.0","gitHead":"bc9e331165fe5ae8d5d25c73709ff1c28f779b5d","types":"./script/mod.d.ts","homepage":"https://github.com/simenbjorkhaug/sjwt#readme","_nodeVersion":"21.1.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-APoJJi0KGVwn1srueGyWW3bWWRM65Yxx2hm9X64T0Gk+/k9GDRweWA5JCtka+patv6qhmFUNxYwqVdU15OiQWw==","shasum":"ffb694af3351ea3f7ce5c928140798e19ee98863","tarball":"https://registry.npmjs.org/@bjorkhaug/sjwt/-/sjwt-1.0.0.tgz","fileCount":72,"unpackedSize":58874,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICYNSdkZuRNYNntqZvJBTxGePOQ5EguZFKBm+CSUTqL1AiEAzeDpGINYXFqSnaHCqVY00E69DbPrxXrZl4FzfhgZgK8="}]},"_npmUser":{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"},"directories":{},"maintainers":[{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sjwt_1.0.0_1699521788132_0.7105836406944503"},"_hasShrinkwrap":false},"1.1.0":{"module":"./esm/mod.js","main":"./script/mod.js","name":"@bjorkhaug/sjwt","version":"1.1.0","description":"Simple jwt encoding and decoding for Deno and Node.js","license":"MIT","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","scope":"@bjorkhaug"},"dependencies":{"@bjorkhaug/sbase64url":"^1.0.0","@deno/shim-deno":"~0.16.1","@deno/shim-crypto":"~0.3.1"},"repository":{"type":"git","url":"git+https://github.com/simenbjorkhaug/sjwt.git"},"bugs":{"url":"https://github.com/simenbjorkhaug/sjwt/issues"},"exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"scripts":{"test":"node test_runner.js"},"devDependencies":{"@types/node":"^18.11.9","picocolors":"^1.0.0"},"_id":"@bjorkhaug/sjwt@1.1.0","gitHead":"82e18356f79a8985efdb65bd609384a7c65fe0d3","types":"./script/mod.d.ts","homepage":"https://github.com/simenbjorkhaug/sjwt#readme","_nodeVersion":"21.1.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-tNTXkDQxSbe/uUSvGen1kU+hZqcrMhVzNcyyPbKdzuvuN7kxvPSVeUkFL93kQJpCweISQsl6PcaykVfcY8wyzg==","shasum":"5c697e43c3176cc6f6a88a6cc4ffe6b21ced6637","tarball":"https://registry.npmjs.org/@bjorkhaug/sjwt/-/sjwt-1.1.0.tgz","fileCount":72,"unpackedSize":58872,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEG3AConfj5A7XB65tDUu1UCHt6E4fDghIgnJ4MRTPuFAiAueisIfKu0iWdmSWC1c2pBb9BtZhDum+UFdgpjDHp9sQ=="}]},"_npmUser":{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"},"directories":{},"maintainers":[{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sjwt_1.1.0_1699522762056_0.059067627588174076"},"_hasShrinkwrap":false},"1.2.0":{"module":"./esm/mod.js","main":"./script/mod.js","name":"@bjorkhaug/sjwt","version":"1.2.0","description":"Simple jwt encoding and decoding for Deno and Node.js","license":"MIT","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","scope":"@bjorkhaug"},"dependencies":{"@bjorkhaug/sbase64url":"^1.0.0","@deno/shim-deno":"~0.16.1","@deno/shim-crypto":"~0.3.1"},"repository":{"type":"git","url":"git+https://github.com/simenbjorkhaug/sjwt.git"},"bugs":{"url":"https://github.com/simenbjorkhaug/sjwt/issues"},"exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"scripts":{"test":"node test_runner.js"},"devDependencies":{"@types/node":"^18.11.9","picocolors":"^1.0.0"},"_id":"@bjorkhaug/sjwt@1.2.0","gitHead":"f0f5ac68ca844a7ca069fac0f98bd649b7d07690","types":"./script/mod.d.ts","homepage":"https://github.com/simenbjorkhaug/sjwt#readme","_nodeVersion":"21.1.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-svn77MHKttJoGo1PxBD5mYFSjnLGdhWRPxp/Ut4bmhvHXI5XDnE+29+UL2na4DlTHJql7pyVmKjtLvpMeUUH7Q==","shasum":"7fd8c09a9d8cca74efdd1470b909ea19889aae5f","tarball":"https://registry.npmjs.org/@bjorkhaug/sjwt/-/sjwt-1.2.0.tgz","fileCount":72,"unpackedSize":59144,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBxRiIUxZJ/K1hVhM2yufKQ+ujWM/hcTigCgTsBtDs4CAiB1OagCNbtaHU39yqHNjmS0QUaDNtbDID+hd6ass34WRQ=="}]},"_npmUser":{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"},"directories":{},"maintainers":[{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sjwt_1.2.0_1699523468783_0.5576884592602243"},"_hasShrinkwrap":false},"1.4.0":{"module":"./esm/mod.js","main":"./script/mod.js","name":"@bjorkhaug/sjwt","version":"1.4.0","description":"Simple jwt encoding and decoding for Deno and Node.js","license":"MIT","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","scope":"@bjorkhaug"},"dependencies":{"@bjorkhaug/sbase64url":"^2.0.0","@deno/shim-deno":"~0.16.1","@deno/shim-crypto":"~0.3.1"},"repository":{"type":"git","url":"git+https://github.com/simenbjorkhaug/sjwt.git"},"bugs":{"url":"https://github.com/simenbjorkhaug/sjwt/issues"},"exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"scripts":{"test":"node test_runner.js"},"devDependencies":{"@types/node":"^18.11.9","picocolors":"^1.0.0"},"_id":"@bjorkhaug/sjwt@1.4.0","gitHead":"be7da716e54cc6c4b29c071af8e8c8caddf76534","types":"./script/mod.d.ts","homepage":"https://github.com/simenbjorkhaug/sjwt#readme","_nodeVersion":"21.1.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-nY+cimP7BQLikYfg9ufp4ON9/EBy1pIiB58aslGWqcSs7d0ECHGRRQ52C2Qodn4kuCPB1B7zt7MNHpH6dsO49g==","shasum":"9fc314cd0218fdb36015bc866fd1364804165be2","tarball":"https://registry.npmjs.org/@bjorkhaug/sjwt/-/sjwt-1.4.0.tgz","fileCount":72,"unpackedSize":59144,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIE3T5Z5bC9IsRKpXIVjgnPt3q+tB1oNuKRvgjeAfS7WBAiEAkSUAIdFMyB00h29962sl8QAj+myY/OiT7stl9ZE9L3w="}]},"_npmUser":{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"},"directories":{},"maintainers":[{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sjwt_1.4.0_1699628065918_0.9516422355698746"},"_hasShrinkwrap":false},"1.7.0":{"module":"./esm/mod.js","main":"./script/mod.js","name":"@bjorkhaug/sjwt","version":"1.7.0","description":"Simple jwt encoding and decoding for Deno and Node.js","license":"MIT","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","scope":"@bjorkhaug"},"dependencies":{"@bjorkhaug/sbase64url":"^2.0.0","@deno/shim-deno-test":"~0.4.0","@deno/shim-crypto":"~0.3.1"},"repository":{"type":"git","url":"git+https://github.com/simenbjorkhaug/sjwt.git"},"bugs":{"url":"https://github.com/simenbjorkhaug/sjwt/issues"},"exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"scripts":{"test":"node test_runner.js"},"devDependencies":{"@types/node":"^18.11.9","picocolors":"^1.0.0"},"_id":"@bjorkhaug/sjwt@1.7.0","gitHead":"8131142c08a572d1b23e8d9d1fbbc54f529a666f","types":"./script/mod.d.ts","homepage":"https://github.com/simenbjorkhaug/sjwt#readme","_nodeVersion":"21.1.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-m4cz5fF1c6ULmVOeU0PdUsMjU1jrq4trtxd6Kugw0fXG+kEB1D2wwKoWry+PdwEeNp6+boHIkWN9KzoffSRzmA==","shasum":"ab987c33306e2fe9d4c619d4e6bae33508eda080","tarball":"https://registry.npmjs.org/@bjorkhaug/sjwt/-/sjwt-1.7.0.tgz","fileCount":72,"unpackedSize":59208,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIE7Slk1auo1tH3zSYhdn2/HLr5QZkZ154zPIVLNwSgT/AiAjYKc4kNvr0GEnaqtUmsO2jGzr5lPJA6ZIJfvW6L4Q0Q=="}]},"_npmUser":{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"},"directories":{},"maintainers":[{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sjwt_1.7.0_1699630247842_0.6367297523971005"},"_hasShrinkwrap":false},"1.8.0":{"module":"./esm/mod.js","main":"./script/mod.js","name":"@bjorkhaug/sjwt","version":"1.8.0","description":"Simple jwt encoding and decoding for Deno and Node.js","license":"MIT","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","scope":"@bjorkhaug"},"dependencies":{"@bjorkhaug/sbase64url":"^2.0.0","@deno/shim-deno-test":"~0.4.0","@deno/shim-crypto":"~0.3.1"},"repository":{"type":"git","url":"git+https://github.com/simenbjorkhaug/sjwt.git"},"bugs":{"url":"https://github.com/simenbjorkhaug/sjwt/issues"},"exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"scripts":{"test":"node test_runner.js"},"devDependencies":{"@types/node":"^18.11.9","picocolors":"^1.0.0"},"_id":"@bjorkhaug/sjwt@1.8.0","gitHead":"10f9b0ef89eafb73dee748118b866fc128fcb36b","types":"./script/mod.d.ts","homepage":"https://github.com/simenbjorkhaug/sjwt#readme","_nodeVersion":"21.1.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-e8/ZLhw/kuGejKXOPoOtMUcQo/fFXqR1ZwS/V3qM2u2v5T+14ymQxIkzvKa/v28QLa2slifcfCPv4fKjvQrMEA==","shasum":"06ea9cbe37a95b988af37e511b5ebbecf7a05cbb","tarball":"https://registry.npmjs.org/@bjorkhaug/sjwt/-/sjwt-1.8.0.tgz","fileCount":72,"unpackedSize":59272,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD1y5Y0nIOMQNEjjrUFSrikVfFhx/XKGTlZI4oYYp7VRQIhAMDOcfH+zX73CYik4uZKmtx0tSdT05mSpWgxGFeYpCUc"}]},"_npmUser":{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"},"directories":{},"maintainers":[{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sjwt_1.8.0_1699631439797_0.020266331766064738"},"_hasShrinkwrap":false},"2.0.0":{"module":"./esm/mod.js","main":"./script/mod.js","name":"@bjorkhaug/sjwt","version":"2.0.0","description":"Simple jwt encoding and decoding for Deno and Node.js","license":"MIT","publishConfig":{"access":"public","registry":"https://registry.npmjs.org/","scope":"@bjorkhaug"},"dependencies":{"@bjorkhaug/sbase64url":"^5.0.2","@deno/shim-deno-test":"~0.4.0","@deno/shim-crypto":"~0.3.1"},"repository":{"type":"git","url":"git+https://github.com/simenbjorkhaug/sjwt.git"},"bugs":{"url":"https://github.com/simenbjorkhaug/sjwt/issues"},"exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"scripts":{"test":"node test_runner.js"},"devDependencies":{"@types/node":"^18.11.9","picocolors":"^1.0.0"},"_id":"@bjorkhaug/sjwt@2.0.0","gitHead":"e3d52eb5736efc29837b4fc6ec5a92b7dba94410","types":"./script/mod.d.ts","homepage":"https://github.com/simenbjorkhaug/sjwt#readme","_nodeVersion":"21.1.0","_npmVersion":"10.2.0","dist":{"integrity":"sha512-k+2ONBV7MfHPJwV+w+eGbCLbhL+f3LE+uj8li81psqvENqCCknMFxdFyGvejI8srhtViOTIEhBenWulTOjCzGw==","shasum":"2f5ddd583f63c303f155c8d6d517ed300e8a0104","tarball":"https://registry.npmjs.org/@bjorkhaug/sjwt/-/sjwt-2.0.0.tgz","fileCount":72,"unpackedSize":59405,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFP+2Q5xZJgAmufXYxabbNunDBZDhJcDCBU+yzD15LmqAiBvWpzW0U8whUjzTCOtimYQIw2bT9iSHFP/YccLLHjW+g=="}]},"_npmUser":{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"},"directories":{},"maintainers":[{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/sjwt_2.0.0_1699794782822_0.06553393649010086"},"_hasShrinkwrap":false}},"time":{"created":"2023-11-09T09:23:07.986Z","1.0.0":"2023-11-09T09:23:08.344Z","modified":"2023-11-12T13:13:03.233Z","1.1.0":"2023-11-09T09:39:22.204Z","1.2.0":"2023-11-09T09:51:09.026Z","1.4.0":"2023-11-10T14:54:26.121Z","1.7.0":"2023-11-10T15:30:48.041Z","1.8.0":"2023-11-10T15:50:40.042Z","2.0.0":"2023-11-12T13:13:03.028Z"},"maintainers":[{"name":"simenbjorkhaug","email":"simen@bjorkhaug.io"}],"description":"Simple jwt encoding and decoding for Deno and Node.js","homepage":"https://github.com/simenbjorkhaug/sjwt#readme","repository":{"type":"git","url":"git+https://github.com/simenbjorkhaug/sjwt.git"},"bugs":{"url":"https://github.com/simenbjorkhaug/sjwt/issues"},"license":"MIT","readme":"# Simple jwt library\n\n## Purpose\n\nConsume and use the web crypto standard for runtimes like node and deno without\nrelying on external platforms. With this library you can sign and issue valid\njwt tokens, as well as encode jwt without any signature.\n\nNote does not support issueing a CryptoKey with P521 Curve, as it is not\nimplemented in Deno.\n\n### Usage\n\n```typescript\nimport { bearer, decode, encode, sign, validate, verify } from '@bjorkhaug/sjwt'\n```\n\n### TODO method docs\n","readmeFilename":"README.md"}