{"_id":"@otplib/plugin-crypto-node","_rev":"11-9683fb3980319d36c9546e7f3ad8ef4f","name":"@otplib/plugin-crypto-node","dist-tags":{"latest":"13.5.0"},"versions":{"13.0.0":{"name":"@otplib/plugin-crypto-node","version":"13.0.0","keywords":["otp","crypto","nodejs","hmac","plugin"],"author":{"name":"Gerald Yeo","email":"support@yeojz.dev"},"license":"MIT","_id":"@otplib/plugin-crypto-node@13.0.0","maintainers":[{"name":"geraldyeo","email":"support@yeojz.dev"}],"homepage":"https://otplib.yeojz.dev","bugs":{"url":"https://github.com/yeojz/otplib/issues"},"dist":{"shasum":"8ae5a65c85434994bd3719359358d56261017722","tarball":"https://registry.npmjs.org/@otplib/plugin-crypto-node/-/plugin-crypto-node-13.0.0.tgz","fileCount":9,"integrity":"sha512-aLQG6/BBYhN1zSGWHTphFnnAPNpMgfDH93ywrjVorApfOxIZU615Oumk3YM5T3Md5fSz2roqjL5aQuRExKrD0g==","signatures":[{"sig":"MEUCIHWapAA7i/OkxTgdJQA95k9aauMsGjBhT0xSz0GtBl5cAiEAlcGXOXZ8PFQEAjf65lg6Ipqk70scYYMkb8cwo6vl6pI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17218},"main":"./dist/index.cjs","type":"module","_from":"file:otplib-plugin-crypto-node-13.0.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest","build":"tsup","clean":"rm -rf dist .tsbuildinfo","test:ci":"vitest run --coverage","typecheck":"tsc --noEmit"},"_npmUser":{"name":"geraldyeo","email":"support@yeojz.dev"},"_resolved":"/tmp/fac3880ce577485321231137f9335cfd/otplib-plugin-crypto-node-13.0.0.tgz","_integrity":"sha512-aLQG6/BBYhN1zSGWHTphFnnAPNpMgfDH93ywrjVorApfOxIZU615Oumk3YM5T3Md5fSz2roqjL5aQuRExKrD0g==","repository":{"url":"git+https://github.com/yeojz/otplib.git","type":"git","directory":"packages/plugin-crypto-node"},"_npmVersion":"10.8.2","description":"Node.js crypto module adapter for otplib","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"@otplib/core":"13.0.0","@noble/hashes":"^1.3.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^4.0.16","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-crypto-node_13.0.0_1768042029247_0.662488786101108","host":"s3://npm-registry-packages-npm-production"}},"13.0.1":{"name":"@otplib/plugin-crypto-node","version":"13.0.1","keywords":["otp","crypto","nodejs","hmac","plugin"],"author":{"name":"Gerald Yeo","email":"support@yeojz.dev"},"license":"MIT","_id":"@otplib/plugin-crypto-node@13.0.1","maintainers":[{"name":"geraldyeo","email":"support@yeojz.dev"}],"homepage":"https://otplib.yeojz.dev","bugs":{"url":"https://github.com/yeojz/otplib/issues"},"dist":{"shasum":"652d5ea66544ce38b9057252f54f9703848763a7","tarball":"https://registry.npmjs.org/@otplib/plugin-crypto-node/-/plugin-crypto-node-13.0.1.tgz","fileCount":9,"integrity":"sha512-J/Exwt5PMcASg8/4SUqoHmWDPwrJMx82Al6epVaUeHqWKvvjliRLJWa0Ck1FQszUh7saqYLxj8yI6p5BUWwURg==","signatures":[{"sig":"MEUCIQDj/BIN285sG3n77y/urq1QBN+QmPvw/wYpguSYaQaO1QIgPYoxUuQ828+Xip5OymYxsymdE5nMpGR1KLLQgGf34WI=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@otplib%2fplugin-crypto-node@13.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":17218},"main":"./dist/index.cjs","type":"module","_from":"file:otplib-plugin-crypto-node-13.0.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest","build":"tsup","clean":"rm -rf dist .tsbuildinfo","test:ci":"vitest run --coverage","typecheck":"tsc --noEmit"},"_npmUser":{"name":"geraldyeo","email":"support@yeojz.dev"},"_resolved":"/tmp/8197268e08598d4df1f0a5f99271662a/otplib-plugin-crypto-node-13.0.1.tgz","_integrity":"sha512-J/Exwt5PMcASg8/4SUqoHmWDPwrJMx82Al6epVaUeHqWKvvjliRLJWa0Ck1FQszUh7saqYLxj8yI6p5BUWwURg==","repository":{"url":"git+https://github.com/yeojz/otplib.git","type":"git","directory":"packages/plugin-crypto-node"},"_npmVersion":"10.8.2","description":"Node.js crypto module adapter for otplib","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"@otplib/core":"13.0.1","@noble/hashes":"^1.3.3"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^4.0.16","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-crypto-node_13.0.1_1768062578750_0.5493946510682459","host":"s3://npm-registry-packages-npm-production"}},"13.0.2":{"name":"@otplib/plugin-crypto-node","version":"13.0.2","keywords":["otp","crypto","nodejs","hmac","plugin"],"author":{"name":"Gerald Yeo","email":"support@yeojz.dev"},"license":"MIT","_id":"@otplib/plugin-crypto-node@13.0.2","maintainers":[{"name":"geraldyeo","email":"support@yeojz.dev"}],"homepage":"https://otplib.yeojz.dev","bugs":{"url":"https://github.com/yeojz/otplib/issues"},"dist":{"shasum":"b0f671d8814416209077f6327c261cb6f265d7a6","tarball":"https://registry.npmjs.org/@otplib/plugin-crypto-node/-/plugin-crypto-node-13.0.2.tgz","fileCount":11,"integrity":"sha512-VLxvtDgQWxgQOa67GWl6qgeENgJ7lAcTotcW+RZZkAkvUveXs6AUWClSb1S9G7sIroGLsANtWL9qoRjaxWDhwg==","signatures":[{"sig":"MEUCIGm7nnM1aPRBbihXuCXahPAXHejALs5uOHikmVGbE8yJAiEAjdMaIsxk2YviAFR52XXus3AS1rg4+poel4J1qbODTjs=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@otplib%2fplugin-crypto-node@13.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18323},"main":"./dist/index.cjs","type":"module","_from":"file:otplib-plugin-crypto-node-13.0.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest","build":"tsup","clean":"rm -rf dist .tsbuildinfo","test:ci":"vitest run --coverage","typecheck":"tsc --noEmit"},"_npmUser":{"name":"geraldyeo","email":"support@yeojz.dev"},"_resolved":"/tmp/0146799c7b0cb770be062bfacbc1c9f8/otplib-plugin-crypto-node-13.0.2.tgz","_integrity":"sha512-VLxvtDgQWxgQOa67GWl6qgeENgJ7lAcTotcW+RZZkAkvUveXs6AUWClSb1S9G7sIroGLsANtWL9qoRjaxWDhwg==","repository":{"url":"git+https://github.com/yeojz/otplib.git","type":"git","directory":"packages/plugin-crypto-node"},"_npmVersion":"10.8.2","description":"Node.js crypto module adapter for otplib","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"@otplib/core":"13.0.2","@noble/hashes":"^2.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^4.0.16","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-crypto-node_13.0.2_1768120918264_0.307861624241343","host":"s3://npm-registry-packages-npm-production"}},"13.1.0":{"name":"@otplib/plugin-crypto-node","version":"13.1.0","keywords":["otp","crypto","nodejs","hmac","plugin"],"author":{"name":"Gerald Yeo","email":"support@yeojz.dev"},"license":"MIT","_id":"@otplib/plugin-crypto-node@13.1.0","maintainers":[{"name":"geraldyeo","email":"support@yeojz.dev"}],"homepage":"https://otplib.yeojz.dev","bugs":{"url":"https://github.com/yeojz/otplib/issues"},"dist":{"shasum":"80b658c46075fafe2516f5256b8967f43b321ea1","tarball":"https://registry.npmjs.org/@otplib/plugin-crypto-node/-/plugin-crypto-node-13.1.0.tgz","fileCount":11,"integrity":"sha512-xbHCML8rVYs5aD/fl0dZ8Yb3duwbvobJVxtU71tDP62jfwVsOzChocFrR7X8skWhk5q9/0I7Mr9SCKDpdzWjrg==","signatures":[{"sig":"MEYCIQDugSNiqqlEq5i2mx0/oScl9FUxJVrMljsUZ+qSIaN3xQIhAMPVbjKKnDsArlu/gCADkP4ikReV76U0U8XXTLmYEUxB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@otplib%2fplugin-crypto-node@13.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18323},"main":"./dist/index.cjs","type":"module","_from":"file:otplib-plugin-crypto-node-13.1.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest","build":"tsup","clean":"rm -rf dist .tsbuildinfo","test:ci":"vitest run --coverage","typecheck":"tsc --noEmit"},"_npmUser":{"name":"geraldyeo","email":"support@yeojz.dev"},"_resolved":"/tmp/0d7b6a0f7a8c1989af1cdfd19acb5af8/otplib-plugin-crypto-node-13.1.0.tgz","_integrity":"sha512-xbHCML8rVYs5aD/fl0dZ8Yb3duwbvobJVxtU71tDP62jfwVsOzChocFrR7X8skWhk5q9/0I7Mr9SCKDpdzWjrg==","repository":{"url":"git+https://github.com/yeojz/otplib.git","type":"git","directory":"packages/plugin-crypto-node"},"_npmVersion":"10.8.2","description":"Node.js crypto module adapter for otplib","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"@otplib/core":"13.1.0","@noble/hashes":"^2.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^4.0.16","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-crypto-node_13.1.0_1768235691199_0.46820269904006584","host":"s3://npm-registry-packages-npm-production"}},"13.1.1":{"name":"@otplib/plugin-crypto-node","version":"13.1.1","keywords":["otp","crypto","nodejs","hmac","plugin"],"author":{"name":"Gerald Yeo","email":"support@yeojz.dev"},"license":"MIT","_id":"@otplib/plugin-crypto-node@13.1.1","maintainers":[{"name":"geraldyeo","email":"support@yeojz.dev"}],"homepage":"https://otplib.yeojz.dev","bugs":{"url":"https://github.com/yeojz/otplib/issues"},"dist":{"shasum":"3a5f1e8c5c5766d110db919d05904baffd14bc80","tarball":"https://registry.npmjs.org/@otplib/plugin-crypto-node/-/plugin-crypto-node-13.1.1.tgz","fileCount":11,"integrity":"sha512-sxetHskwlMYULJB2bdiW5EHxCEdYR3UWcyzNXQskDxRuxxsRfFTk5xzqdfoEGBlYSjb+945gDxQXiB4cHTQb7A==","signatures":[{"sig":"MEUCIQC+0j1UdL3I4azRRiHj0+KP2gKXUlzkiniJ6dd3F3UJsQIgIeOTXmQ4gPmdx8B2vqVVM0Yzk1BQxc3/vjXoFl8AaOY=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@otplib%2fplugin-crypto-node@13.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18323},"main":"./dist/index.cjs","type":"module","_from":"file:otplib-plugin-crypto-node-13.1.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest","build":"tsup","clean":"rm -rf dist .tsbuildinfo","test:ci":"vitest run --coverage","typecheck":"tsc --noEmit"},"_npmUser":{"name":"geraldyeo","email":"support@yeojz.dev"},"_resolved":"/tmp/53a0dd1831360139324ed7f8c90f6f26/otplib-plugin-crypto-node-13.1.1.tgz","_integrity":"sha512-sxetHskwlMYULJB2bdiW5EHxCEdYR3UWcyzNXQskDxRuxxsRfFTk5xzqdfoEGBlYSjb+945gDxQXiB4cHTQb7A==","repository":{"url":"git+https://github.com/yeojz/otplib.git","type":"git","directory":"packages/plugin-crypto-node"},"_npmVersion":"10.8.2","description":"Node.js crypto module adapter for otplib","directories":{},"sideEffects":false,"_nodeVersion":"20.19.6","dependencies":{"@otplib/core":"13.1.1","@noble/hashes":"^2.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^4.0.16","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-crypto-node_13.1.1_1768406224792_0.053873867861003344","host":"s3://npm-registry-packages-npm-production"}},"13.2.0":{"name":"@otplib/plugin-crypto-node","version":"13.2.0","keywords":["otp","crypto","nodejs","hmac","plugin"],"author":{"name":"Gerald Yeo","email":"support@yeojz.dev"},"license":"MIT","_id":"@otplib/plugin-crypto-node@13.2.0","maintainers":[{"name":"geraldyeo","email":"support@yeojz.dev"}],"homepage":"https://otplib.yeojz.dev","bugs":{"url":"https://github.com/yeojz/otplib/issues"},"dist":{"shasum":"55b2f7c255fc035146efb736144f49a6a5812e97","tarball":"https://registry.npmjs.org/@otplib/plugin-crypto-node/-/plugin-crypto-node-13.2.0.tgz","fileCount":11,"integrity":"sha512-Jx3PfZ0ljKYe+UysLfNSqMzCHT+7XadFzMnRH5Ofe/qwK6GhJfC/OHXpL/TTErhWs6vBFT4hbfFO7Y22Q7+C3A==","signatures":[{"sig":"MEUCIQD0l+BiPNbsTTimUAgFNdmvbquEHkUcqcxIb3Ja4owzawIgXERNBmBxM1YwTDaWq/yL9yIwy/8sRGjtdcvTbKTdMZM=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@otplib%2fplugin-crypto-node@13.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18333},"main":"./dist/index.cjs","type":"module","_from":"file:otplib-plugin-crypto-node-13.2.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest","build":"tsup","clean":"rm -rf dist .tsbuildinfo","test:ci":"vitest run --coverage","typecheck":"tsc --noEmit"},"_npmUser":{"name":"geraldyeo","email":"support@yeojz.dev"},"_resolved":"/tmp/3cb04fc1154d6f5db6ff98db3ce0af6c/otplib-plugin-crypto-node-13.2.0.tgz","_integrity":"sha512-Jx3PfZ0ljKYe+UysLfNSqMzCHT+7XadFzMnRH5Ofe/qwK6GhJfC/OHXpL/TTErhWs6vBFT4hbfFO7Y22Q7+C3A==","repository":{"url":"git+https://github.com/yeojz/otplib.git","type":"git","directory":"packages/plugin-crypto-node"},"_npmVersion":"10.8.2","description":"Node.js crypto module adapter for otplib","directories":{},"sideEffects":false,"_nodeVersion":"20.20.0","dependencies":{"@otplib/core":"13.2.0","@noble/hashes":"^2.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^4.0.18","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-crypto-node_13.2.0_1769355439222_0.009896494171105275","host":"s3://npm-registry-packages-npm-production"}},"13.2.1":{"name":"@otplib/plugin-crypto-node","version":"13.2.1","keywords":["otp","crypto","nodejs","hmac","plugin"],"author":{"name":"Gerald Yeo","email":"support@yeojz.dev"},"license":"MIT","_id":"@otplib/plugin-crypto-node@13.2.1","maintainers":[{"name":"geraldyeo","email":"support@yeojz.dev"}],"homepage":"https://otplib.yeojz.dev","bugs":{"url":"https://github.com/yeojz/otplib/issues"},"dist":{"shasum":"537f9cae0570d1c4418d1fb9efc4ab7a96c2924d","tarball":"https://registry.npmjs.org/@otplib/plugin-crypto-node/-/plugin-crypto-node-13.2.1.tgz","fileCount":11,"integrity":"sha512-ZL56IuCznz43YlwX8D4YAEluXMq399ervmqPDqKGcwmoRMELyV4qQK88XMtWwivkC+ovRgb7VDNswm71OPToQA==","signatures":[{"sig":"MEQCIGA3i3UKz+wjHpb3AUYQrHnYmf0cX5LxU4q9hq7BaTFtAiAcH9e0u9Ny1cq3phq+53zOUDR9buXrtMDBaIaR22UQrg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@otplib%2fplugin-crypto-node@13.2.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18081},"main":"./dist/index.cjs","type":"module","_from":"file:otplib-plugin-crypto-node-13.2.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest","build":"tsup","clean":"rm -rf dist .tsbuildinfo","test:ci":"vitest run --coverage","typecheck":"tsc --noEmit"},"_npmUser":{"name":"geraldyeo","email":"support@yeojz.dev"},"_resolved":"/tmp/9552a885f824b288f825942e11c4ab5e/otplib-plugin-crypto-node-13.2.1.tgz","_integrity":"sha512-ZL56IuCznz43YlwX8D4YAEluXMq399ervmqPDqKGcwmoRMELyV4qQK88XMtWwivkC+ovRgb7VDNswm71OPToQA==","repository":{"url":"git+https://github.com/yeojz/otplib.git","type":"git","directory":"packages/plugin-crypto-node"},"_npmVersion":"10.8.2","description":"Node.js crypto module adapter for otplib","directories":{},"sideEffects":false,"_nodeVersion":"20.20.0","dependencies":{"@otplib/core":"13.2.1","@noble/hashes":"^2.0.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.0.1","vitest":"^4.0.18","typescript":"^5.3.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-crypto-node_13.2.1_1769411103155_0.27884329239947503","host":"s3://npm-registry-packages-npm-production"}},"13.3.0":{"name":"@otplib/plugin-crypto-node","version":"13.3.0","keywords":["otp","crypto","nodejs","hmac","plugin"],"author":{"name":"Gerald Yeo","email":"support@yeojz.dev"},"license":"MIT","_id":"@otplib/plugin-crypto-node@13.3.0","maintainers":[{"name":"geraldyeo","email":"support@yeojz.dev"}],"homepage":"https://otplib.yeojz.dev","bugs":{"url":"https://github.com/yeojz/otplib/issues"},"dist":{"shasum":"3a6a751733a142db125b349f35b8b6796130eae6","tarball":"https://registry.npmjs.org/@otplib/plugin-crypto-node/-/plugin-crypto-node-13.3.0.tgz","fileCount":11,"integrity":"sha512-gPqzQEt0vApXK0Ts/ctUBT5mZgyfbPy2zmLDZ77U6+qwCXlqipjmz+8vLmH2XpKeJMgsq/j8NPN+KcY2SbUjcg==","signatures":[{"sig":"MEQCIQDjtoO46IKIjXguv4LRRauIb+EwnDYGTs1KmsFRozb+0AIfZ89o1dlIJS7KkmFrqxUcpU4wKYXuaLAD4lhzG1s2tA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@otplib%2fplugin-crypto-node@13.3.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18031},"main":"./dist/index.cjs","type":"module","_from":"file:otplib-plugin-crypto-node-13.3.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest","build":"tsup","clean":"rm -rf dist .tsbuildinfo","test:ci":"vitest run --coverage","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:306ca2f4-37ec-47c1-9787-7844a7337670"}},"_resolved":"/tmp/27ef1ff3cbe40ab317fe8d26338b4e2d/otplib-plugin-crypto-node-13.3.0.tgz","_integrity":"sha512-gPqzQEt0vApXK0Ts/ctUBT5mZgyfbPy2zmLDZ77U6+qwCXlqipjmz+8vLmH2XpKeJMgsq/j8NPN+KcY2SbUjcg==","repository":{"url":"git+https://github.com/yeojz/otplib.git","type":"git","directory":"packages/plugin-crypto-node"},"_npmVersion":"11.6.2","description":"Node.js crypto module adapter for otplib","directories":{},"sideEffects":false,"_nodeVersion":"24.13.0","dependencies":{"@otplib/core":"13.3.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^4.0.18","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-crypto-node_13.3.0_1770906874991_0.06825313826844615","host":"s3://npm-registry-packages-npm-production"}},"13.4.0":{"name":"@otplib/plugin-crypto-node","version":"13.4.0","keywords":["otp","crypto","nodejs","hmac","plugin"],"author":{"name":"Gerald Yeo","email":"support@yeojz.dev"},"license":"MIT","_id":"@otplib/plugin-crypto-node@13.4.0","maintainers":[{"name":"geraldyeo","email":"support@yeojz.dev"}],"homepage":"https://otplib.yeojz.dev","bugs":{"url":"https://github.com/yeojz/otplib/issues"},"dist":{"shasum":"b65be41fa4454234fc661b0895206b274f4378da","tarball":"https://registry.npmjs.org/@otplib/plugin-crypto-node/-/plugin-crypto-node-13.4.0.tgz","fileCount":11,"integrity":"sha512-UY8UXU4hNd0IA0SFLKVGrLLJCdkHIKdlmNbhpNMWb2OI1k/oeeQKIKrJ/dH5nYdxCUGgQnBLnkx4NYTKoFz7pw==","signatures":[{"sig":"MEUCIFGMjWpSBZvywCc2XZv/gUNimdc18URK5Ng5ve+r3Ve4AiEAus/2DDKJuAavkhqmTxM1cmhrZmKauKtsNXfF4AYnnOc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@otplib%2fplugin-crypto-node@13.4.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18031},"main":"./dist/index.cjs","type":"module","_from":"file:otplib-plugin-crypto-node-13.4.0.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest","build":"tsup","clean":"rm -rf dist .tsbuildinfo","test:ci":"vitest run --coverage","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:306ca2f4-37ec-47c1-9787-7844a7337670"}},"_resolved":"/tmp/fbaffaa28019f3ceeeb78594f74ff2ef/otplib-plugin-crypto-node-13.4.0.tgz","_integrity":"sha512-UY8UXU4hNd0IA0SFLKVGrLLJCdkHIKdlmNbhpNMWb2OI1k/oeeQKIKrJ/dH5nYdxCUGgQnBLnkx4NYTKoFz7pw==","repository":{"url":"git+https://github.com/yeojz/otplib.git","type":"git","directory":"packages/plugin-crypto-node"},"_npmVersion":"11.9.0","description":"Node.js crypto module adapter for otplib","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","dependencies":{"@otplib/core":"13.4.0"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^4.0.18","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-crypto-node_13.4.0_1773932437926_0.1343640444397194","host":"s3://npm-registry-packages-npm-production"}},"13.4.1":{"name":"@otplib/plugin-crypto-node","version":"13.4.1","keywords":["otp","crypto","nodejs","hmac","plugin"],"author":{"name":"Gerald Yeo","email":"support@yeojz.dev"},"license":"MIT","_id":"@otplib/plugin-crypto-node@13.4.1","maintainers":[{"name":"geraldyeo","email":"support@yeojz.dev"}],"homepage":"https://otplib.yeojz.dev","bugs":{"url":"https://github.com/yeojz/otplib/issues"},"dist":{"shasum":"87555ac9264bd53dd85e5eca93d108e6859115a4","tarball":"https://registry.npmjs.org/@otplib/plugin-crypto-node/-/plugin-crypto-node-13.4.1.tgz","fileCount":11,"integrity":"sha512-ce4Y+6Al+NI8rlyVcOCrTQh/LxQamdAlJCDVTDSYnxApT2dDyK7ADsxVjuDmnh6giZ//vhgMipu1S9NBt7aEzQ==","signatures":[{"sig":"MEYCIQCcmPpEhaQtGaUQBsTphfWsDxxSkegarIfCEXPoin1iFwIhANUw9HWryEvrGETKDnrZIxmiu3HTNcQFuop22055nprs","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@otplib%2fplugin-crypto-node@13.4.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":18030},"main":"./dist/index.cjs","type":"module","_from":"file:otplib-plugin-crypto-node-13.4.1.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"scripts":{"dev":"tsup --watch","lint":"eslint src/","test":"vitest","build":"tsup","clean":"rm -rf dist .tsbuildinfo","test:ci":"vitest run --coverage","typecheck":"tsc --noEmit"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:306ca2f4-37ec-47c1-9787-7844a7337670"}},"_resolved":"/tmp/724089db07feb72954e20140d0cbade7/otplib-plugin-crypto-node-13.4.1.tgz","_integrity":"sha512-ce4Y+6Al+NI8rlyVcOCrTQh/LxQamdAlJCDVTDSYnxApT2dDyK7ADsxVjuDmnh6giZ//vhgMipu1S9NBt7aEzQ==","repository":{"url":"git+https://github.com/yeojz/otplib.git","type":"git","directory":"packages/plugin-crypto-node"},"_npmVersion":"11.13.0","description":"Node.js crypto module adapter for otplib","directories":{},"sideEffects":false,"_nodeVersion":"24.16.0","dependencies":{"@otplib/core":"13.4.1"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.5.1","vitest":"^4.1.5","typescript":"^5.9.3"},"_npmOperationalInternal":{"tmp":"tmp/plugin-crypto-node_13.4.1_1780134875873_0.8589081835738366","host":"s3://npm-registry-packages-npm-production"}},"13.5.0":{"name":"@otplib/plugin-crypto-node","version":"13.5.0","description":"Node.js crypto module adapter for otplib","license":"MIT","author":{"name":"Gerald Yeo","email":"support@yeojz.dev"},"homepage":"https://otplib.yeojz.dev","repository":{"type":"git","url":"git+https://github.com/yeojz/otplib.git","directory":"packages/plugin-crypto-node"},"bugs":{"url":"https://github.com/yeojz/otplib/issues"},"keywords":["otp","crypto","nodejs","hmac","plugin"],"sideEffects":false,"type":"module","main":"./dist/index.cjs","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{".":{"import":{"types":"./dist/index.d.ts","default":"./dist/index.js"},"require":{"types":"./dist/index.d.cts","default":"./dist/index.cjs"}}},"dependencies":{"@otplib/core":"13.5.0"},"devDependencies":{"tsup":"^8.5.1","typescript":"^6.0.3","vitest":"^4.1.5","@repo/testing":"13.0.1"},"publishConfig":{"access":"public"},"scripts":{"build":"tsup","dev":"tsup --watch","test":"vitest","test:ci":"vitest run --coverage","typecheck":"tsc --noEmit","lint":"eslint src/","clean":"rm -rf dist .tsbuildinfo"},"_id":"@otplib/plugin-crypto-node@13.5.0","_integrity":"sha512-xSw6FllLco26dtd2tbTIDwKhYXeca/tnOvYdTdLpmZai+C35LfX0U3C5D793c9BPv7Mtt7YSkeD2yrhY1HBuhg==","_resolved":"/tmp/8c6ba725e217f3cb3c256e2984075f58/otplib-plugin-crypto-node-13.5.0.tgz","_from":"file:otplib-plugin-crypto-node-13.5.0.tgz","_nodeVersion":"24.19.0","_npmVersion":"11.17.0","dist":{"integrity":"sha512-xSw6FllLco26dtd2tbTIDwKhYXeca/tnOvYdTdLpmZai+C35LfX0U3C5D793c9BPv7Mtt7YSkeD2yrhY1HBuhg==","shasum":"0d33fb3f4c5e08d375d75ffd6f5569eee8f44c2e","tarball":"https://registry.npmjs.org/@otplib/plugin-crypto-node/-/plugin-crypto-node-13.5.0.tgz","fileCount":11,"unpackedSize":23432,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@otplib%2fplugin-crypto-node@13.5.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIDQvkzgdObecrHNw6uXFU9ACrxZvMy8f84qCe58ik+g0AiEAwZN5iae0ZQvA4o8QWdgvSS6XWA0I4p8BpUFaGyQoZtc="}]},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:306ca2f4-37ec-47c1-9787-7844a7337670"}},"directories":{},"maintainers":[{"name":"geraldyeo","email":"support@yeojz.dev"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/plugin-crypto-node_13.5.0_1787323488358_0.00254961377220031"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-10T10:47:09.154Z","modified":"2026-08-21T14:44:48.847Z","13.0.0":"2026-01-10T10:47:09.412Z","13.0.1":"2026-01-10T16:29:38.894Z","13.0.2":"2026-01-11T08:41:58.410Z","13.1.0":"2026-01-12T16:34:51.335Z","13.1.1":"2026-01-14T15:57:04.925Z","13.2.0":"2026-01-25T15:37:19.447Z","13.2.1":"2026-01-26T07:05:03.302Z","13.3.0":"2026-02-12T14:34:35.200Z","13.4.0":"2026-03-19T15:00:38.104Z","13.4.1":"2026-05-30T09:54:36.032Z","13.5.0":"2026-08-21T14:44:48.510Z"},"bugs":{"url":"https://github.com/yeojz/otplib/issues"},"author":{"name":"Gerald Yeo","email":"support@yeojz.dev"},"license":"MIT","homepage":"https://otplib.yeojz.dev","keywords":["otp","crypto","nodejs","hmac","plugin"],"repository":{"type":"git","url":"git+https://github.com/yeojz/otplib.git","directory":"packages/plugin-crypto-node"},"description":"Node.js crypto module adapter for otplib","maintainers":[{"name":"geraldyeo","email":"support@yeojz.dev"}],"readme":"# @otplib/plugin-crypto-node\n\nNode.js crypto plugin for otplib using the built-in `crypto` module.\n\n## Installation\n\n```bash\nnpm install @otplib/plugin-crypto-node\npnpm add @otplib/plugin-crypto-node\nyarn add @otplib/plugin-crypto-node\n```\n\n## Overview\n\nThis plugin provides HMAC and random byte generation using Node.js's built-in `crypto` module. It supports all hash algorithms available in Node.js:\n\n- `sha1`\n- `sha256`\n- `sha512`\n\n## Usage\n\n### Basic Usage\n\n```typescript\nimport { generateSecret, generate } from \"otplib\";\nimport { crypto } from \"@otplib/plugin-crypto-node\";\nimport { base32 } from \"@otplib/plugin-base32-scure\";\n\n// Generate a secret\nconst secret = generateSecret({ crypto, base32 });\n\n// Generate a token\nconst token = await generate({\n  secret,\n  crypto,\n  base32,\n});\n```\n\n### With Custom Algorithm\n\n```typescript\nimport { generate } from \"otplib\";\nimport { crypto } from \"@otplib/plugin-crypto-node\";\nimport { base32 } from \"@otplib/plugin-base32-scure\";\n\nconst token = await generate({\n  secret: \"GEZDGNBVGY3TQOJQGEZDGNBVGY\",\n  algorithm: \"sha256\",\n  crypto,\n  base32,\n});\n```\n\n### Synchronous HMAC\n\nThe Node.js crypto plugin supports both synchronous and asynchronous HMAC operations:\n\n```typescript\nimport { crypto } from \"@otplib/plugin-crypto-node\";\n\n// Sync HMAC (faster, but blocks event loop)\nconst digest = crypto.hmacSync(\"sha1\", key, data);\n\n// Async HMAC (doesn't block event loop)\nconst digest = await crypto.hmac(\"sha1\", key, data);\n```\n\n## When to Use\n\nUse this plugin when:\n\n- Running in Node.js environment\n- Need maximum performance\n- Want to use Node.js built-in crypto (no external dependencies)\n- Need synchronous HMAC operations\n\n## Platform Support\n\n- Node.js (all versions)\n- Not available in browsers (use `@otplib/plugin-crypto-web` instead)\n- Not available in edge runtimes (use `@otplib/plugin-crypto-web` instead)\n\n## Documentation\n\nFull documentation available at [otplib.yeojz.dev](https://otplib.yeojz.dev):\n\n- [Getting Started Guide](https://otplib.yeojz.dev/guide/getting-started)\n- [API Reference](https://otplib.yeojz.dev/api/)\n\n## License\n\n[MIT](./LICENSE)\n","readmeFilename":"README.md"}