{"_id":"@aquarela/jwt-signer","_rev":"6-aab924c21530ada9d1530a76a5660453","name":"@aquarela/jwt-signer","dist-tags":{"latest":"1.6.9"},"versions":{"1.6.1":{"name":"@aquarela/jwt-signer","version":"1.6.1","description":"Sign JWT Token with any Signature algorithm key.","repository":{"type":"git","url":"git+https://github.com/aquarela-io/jwt-signer.git"},"main":"lib/index.js","types":"lib/index.d.ts","author":{"name":"AQUARELA"},"license":"MIT","devDependencies":{"@types/jsonwebtoken":"^8.5.1","@types/node":"^15.0.2","@types/styled-components":"^5.1.9","@typescript-eslint/eslint-plugin":"^4.23.0","@typescript-eslint/parser":"^4.23.0","eslint":"^7.26.0","eslint-config-prettier":"^8.3.0","eslint-plugin-jsx-a11y":"^6.4.1","eslint-plugin-prettier":"^3.4.0","eslint-plugin-react":"^7.23.2","eslint-plugin-react-hooks":"^4.2.0","eslint-plugin-simple-import-sort":"^7.0.0","prettier":"^2.3.0","typescript":"^4.2.4"},"scripts":{"build":"tsc","prepare":"npm run build","version":"git add -A src","postversion":"git push && git push --tags"},"dependencies":{"jsonwebtoken":"^8.5.1"},"keywords":["jwt","signer","aquarela"],"gitHead":"429beaca04f55a83667c8404b981953c679bfcbc","bugs":{"url":"https://github.com/aquarela-io/jwt-signer/issues"},"homepage":"https://github.com/aquarela-io/jwt-signer#readme","_id":"@aquarela/jwt-signer@1.6.1","_nodeVersion":"15.13.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-oD1kYi4grJUeNaw4uSVA4v5mnYDAqE16LOt4xGwoU04R+TG4Ez9T86WcyGDB5N4itKh9dVb2KZo/YjynGQDLZA==","shasum":"fbd8cb445ee7323be166846786b4c17d17029583","tarball":"https://registry.npmjs.org/@aquarela/jwt-signer/-/jwt-signer-1.6.1.tgz","fileCount":8,"unpackedSize":4715,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnu49CRA9TVsSAnZWagAAlsQP/jrSnf2HcFfjWqQXGU3D\nWG+SpoDDqLGpLwQ5Om3ntljQFJXe4hhwqC64pdJsnC+suMCp3geK8gQHJsNc\nVdWO+S1vL1xdLl6B+cXOKBjv3rEZyD3vcHAM3zdeITzRyytrXkqok6uh17wG\nX0fSHvfE8Vmax0xJk4bR8eH4x7oFW7mfBTTOiPhfuhJscWzD3vnMNaxxPJ0Y\nWDx3Fr3c0hKsYOEvWhNzvvTaz+xUlwn1kQeOyKa9I9/GsU3/V9hPaO3pYxKM\ngrt2xWjI2yoeEFiC5bcoNao8Ua0PIwe8bqjYxTSl0ymOP8K9vsKdoFm2PA8a\nGbb2U/vn53JzGpIQ3b/PSjFLd8xN/Z84WJLtrHEMS2jWKEuseN/FvVGSdAeR\nkYRynS8rO3wIkX009Udh4276v8X9mV7z/byxDeojONzmtjgtQycu5Jk6ZcQG\nNEkbrWxwah+4p7m20YVaX3emG+V+EKA7KLOW1TfsmU0EQp2pjyf/OfTg9gOL\n7YjAz2AwejF378i3Qf+kIdW2qLwmpX2DZg9S4EyILsKUzRU1oXfb7hOmQGYc\nyfkCFZptoqHxWS3F+XCdLagoS+oF0nQgSimnm1hIXRDnisDKor8hx8f8uL9O\nsXgljcnYITu+JFVgeuoiat5oNU8Y8awdLIHHI4s0JICbQaOFoLxU6FHbfKj6\noFqn\r\n=qgl6\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOS4opp9+qpB5oRoM3LabpKn8BLrA3lWVnFZWk+p2H5wIge+06swFkWg9gbplNoANGtt/IHvTzhb/H0d5ZVlMWUrY="}]},"_npmUser":{"name":"diegopeixoto","email":"crazypxt@gmail.com"},"directories":{},"maintainers":[{"name":"diegopeixoto","email":"crazypxt@gmail.com"},{"name":"aquarela-diego","email":"diego@aquarela.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jwt-signer_1.6.1_1621028413490_0.6617004220571212"},"_hasShrinkwrap":false},"1.6.3":{"name":"@aquarela/jwt-signer","version":"1.6.3","description":"Sign JWT Token with any Signature algorithm key.","repository":{"type":"git","url":"git+https://github.com/aquarela-io/jwt-signer.git"},"main":"lib/index.js","types":"lib/index.d.ts","author":{"name":"AQUARELA"},"license":"MIT","devDependencies":{"@types/jsonwebtoken":"^8.5.1","@types/node":"^15.0.2","@typescript-eslint/eslint-plugin":"^4.23.0","@typescript-eslint/parser":"^4.23.0","eslint":"^7.26.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","eslint-plugin-simple-import-sort":"^7.0.0","prettier":"^2.3.0","typescript":"^4.2.4"},"scripts":{"build":"tsc","prepare":"npm run build","version":"git add -A src","postversion":"git push && git push --tags"},"dependencies":{"jsonwebtoken":"^8.5.1"},"keywords":["jwt","signer","aquarela"],"gitHead":"03892e21e318c0968db58539fa4b39c5d37b5323","bugs":{"url":"https://github.com/aquarela-io/jwt-signer/issues"},"homepage":"https://github.com/aquarela-io/jwt-signer#readme","_id":"@aquarela/jwt-signer@1.6.3","_nodeVersion":"15.13.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-sKYyqEj1B+h4PXMzlHnPSXx4wOhR6yb5E7Onyewa81368sGdQcVmz6rUXm0Qs9t7MSbyfbHPTyJQ4h6yt9SnXw==","shasum":"4a200cc485420a010a9f220279dce439062f8e03","tarball":"https://registry.npmjs.org/@aquarela/jwt-signer/-/jwt-signer-1.6.3.tgz","fileCount":3,"unpackedSize":2365,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnvKyCRA9TVsSAnZWagAA9REP/1J4Hb34x0zqFg8E3j+j\nhgBqgFrhYma6JSJDCZD6zHVhmZ0Bef7J5O79zT5UAqn/c+PMgOuBQKRFH++1\nO9YsBFXDtt3lBbBngi0/FjK/7icYv+jgFCVgy4VsQCLuker5W//zvVaN0JKc\n/TFKfdRizco3f9trzbd3oKS+XAEkr5oMIXZEqtpqKFeuJFwDa22QZmjV2OIJ\nflsgvFi/X7CqZdU7qGLzXlFgZ8igPMcTcPC6s1XNdzJbMdgBYWIjJenAUaFN\nE5k9mSfXLVXuX48FQcJnnGOplrTYbO7fGXo5F3bZjm7dhNzFzs5e2Kjo611O\nhXJdu9qAu7FI+nY7Jbjll3Tlz7EzqcBOKgynmbESLTU31KxbpTg0Zw1AQfL2\nOuz89wDxFyETNJGHsKOmR8dPXbv90WBOgUDWnZE+Rmx2aO3HzaDTR6XOu8gG\nNRJyphVvr8iXWGKiUysdB8ysQmggd5y5NhFFfdjuaY8JcJrYt0DLyHVBN8Nc\nlOQPv+rYcueemSKNnn5mhfkS5SJem/gEZ4AmgVP4ZqVrfIua7OeA6YdpjMEr\n5ROfk5p6TJ7IAMBOz6vrxz8IK1N34pJGbKLLQV6+Hnw7U355iyl00r26wn5e\nb+zKQacg4Do+Db9V6EDrZul4RTsDpc1iDEckeyLGuYYYTFQW4qzN+BrLaIfU\nY8Lf\r\n=zf/e\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDd9X/F7HgMG7JyS37rM5ypVsyWX18X4lodpSU9HSh23QIgEBR6X3gPpvYkZhpRwwzKbUQNuTrcwImbdfecOTT8ajU="}]},"_npmUser":{"name":"diegopeixoto","email":"crazypxt@gmail.com"},"directories":{},"maintainers":[{"name":"diegopeixoto","email":"crazypxt@gmail.com"},{"name":"aquarela-diego","email":"diego@aquarela.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jwt-signer_1.6.3_1621029554363_0.35667483882375106"},"_hasShrinkwrap":false},"1.6.5":{"name":"@aquarela/jwt-signer","version":"1.6.5","description":"Sign JWT Token with any Signature algorithm key.","repository":{"type":"git","url":"git+https://github.com/aquarela-io/jwt-signer.git"},"main":"lib/index.js","types":"lib/index.d.ts","author":{"name":"AQUARELA"},"license":"MIT","devDependencies":{"@types/jsonwebtoken":"^8.5.1","@types/node":"^15.0.2","@typescript-eslint/eslint-plugin":"^4.23.0","@typescript-eslint/parser":"^4.23.0","eslint":"^7.26.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","eslint-plugin-simple-import-sort":"^7.0.0","prettier":"^2.3.0","typescript":"^4.2.4"},"scripts":{"build":"tsc","prepare":"npm run build","version":"git add -A src","postversion":"git push && git push --tags"},"dependencies":{"jsonwebtoken":"^8.5.1"},"keywords":["jwt","signer","aquarela"],"gitHead":"cbf8f0395933c35ad3ee3132bc954d4fb13e5cc7","bugs":{"url":"https://github.com/aquarela-io/jwt-signer/issues"},"homepage":"https://github.com/aquarela-io/jwt-signer#readme","_id":"@aquarela/jwt-signer@1.6.5","_nodeVersion":"15.13.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-YYCs/nNCbdsIwdPK93ysmk2gQGxiepA6b0/czzb6IpMVYZinzDFBZgtXqOXi2hvzmH6yShHDymyIxUkiN8kepw==","shasum":"a2a669b86d7adc2e32e1a24096a50bf20f016dad","tarball":"https://registry.npmjs.org/@aquarela/jwt-signer/-/jwt-signer-1.6.5.tgz","fileCount":4,"unpackedSize":6532,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgnv25CRA9TVsSAnZWagAADagP/jcCX5SXWNASXypY7xos\nVTANM8hFcRaUqucKEiY48ERn8jaGnE1ehEqXIQt4naUYC2LgAwwgwkHjRZ6j\nrSDLLS7JjV5lVv51YVpsOfIYNVg3+C66tRkjiLAhQVrZsxatR0OxF6elNzJ5\nj8fSs4CvUnUf5Navzvr5jEkssTJVKYTbskagAxfbBpJfbJjWmEyiLViMy9G0\n5maQwCMwd0CKZdZGzVubqaag73p0OEW4xRwaU2ve9uds4n1v7f2UOF62r5Gj\n17Qq93752Xn6FL+z/NHUiCnpU6SA3xxhp8yg4HKzx2/Ifg02sT5Mewci5wId\nZuL5cRNwZ4K2DerXuKmzIL8bQowYh7Lgzw+NlfkIM9ivWqqvIKCkv1n9XqFV\nsmapl3eUdtwwwZPQvpJ3iCmq+wUs+Ukfb2oPtuHKVg+UBZ2kKXa8qqtq1STf\nRPaFBIaPcgvWcOJ4VDhkUPfW+6ERGTPP195n04YnPSCrc0MwNT3ZDQaywG12\nL30I6ESxcPWCDce0ZK5rCp7F27oKZHA/ULp6JNBt0+1U59vvaRs9NoajPOqX\n6PmD0gKhB9NQm2ZUse1HjQiQUi0J0OIrRI4nRM73olbH2otgSZB7PsWbsebf\nW8q4HOxl/tNGNoJADtge5ipnS0FI6pzDg5upX9YUQt8I3/gyQh90P7ackewN\nOpHq\r\n=BJUR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFIBx5oAJZDpZzYseQLbJN0rRZp0kCn9nNyUSJL0nawxAiAEJN1uY88z7udYuDPR8LXcjAMcmR2t2Lg/XB+nPWMyFQ=="}]},"_npmUser":{"name":"diegopeixoto","email":"crazypxt@gmail.com"},"directories":{},"maintainers":[{"name":"diegopeixoto","email":"crazypxt@gmail.com"},{"name":"aquarela-diego","email":"diego@aquarela.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jwt-signer_1.6.5_1621032376884_0.8054680307247155"},"_hasShrinkwrap":false},"1.6.6":{"name":"@aquarela/jwt-signer","version":"1.6.6","description":"Sign JWT Token with any Signature algorithm key.","repository":{"type":"git","url":"git+https://github.com/aquarela-io/jwt-signer.git"},"main":"lib/index.js","types":"lib/index.d.ts","author":{"name":"AQUARELA"},"license":"MIT","devDependencies":{"@types/jsonwebtoken":"^8.5.1","@types/node":"^15.0.2","@typescript-eslint/eslint-plugin":"^4.23.0","@typescript-eslint/parser":"^4.23.0","eslint":"^7.26.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","eslint-plugin-simple-import-sort":"^7.0.0","prettier":"^2.3.0","typescript":"^4.2.4"},"scripts":{"build":"tsc","prepare":"npm run build","version":"git add -A src","postversion":"git push && git push --tags"},"dependencies":{"jsonwebtoken":"^8.5.1"},"keywords":["jwt","signer","aquarela"],"gitHead":"205a5d9d7dd1c4871363323a0d42da8c26d941da","bugs":{"url":"https://github.com/aquarela-io/jwt-signer/issues"},"homepage":"https://github.com/aquarela-io/jwt-signer#readme","_id":"@aquarela/jwt-signer@1.6.6","_nodeVersion":"15.13.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-ZcUgiFV9AJx6YOIdoXbdLc840hQKztuqkaWrg8TcP3jRz0xH3popyzJC+qbWjGosCU3x5epgokvvSr9V9sCE/w==","shasum":"fae7a4eb850c58cdaa467b3241d4d02265abb091","tarball":"https://registry.npmjs.org/@aquarela/jwt-signer/-/jwt-signer-1.6.6.tgz","fileCount":4,"unpackedSize":8057,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgoGiPCRA9TVsSAnZWagAAPVIP/ikIKl9a014JuvmhiGUT\nd2nlavYAG+X+SkaN660xfyPmkjsV50zkSrEbmU8Or87DMAH3LEBjty4Ouhy9\nSyJS4Q9shx8uBvhU2EIvK7EF+WpCKr83w8vIZ0d3TOuYD134xpCyZWCtKTT/\nwFAGDBGE4joemU4a2/YSF4IVQkyp+gAs8F2B0dRXjbQ5fkeQQPEYjYd3upn9\n1UHKwt9++qcA/x79SUKft8c1Lem2/3Q+xmEqGJB/5YVXJv9aKEIZDURpe9w6\nv3XuH+cjOuExHEqfbNEKJzE4c8NB7Hf//8PHEsKyL8NgS9Deq63/7fYX+Azs\nUMbMxjn93YPX3eZKv4muJVNWsHNUyH8niOiD2MwcgUUa5apH86vOV6akNtrZ\nTsJaCmU4dkm5tGC2+7TmSgOJagVSOAdclYQI+SW29b571oZdcBCbLTNHq+HP\n+0WCNIaQERILtPmKgAzfsdih9vScy5xNq42/buMeS3yjtGGkrsfMkO/d4R9U\nOkgpfWffKZV+vlfTNo9wPgn6ijDhc9y5aVF3XkTtlckYTjICVHTSVeW0aCpO\nPP9d2ias/ntsQBQJhMfE0EHiEE2Zz9PEZNRzTEOKUV0fOvT/fdpX75Zpq/rm\n67foItJ3iO15zYPtctE8DK3FL4lDCLpxTZP9gJoEfW6l/sdeCQ/u0B7PbRGN\nG/Kp\r\n=1/8m\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCus7A8mZLi2ljeXYWT3ND+V2pgPCDLf/ngIIROTJwGKAIhAINda+uVwmI2h7/RluQhgG3Jq7OJlbC7LHQ9F5uH6euV"}]},"_npmUser":{"name":"diegopeixoto","email":"crazypxt@gmail.com"},"directories":{},"maintainers":[{"name":"diegopeixoto","email":"crazypxt@gmail.com"},{"name":"aquarela-diego","email":"diego@aquarela.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jwt-signer_1.6.6_1621125262977_0.036040144539114305"},"_hasShrinkwrap":false},"1.6.8":{"name":"@aquarela/jwt-signer","version":"1.6.8","description":"Sign JWT Token with any Signature algorithm key.","repository":{"type":"git","url":"git+https://github.com/aquarela-io/jwt-signer.git"},"main":"lib/index.js","types":"lib/index.d.ts","author":{"name":"AQUARELA"},"license":"MIT","devDependencies":{"@types/jsonwebtoken":"^8.5.1","@types/node":"^15.0.2","@typescript-eslint/eslint-plugin":"^4.23.0","@typescript-eslint/parser":"^4.23.0","eslint":"^7.26.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","eslint-plugin-simple-import-sort":"^7.0.0","prettier":"^2.3.0","typescript":"^4.2.4"},"scripts":{"build":"tsc","prepare":"npm run build","version":"git add -A src","postversion":"git push && git push --tags"},"dependencies":{"jsonwebtoken":"^8.5.1"},"keywords":["jwt","signer","aquarela"],"gitHead":"f94e2525725452115426ce93eb3bf50cfde575b1","bugs":{"url":"https://github.com/aquarela-io/jwt-signer/issues"},"homepage":"https://github.com/aquarela-io/jwt-signer#readme","_id":"@aquarela/jwt-signer@1.6.8","_nodeVersion":"15.13.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-mXGPdugZfIP2AzwCUNPOF4aeaYTTXHkNPaqhrwMebJwxEAh115RdBCZCnYzXo5lTMT+tMo1gL4/lp1/8SjxiUw==","shasum":"4cc52cd4af447e9556a5715a4dfde51c29f51efe","tarball":"https://registry.npmjs.org/@aquarela/jwt-signer/-/jwt-signer-1.6.8.tgz","fileCount":5,"unpackedSize":9421,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgqDccCRA9TVsSAnZWagAAVB0P/i4uTChTlTsJDPl6hM8e\nGByYc8njAofzHpYbfQ5Ql55s6gPgmzSdEh0MsuWJMQTVW9sVxoy7Gar/gmRx\nX8dqvqL+0h440LvUYxxvgI7V+LJPenJry/vWQofudRUPpSaYsv8Jvf7nBKKm\nHtutRK870hoUIWCCn99ccoD+bkK481pgzkJlenl3UN+NlDOw0kGhtIGTsqlM\nP1dobphLhKauUprYZGoxN0fddqqejRwcDbipsj2O0xGQzvN5J6ttSpM4gCrU\n7el9TTAR/WNu+vq/jecu7ZeA//AUtaDd5APyG2Ipf+eoH+7PbA/KvJ7rQqIw\n5afTJ309WK8SgbUL2Nc+UZHoDYj5a81oEn5XeXIpgaRBLC6O4tAUdU7cdoms\nzD+Uv2wovd96m0+CSZk4d2NeBdzRxLHuIsJVpkQS9di96KaVTII9xE1vHc6g\nFcyibXv5lPjrMZ+e6PtCwZ9ReR3ES2m1Y5ICqzpTYiIkutez02c7ZDhHs4pB\nCDLnlVDEsmB6Bki53+PC2Gs1jWl9uJHDKOcHP/akegf/8lNYUc+YqjUWNFS7\n3vbhJh25+X6f8UdIO+A4+i6n53l1H/UahSL/p4wThQ0ueg/wtQzKOTMgbHSC\nQNJSgtZD9jxVCpsQj6Cn4ChaQwXNfOy6ZbpxToU9pNDtZBbquKu72DbLVqYS\nJc0D\r\n=SP1A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG/k4KEYex5yQH1QyqQDBHPnXElXAng0OdWFJ8queK/rAiEA7oD4HHYGR53xRtEqJlq5L6PHm6w95wYKHwBvIBnRHMc="}]},"_npmUser":{"name":"diegopeixoto","email":"crazypxt@gmail.com"},"directories":{},"maintainers":[{"name":"diegopeixoto","email":"crazypxt@gmail.com"},{"name":"aquarela-diego","email":"diego@aquarela.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jwt-signer_1.6.8_1621636892366_0.2047898567674593"},"_hasShrinkwrap":false},"1.6.9":{"name":"@aquarela/jwt-signer","version":"1.6.9","description":"Sign JWT Token with any Signature algorithm key.","repository":{"type":"git","url":"git+https://github.com/aquarela-io/jwt-signer.git"},"main":"lib/index.js","types":"lib/index.d.ts","author":{"name":"AQUARELA"},"license":"MIT","devDependencies":{"@types/jsonwebtoken":"^8.5.1","@types/node":"^15.0.2","@typescript-eslint/eslint-plugin":"^4.23.0","@typescript-eslint/parser":"^4.23.0","eslint":"^7.26.0","eslint-config-prettier":"^8.3.0","eslint-plugin-prettier":"^3.4.0","eslint-plugin-simple-import-sort":"^7.0.0","prettier":"^2.3.0","typescript":"^4.2.4"},"scripts":{"build":"tsc","prepare":"npm run build","version":"git add -A src","postversion":"git push && git push --tags"},"dependencies":{"jsonwebtoken":"^8.5.1"},"keywords":["jwt","signer","aquarela"],"gitHead":"f94e2525725452115426ce93eb3bf50cfde575b1","bugs":{"url":"https://github.com/aquarela-io/jwt-signer/issues"},"homepage":"https://github.com/aquarela-io/jwt-signer#readme","_id":"@aquarela/jwt-signer@1.6.9","_nodeVersion":"15.13.0","_npmVersion":"7.7.6","dist":{"integrity":"sha512-6rUxW+6lo3luDpk+7H6VxQiIPOIihk0x9GA46rUDBjNvHM36JjWN5v4AZsuSQmIWN/M9hE0G0uJR9pinfvskLA==","shasum":"f1834c6720d586ac5cc0e5f46e8118b3fb39bf85","tarball":"https://registry.npmjs.org/@aquarela/jwt-signer/-/jwt-signer-1.6.9.tgz","fileCount":7,"unpackedSize":11194,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgq+flCRA9TVsSAnZWagAA2l0P/2tqSH12n7gX5rLAxaYD\nWbpfNStVX27JgFBArx4QRW5KD4/2q48UgNuWFcFxG6anpes3IMHsncZfRLc1\nZaxlD138zCDARr0igIHoPoEcZPCx5xXm0TWGjM5Iqjln7Vg/lkWPVu4Eki4A\nVBQfl6LpFby5GUIZCN7EVd9gioQjqSYQWjqssgI/4iMFaYiqefLik/hZpC1e\nF2YYflksEBT+82iBOX0AoJNLnw9+KxnAMAF3Xcu6/Jvj4O9U/RC+HX0s9B3y\nHzPyUnfgWJx6L18E0lk4ejjDs21HFwyFRvuGN38IEnrOKcZY283lt95VNcjt\nh7vhQGLN4SFpQtUg2jDHjUgrG1zfufopqm1fQxbD3WydYi3e6/8mwLAzX3XU\n1PklmUcpz3i+ImRzVEid6ozV6zwo6k2Jz7ex+0vcFF6IliMlRMnxcGM2Zmae\n9983I15T1rAQwPrzMKlB4eoujRiVVjq/YHfSJr1/nc6i6hgrLae5tOFCRznA\nBjtpgZzAIb+8fTf3vdP9CZmGgqT4suyX5x1ZhGH7EMJxrrPQut9NRGIBOBYw\n9lRanSShJbJjVAVpmoWRrwtsNZhodCeHVgahDsojAIs7bapcoCtSzCK+NUNI\n1qQx2hsgBrRZ57c7CMiziWgM4PWd+IvFa3b3sVOEorYWknF+aCWIRfiBKQgf\noH9l\r\n=2HNd\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCoJYPL8L24LqNayCiTpf2UsRZSZCjr7tZsn5vVIg1ArwIgCnIQw0Ezq6jaSLmj2GORfS+XvjqGauEBgPWmHD25Uuk="}]},"_npmUser":{"name":"diegopeixoto","email":"crazypxt@gmail.com"},"directories":{},"maintainers":[{"name":"diegopeixoto","email":"crazypxt@gmail.com"},{"name":"aquarela-diego","email":"diego@aquarela.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/jwt-signer_1.6.9_1621878756932_0.07958740485357119"},"_hasShrinkwrap":false}},"time":{"created":"2021-05-14T21:40:13.150Z","1.6.1":"2021-05-14T21:40:13.686Z","modified":"2022-04-04T15:13:54.572Z","1.6.3":"2021-05-14T21:59:14.498Z","1.6.5":"2021-05-14T22:46:17.016Z","1.6.6":"2021-05-16T00:34:23.103Z","1.6.8":"2021-05-21T22:41:32.490Z","1.6.9":"2021-05-24T17:52:37.064Z"},"maintainers":[{"name":"diegopeixoto","email":"crazypxt@gmail.com"},{"name":"aquarela-diego","email":"diego@aquarela.io"}],"description":"Sign JWT Token with any Signature algorithm key.","homepage":"https://github.com/aquarela-io/jwt-signer#readme","keywords":["jwt","signer","aquarela"],"repository":{"type":"git","url":"git+https://github.com/aquarela-io/jwt-signer.git"},"author":{"name":"AQUARELA"},"bugs":{"url":"https://github.com/aquarela-io/jwt-signer/issues"},"license":"MIT","readme":"\n  \n\n<h1  align=\"center\">Welcome to @aquarela/jwt-signer 👋</h1>\n\n  \n\n<p>\n\n  \n\n<a  href=\"https://www.npmjs.com/package/@aquarela/jwt-signer\"  target=\"_blank\">\n\n  \n\n<img  alt=\"Version\"  src=\"https://img.shields.io/npm/v/@aquarela/jwt-signer.svg\">\n\n  \n\n</a>\n\n  \n\n<a  href=\"https://github.com/aquarela-io/jwt-signer#readme\"  target=\"_blank\">\n\n  \n\n<img  alt=\"Documentation\"  src=\"https://img.shields.io/badge/documentation-yes-brightgreen.svg\" />\n\n  \n\n</a>\n\n  \n\n<a  href=\"#\"  target=\"_blank\">\n\n  \n\n<img  alt=\"License: MIT\"  src=\"https://img.shields.io/badge/License-MIT-yellow.svg\" />\n\n  \n\n</a>\n\n  \n\n<a  href=\"https://twitter.com/aquarela_io\"  target=\"_blank\">\n\n  \n\n<img  alt=\"Twitter: aquarela_io\"  src=\"https://img.shields.io/twitter/follow/aquarela_io.svg?style=social\" />\n\n  \n\n</a>\n\n  \n\n</p>\n\n  \n\n  \n\n> Sign JWT Token with any Signature algorithm key.\n\n  \n\n  \n\n### 🏠 [Homepage](https://aquarela.io)\n\n  \n\n## Updates\n\n**1.6.7**\n    fixes problems which may occur within TypeScript\n\n**1.6.6**\n\n  \n\nNow it verifies if token is valid and return an JSON object or a error (that may be expiration, invalid algorithm, payload and etc.)\n\nexample output:\n\n  \n\n```js\n\n{\n\nvalid: true,\n\npayload: { sub: '94828482248', name: 'The Dude', iat: 1516239022 },\n\ntoken: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpX(...)Eo-PAyF1xJWxYFSnw'\n\n}\n\n```\n\n## Install\n\n  \n\n## NPM\n\n  \n\n```sh\n\n#yarn\n\nyarn add @aquarela/jwt-signer\n\n  \n\n#npm\n\nnpm -i @aquarela/jwt-signer\n\n  \n\n```\n\n  \n\n## CDN\n\n  \n\n```sh\n\n#unpkg\n\nhttps://unpkg.com/@aquarela/jwt-signer@1.6.5/lib/index.js\n\n  \n\n#jsdeliver\n\nhttps://cdn.jsdelivr.net/npm/@aquarela/jwt-signer\n\n  \n\n```\n\n  \n\n## Usage\n\nYou need only the private key (as file using **keyPath** or raw using **inline** argument)\n\n```js\n\nimport { jwtSign } from  '@aquarela/jwt-signer'  // Import the package\n\n  \n\nconst data = {\n\nsub:  \"94828482248\",\n\nname:  \"The Dude\",\n\niat:  1516239022\n\n} // Create Payload Data\n\n  \n\nconsole.log(jwtSign({keyPath:  './private.pem', payload: data}))\n\n  \n\n// output:\n\n//\n\n// {\n\n// valid: true,\n\n// payload: { sub: '94828482248', name: 'The Dude', iat: 1516239022 },\n\n// token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpX(...)Eo-PAyF1xJWxYFSnw'\n\n// }\n\n```\n\n  \n\n### Options\n\n  \n\nThere 4 argument on **jwtSign**: *keyPath or inline* (required), *payload* (required) and *options*.\n\n  \n\n#### keyPath (@string) *required (can be swapped with inline argument)\n\n  \n\nkeyPath support local or external paths of your private key.\n\n```js\n\nimport { jwtSign } from  '@aquarela/jwt-signer'  // Import the package\n\n  \n\n(...)\n\nconsole.log(jwtSign({\n\nkeyPath:  './private.pem', // private key file on the root folder.\n\n(...)}))\n\n// output:\n\n//\n\n// {\n\n// valid: true,\n\n// payload: { sub: '94828482248', name: 'The Dude', iat: 1516239022 },\n\n// token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpX(...)Eo-PAyF1xJWxYFSnw'\n\n// }\n\n```\n\n  \n\n#### inline (@string) *required (can be swapped with keyPath argument)\n\n  \n\ninline support raw private key data.\n\n```js\n\nimport { jwtSign } from  '@aquarela/jwt-signer'\n\n  \n\n(...)\n\n  \n\nconst rawData =  `-----BEGIN RSA PRIVATE KEY-----\n\nMIICXQIBAAKBgQDUi8T6pRUhWdA+g8hlebFMzRRoM0MCnqMoHg/IEmd0pY1t9O0J\n\noDLXCcCEguTJaaw73y7TwHERgxE1Ma/mExIQtMTgrpVBgVCOw1tsz5Kf7xGNXH5f\n\n(...)\n\n-----END RSA PRIVATE KEY-----`\n\n  \n\n  \n\nconsole.log(jwtSign({\n\nkeyPath:  '',\n\ninline: rawData,\n\n(...)\n\n}))\n\n// output:\n\n//\n\n// {\n\n// valid: true,\n\n// payload: { sub: '94828482248', name: 'The Dude', iat: 1516239022 },\n\n// token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpX(...)Eo-PAyF1xJWxYFSnw'\n\n// }\n\n```\n\n  \n\n#### payload (@object) *required\n\n  \n\npayload is the data as JSON Object your gonna embed in your jwt token.\n\nYou can see an [example here](https://self-issued.info/docs/draft-ietf-oauth-json-web-token.html#ExampleJWT).\n\n  \n\n```js\n\nimport { jwtSign } from  '@aquarela/jwt-signer'  // Import the package\n\n  \n\nconst data = { sub:  \"94828482248\", name:  \"The Dude\", iat:  1516239022 }\n\n  \n\n(...)\n\nconsole.log(jwtSign({(...)\n\npayload: data}))\n\n// output:\n\n//\n\n// {\n\n// valid: true,\n\n// payload: { sub: '94828482248', name: 'The Dude', iat: 1516239022 },\n\n// token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpX(...)Eo-PAyF1xJWxYFSnw'\n\n// }\n\n```\n\n  \n\n#### options (@object) *required\n\n  \n\npayload is the data as JSON Object you can configure some things as algorithm.\n\n  \n\n```js\n\nimport { jwtSign } from  '@aquarela/jwt-signer'  // Import the package\n\n  \n\n(...)\n\n  \n\n/**\n\n  \n\n* Signature algorithm. Could be one of these values :\n\n* - HS256: HMAC using SHA-256 hash algorithm (default)\n\n* - HS384: HMAC using SHA-384 hash algorithm\n\n* - HS512: HMAC using SHA-512 hash algorithm\n\n* - RS256: RSASSA using SHA-256 hash algorithm\n\n* - RS384: RSASSA using SHA-384 hash algorithm\n\n* - RS512: RSASSA using SHA-512 hash algorithm\n\n* - ES256: ECDSA using P-256 curve and SHA-256 hash algorithm\n\n* - ES384: ECDSA using P-384 curve and SHA-384 hash algorithm\n\n* - ES512: ECDSA using P-521 curve and SHA-512 hash algorithm\n\n* - none: No digital signature or MAC value included\n\n  \n\n*/\n\n  \n\nconst options = {\n\nalgorithm:  'RS512'\n\n}\n\n  \n\n(...)\n\nconsole.log(jwtSign({(...)\n\noptions: options}))\n\n  \n\n// output:\n\n//\n\n// {\n\n// valid: 'yes',\n\n// payload: { sub: '94828482248', name: 'The Dude', iat: 1516239022 },\n\n// token: 'eyJhbGciOiJIUzI1NiIsInR5cCI6IkpX(...)Eo-PAyF1xJWxYFSnw'\n\n// }\n\n```\n\n  \n\nThats it.\n\n## Author\n\n  \n\n  \n\n👤 **AQUARELA**\n\n  \n\n  \n\n* Website: https://aquarela.io\n\n  \n\n* Twitter: [@aquarela_io](https://twitter.com/aquarela_io)\n\n  \n\n* Github: [@aquarela-io](https://github.com/aquarela-io)\n\n  \n\n  \n\n## Show your support\n\n  \n\n  \n\nGive a ⭐️ if this project helped you!\n\n  \n\n  \n\n***","readmeFilename":"README.md"}