{"_id":"@nats-io/nkeys","_rev":"16-a8a0454172615279c681b18514b23ab3","name":"@nats-io/nkeys","dist-tags":{"latest":"2.0.3"},"versions":{"1.2.0-4":{"name":"@nats-io/nkeys","version":"1.2.0-4","keywords":["nats","Ed25519","javascript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","_id":"@nats-io/nkeys@1.2.0-4","homepage":"https://github.com/nats-io/nkeys.js#readme","bugs":{"url":"https://github.com/nats-io/nkeys.js/issues"},"dist":{"shasum":"3e16d9076b2f936181dd9d6123dc705daccf714b","tarball":"https://registry.npmjs.org/@nats-io/nkeys/-/nkeys-1.2.0-4.tgz","fileCount":48,"integrity":"sha512-61R4SO9059AyZBhoZRECHobHsY6mBOGwB5ewBrbnDKVtTehnFwyMNaORHhksFmu9K0zyUtwBWyffzKpibp2Cew==","signatures":[{"sig":"MEUCICzDkEwNScCTz3IPRxwdutTvffj/sgmTopuMvLukb9JUAiEAwccV1VFjOXsBbgW045hozWOlwDTNOTTmhAooiFzn3Qs=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":166798},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=16.0.0"},"gitHead":"d66cf7ab9c99d22c94de9cba95337d536bed4c16","scripts":{"cjs":"deno run --allow-all bin/cjs-fix-imports.ts -o build/ src/ modules/cjs/ node_test/","doc":"npm run clean && rm -Rf docs && npm run stage && node_modules/.bin/typedoc --out docs/ && touch ./docs/.nojekyll","fmt":"deno fmt src/ examples/ modules/ test/ node_test/","init":"mkdir -p build","test":"npm run clean && npm run prepare && node --test && deno test -A test/","clean":"rm -Rf build/ lib/ nkeys.d.ts nkeys.mjs ./coverage","cover":"npm run clean && npm run prepare && deno test --coverage=coverage -A test/ && deno coverage ./coverage --lcov > ./coverage/out.lcov && genhtml -o ./coverage/html ./coverage/out.lcov && open ./coverage/html/index.html","stage":"npm run init && npm run generate && npm run cjs && tsc","prepare":"npm run clean && npm run stage && npm run generate && deno bundle modules/esm/mod.ts nkeys.mjs","generate":"deno run -A bin/generate_version.ts && deno run -A ./bin/tweetnacl-esm.ts","bump-release":"npm version patch --no-commit-hooks --no-git-tag-version","check-package":"deno run --allow-all bin/check-bundle-version.ts","bump-qualifier":"npm version prerelease --no-commit-hooks --no-git-tag-version"},"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"repository":{"url":"git+https://github.com/nats-io/nkeys.js.git","type":"git"},"_npmVersion":"10.7.0","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in javascript","directories":{},"_nodeVersion":"22.2.0","dependencies":{"tweetnacl":"1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"typedoc":"^0.26.x","typescript":"^5.5.x","@types/node":"^20.12.10"},"_npmOperationalInternal":{"tmp":"tmp/nkeys_1.2.0-4_1719334941374_0.25873514212011095","host":"s3://npm-registry-packages"}},"1.2.0-5":{"name":"@nats-io/nkeys","version":"1.2.0-5","keywords":["nats","Ed25519","javascript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","_id":"@nats-io/nkeys@1.2.0-5","maintainers":[{"name":"philpennock","email":"npm-packaging@pennock-tech.com"},{"name":"derek","email":"derek@nats.io"},{"name":"aricart","email":"alberto@synadia.com"}],"homepage":"https://github.com/nats-io/nkeys.js#readme","bugs":{"url":"https://github.com/nats-io/nkeys.js/issues"},"dist":{"shasum":"36e8dca9b4bbd7f27e791cef4fcafdb1e27131aa","tarball":"https://registry.npmjs.org/@nats-io/nkeys/-/nkeys-1.2.0-5.tgz","fileCount":48,"integrity":"sha512-9DC8D2889iq5MEUA8BerrnGwXU5adZ8zt+fy7KGLF/EGBEOYvYt94IIe1h7+Twr24z6GzkSuv7cPQT2CCnhtZg==","signatures":[{"sig":"MEUCIQC7ZAFsRvZmwC9dEp1T/gTQPwsk2RpWWwkm47kCO3yr/gIgIEufSFcwx2A46YmCsGbm0LzgfHoBuYLCNgT59PFsFh4=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":166794},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=16.0.0"},"gitHead":"d66cf7ab9c99d22c94de9cba95337d536bed4c16","scripts":{"cjs":"deno run --allow-all bin/cjs-fix-imports.ts -o build/ src/ modules/cjs/ node_test/","doc":"npm run clean && rm -Rf docs && npm run stage && node_modules/.bin/typedoc --out docs/ && touch ./docs/.nojekyll","fmt":"deno fmt src/ examples/ modules/ test/ node_test/","init":"mkdir -p build","test":"npm run clean && npm run prepare && node --test && deno test -A test/","clean":"rm -Rf build/ lib/ nkeys.d.ts nkeys.mjs ./coverage","cover":"npm run clean && npm run prepare && deno test --coverage=coverage -A test/ && deno coverage ./coverage --lcov > ./coverage/out.lcov && genhtml -o ./coverage/html ./coverage/out.lcov && open ./coverage/html/index.html","stage":"npm run init && npm run generate && npm run cjs && tsc","prepare":"npm run clean && npm run stage && npm run generate && deno bundle modules/esm/mod.ts nkeys.mjs","generate":"deno run -A bin/generate_version.ts && deno run -A ./bin/tweetnacl-esm.ts","bump-release":"npm version patch --no-commit-hooks --no-git-tag-version","check-package":"deno run --allow-all bin/check-bundle-version.ts","bump-qualifier":"npm version prerelease --no-commit-hooks --no-git-tag-version"},"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"repository":{"url":"git+https://github.com/nats-io/nkeys.js.git","type":"git"},"_npmVersion":"10.8.2","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in javascript","directories":{},"_nodeVersion":"22.5.1","dependencies":{"tweetnacl":"1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typedoc":"^0.26.6","typescript":"^5.5.4","@types/node":"^22.5.1"},"_npmOperationalInternal":{"tmp":"tmp/nkeys_1.2.0-5_1724944767797_0.9338379199730542","host":"s3://npm-registry-packages"}},"1.2.0-6":{"name":"@nats-io/nkeys","version":"1.2.0-6","keywords":["nats","Ed25519","javascript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","_id":"@nats-io/nkeys@1.2.0-6","maintainers":[{"name":"philpennock","email":"npm-packaging@pennock-tech.com"},{"name":"derek","email":"derek@nats.io"},{"name":"aricart","email":"alberto@synadia.com"}],"homepage":"https://github.com/nats-io/nkeys.js#readme","bugs":{"url":"https://github.com/nats-io/nkeys.js/issues"},"dist":{"shasum":"6c1a814238a7b6cf56d9b60b51c8f1b70acd1508","tarball":"https://registry.npmjs.org/@nats-io/nkeys/-/nkeys-1.2.0-6.tgz","fileCount":48,"integrity":"sha512-ICYYD9Z+YMrmKc2xIGdfu37sadKnIAsqO2UP7GMNv5QQb2OkPdzhMBcio5a0tliGL63FlY+JLJfmgCOUNaSqmQ==","signatures":[{"sig":"MEUCIAI27SzdRVFt8cEKBMRJeicN6H2ma7/hfHDnbOabtSgDAiEA19jCF1w1Ur2VTaw8y39Qd1SB3vvi3xdcouvibm2RTvc=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":170551},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=16.0.0"},"gitHead":"0d52bdb7ef97d0f0f6d3d0a240cbff7a9242e8ac","scripts":{"cjs":"deno run --allow-all bin/cjs-fix-imports.ts -o build/ src/ modules/cjs/ node_test/","doc":"npm run clean && rm -Rf docs && npm run stage && node_modules/.bin/typedoc --out docs/ && touch ./docs/.nojekyll","fmt":"deno fmt src/ examples/ modules/ test/ node_test/","init":"mkdir -p build","test":"npm run clean && npm run prepare && node --test && deno test -A test/","clean":"rm -Rf build/ lib/ nkeys.d.ts nkeys.mjs ./coverage","cover":"npm run clean && npm run prepare && deno test --coverage=coverage -A test/ && deno coverage ./coverage --lcov > ./coverage/out.lcov && genhtml -o ./coverage/html ./coverage/out.lcov && open ./coverage/html/index.html","stage":"npm run init && npm run generate && npm run cjs && tsc","prepare":"npm run clean && npm run stage && npm run generate && deno bundle modules/esm/mod.ts nkeys.mjs","generate":"deno run -A bin/generate_version.ts && deno run -A ./bin/tweetnacl-esm.ts","bump-release":"npm version patch --no-commit-hooks --no-git-tag-version","check-package":"deno run --allow-all bin/check-bundle-version.ts","bump-qualifier":"npm version prerelease --no-commit-hooks --no-git-tag-version"},"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"repository":{"url":"git+https://github.com/nats-io/nkeys.js.git","type":"git"},"_npmVersion":"10.8.2","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in javascript","directories":{},"_nodeVersion":"22.5.1","dependencies":{"tweetnacl":"1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typedoc":"^0.26.6","typescript":"^5.5.4","@types/node":"^22.5.2"},"_npmOperationalInternal":{"tmp":"tmp/nkeys_1.2.0-6_1725397163815_0.7145799875665717","host":"s3://npm-registry-packages"}},"1.2.0-7":{"name":"@nats-io/nkeys","version":"1.2.0-7","keywords":["nats","Ed25519","javascript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","_id":"@nats-io/nkeys@1.2.0-7","maintainers":[{"name":"philpennock","email":"npm-packaging@pennock-tech.com"},{"name":"derek","email":"derek@nats.io"},{"name":"aricart","email":"alberto@synadia.com"}],"homepage":"https://github.com/nats-io/nkeys.js#readme","bugs":{"url":"https://github.com/nats-io/nkeys.js/issues"},"dist":{"shasum":"baf531fe755f3ab1509543f6fe6e868e337d55db","tarball":"https://registry.npmjs.org/@nats-io/nkeys/-/nkeys-1.2.0-7.tgz","fileCount":48,"integrity":"sha512-UJKHaua76paFfJfsQyg6Son4Rxj+3fGjsKF+CKUW/GjixJGOArPv51y5HZzpQed2nk0B4WP22rsDZ2xhTSsAGA==","signatures":[{"sig":"MEUCIQDlVEzfnMWIqe3XHBjVAE9WtblGfVZg17RuC9ODNkZFTAIgF9a7PNeNxEqenDs/3aOvBnEhzIyYnBJCU5fzPPmIBuQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":166571},"main":"lib/index.js","types":"lib/index.d.ts","engines":{"node":">=16.0.0"},"gitHead":"0d52bdb7ef97d0f0f6d3d0a240cbff7a9242e8ac","scripts":{"cjs":"deno run --allow-all bin/cjs-fix-imports.ts -o build/ src/ modules/cjs/ node_test/","doc":"npm run clean && rm -Rf docs && npm run stage && node_modules/.bin/typedoc --out docs/ && touch ./docs/.nojekyll","fmt":"deno fmt src/ examples/ modules/ test/ node_test/","init":"mkdir -p build","test":"npm run clean && npm run prepare && node --test && deno test -A test/","clean":"rm -Rf build/ lib/ nkeys.d.ts nkeys.mjs ./coverage","cover":"npm run clean && npm run prepare && deno test --coverage=coverage -A test/ && deno coverage ./coverage --lcov > ./coverage/out.lcov && genhtml -o ./coverage/html ./coverage/out.lcov && open ./coverage/html/index.html","stage":"npm run init && npm run generate && npm run cjs && tsc","prepare":"npm run clean && npm run stage && npm run generate && deno bundle modules/esm/mod.ts nkeys.mjs","generate":"deno run -A bin/generate_version.ts && deno run -A ./bin/tweetnacl-esm.ts","bump-release":"npm version patch --no-commit-hooks --no-git-tag-version","check-package":"deno run --allow-all bin/check-bundle-version.ts","bump-qualifier":"npm version prerelease --no-commit-hooks --no-git-tag-version"},"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"repository":{"url":"git+https://github.com/nats-io/nkeys.js.git","type":"git"},"_npmVersion":"10.8.2","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in javascript","directories":{},"_nodeVersion":"22.5.1","dependencies":{"tweetnacl":"1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typedoc":"^0.26.6","typescript":"^5.5.4","@types/node":"^22.5.2"},"_npmOperationalInternal":{"tmp":"tmp/nkeys_1.2.0-7_1728940492898_0.9764031713269155","host":"s3://npm-registry-packages"}},"1.2.0-8":{"name":"@nats-io/nkeys","version":"1.2.0-8","keywords":["nats","Ed25519","javascript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","_id":"@nats-io/nkeys@1.2.0-8","maintainers":[{"name":"philpennock","email":"npm-packaging@pennock-tech.com"},{"name":"derek","email":"derek@nats.io"},{"name":"aricart","email":"alberto@synadia.com"}],"homepage":"https://github.com/nats-io/nkeys.js#readme","bugs":{"url":"https://github.com/nats-io/nkeys.js/issues"},"dist":{"shasum":"252e63a0cc137f45fbfcd245b209faa09a76403f","tarball":"https://registry.npmjs.org/@nats-io/nkeys/-/nkeys-1.2.0-8.tgz","fileCount":44,"integrity":"sha512-o6nfNYySzVZL7mIJA+ejD3JdMFbLn9VWtptM2cnHh4jeF/FvhPhCkn8BH4jQE7asCV/SSialu6jGhsAFV1FKkQ==","signatures":[{"sig":"MEYCIQDfEepn3e1y67gBwDJDNt9S53douTkFNGD1NqDsFculoQIhANSnCP8u9uE3Fv/bC8WBLfoZDfozt/8HYGuA5YzWAp2O","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":118639},"main":"lib/mod.js","types":"lib/mod.d.ts","engines":{"node":">=16.0.0"},"gitHead":"6a91f7b117ee73cbc72a08306b022cc3b91783ae","scripts":{"cjs":"deno run --allow-all bin/cjs-fix-imports.ts -o build/ src/ node_test/","doc":"npm run clean && rm -Rf docs && npm run stage && node_modules/.bin/typedoc --out docs/ && touch ./docs/.nojekyll","fmt":"deno fmt src/ examples/ modules/ test/ node_test/","init":"mkdir -p build","test":"npm run clean && npm run prepare && node --test && deno test -A test/","clean":"rm -Rf build/ lib/ nkeys.d.ts nkeys.mjs ./coverage","cover":"npm run clean && npm run prepare && deno test --coverage=coverage -A test/ && deno coverage ./coverage --lcov > ./coverage/out.lcov && genhtml -o ./coverage/html ./coverage/out.lcov && open ./coverage/html/index.html","stage":"npm run init && npm run generate && npm run cjs && tsc","prepare":"npm run clean && npm run stage && npm run generate","generate":"deno run -A bin/generate_version.ts","bump-release":"npm version patch --no-commit-hooks --no-git-tag-version","check-package":"deno run --allow-all bin/check-bundle-version.ts","bump-qualifier":"npm version prerelease --no-commit-hooks --no-git-tag-version"},"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"repository":{"url":"git+https://github.com/nats-io/nkeys.js.git","type":"git"},"_npmVersion":"10.9.0","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in javascript","directories":{},"_nodeVersion":"23.2.0","dependencies":{"tweetnacl":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"typedoc":"^0.26.6","typescript":"^5.5.4","@types/node":"^22.5.2"},"_npmOperationalInternal":{"tmp":"tmp/nkeys_1.2.0-8_1731793514668_0.3885472583915579","host":"s3://npm-registry-packages"}},"2.0.0-1":{"name":"@nats-io/nkeys","version":"2.0.0-1","keywords":["nats","Ed25519","javascript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","_id":"@nats-io/nkeys@2.0.0-1","maintainers":[{"name":"philpennock","email":"npm-packaging@pennock-tech.com"},{"name":"derek","email":"derek@nats.io"},{"name":"aricart","email":"alberto@synadia.com"}],"homepage":"https://github.com/nats-io/nkeys.js#readme","bugs":{"url":"https://github.com/nats-io/nkeys.js/issues"},"dist":{"shasum":"5a2f13f0c5f8c1a63a44a7f2ee99c442fc8e9485","tarball":"https://registry.npmjs.org/@nats-io/nkeys/-/nkeys-2.0.0-1.tgz","fileCount":44,"integrity":"sha512-rTe3wnmNs04HFjeIv0rF+GHpYw9QUjg694DKxL+z0NwOgNlYzh8V1qeYJu+9EwaVtJihTmyfcPNQ+Qr8bhKS0w==","signatures":[{"sig":"MEUCIB7ANeNpPkhmqHJ6WOTgqdwpfVTY05TZk+OQWRdF6nIyAiEA50Qzh4sEysrITzDTY+a7AkN3vyjNtH2H3nX/+aOkijA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":106921},"main":"lib/mod.js","types":"lib/mod.d.ts","engines":{"node":">=16.0.0"},"gitHead":"7ccb916843ab2c69bb730e5556979975130ee783","scripts":{"cjs":"deno run --allow-all bin/cjs-fix-imports.ts -o build/ src/ node_test/","doc":"npm run clean && rm -Rf docs && npm run stage && node_modules/.bin/typedoc --out docs/ && touch ./docs/.nojekyll","fmt":"deno fmt src/ examples/ modules/ test/ node_test/","init":"mkdir -p build","test":"npm run clean && npm run prepare && node --test && deno test -A test/","clean":"rm -Rf build/ lib/ nkeys.d.ts nkeys.mjs ./coverage","cover":"npm run clean && npm run prepare && deno test --coverage=coverage -A test/ && deno coverage ./coverage --lcov > ./coverage/out.lcov && genhtml -o ./coverage/html ./coverage/out.lcov && open ./coverage/html/index.html","stage":"npm run init && npm run generate && npm run cjs && tsc","prepare":"npm run clean && npm run stage && npm run generate","generate":"deno run -A bin/generate_version.ts && deno fmt","real-clean":"npm run clean && rm -Rf node_modules","bump-release":"npm version patch --no-commit-hooks --no-git-tag-version","check-package":"deno run --allow-all bin/check-bundle-version.ts","bump-qualifier":"npm version prerelease --no-commit-hooks --no-git-tag-version"},"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"repository":{"url":"git+https://github.com/nats-io/nkeys.js.git","type":"git"},"_npmVersion":"10.9.0","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in javascript","directories":{},"_nodeVersion":"23.2.0","dependencies":{"tweetnacl":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typedoc":"^0.26.11","typescript":"^5.6.3","@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/nkeys_2.0.0-1_1731946778896_0.680005929039331","host":"s3://npm-registry-packages"}},"2.0.0-2":{"name":"@nats-io/nkeys","version":"2.0.0-2","keywords":["nats","Ed25519","javascript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","_id":"@nats-io/nkeys@2.0.0-2","maintainers":[{"name":"philpennock","email":"npm-packaging@pennock-tech.com"},{"name":"derek","email":"derek@nats.io"},{"name":"aricart","email":"alberto@synadia.com"}],"homepage":"https://github.com/nats-io/nkeys.js#readme","bugs":{"url":"https://github.com/nats-io/nkeys.js/issues"},"dist":{"shasum":"2237cff3f01e420fd17ad589f77827fb048060ed","tarball":"https://registry.npmjs.org/@nats-io/nkeys/-/nkeys-2.0.0-2.tgz","fileCount":44,"integrity":"sha512-bUik5tS6J3WXc74H/MEbLkuzxQGpI9Qm9GuvwDuUsfUe1pmMsaPWsRQ/6vlYXCvnWYmVvLc6/c/wcIm/DNmEZA==","signatures":[{"sig":"MEQCIFL7tNeZs5GIK43NZrxSYe2Z+oIVFb93kQyaQwTuRPkJAiBE3/M1aJh2CG4UyLGu5M0AOy5bR3HJzrwOgnQxWLMBjw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":106520},"main":"lib/mod.js","types":"lib/mod.d.ts","engines":{"node":">=16.0.0"},"gitHead":"2180f1f1ba7a1c02748113d4036e5b787f239066","scripts":{"cjs":"deno run --allow-all bin/cjs-fix-imports.ts -o build/ src/ node_test/","doc":"npm run clean && rm -Rf docs && npm run stage && node_modules/.bin/typedoc --out docs/ && touch ./docs/.nojekyll","fmt":"deno fmt src/ examples/ modules/ test/ node_test/","init":"mkdir -p build","test":"npm run clean && npm run prepare && node --test && deno test -A test/","clean":"rm -Rf build/ lib/ nkeys.d.ts nkeys.mjs ./coverage","cover":"npm run clean && npm run prepare && deno test --coverage=coverage -A test/ && deno coverage ./coverage --lcov > ./coverage/out.lcov && genhtml -o ./coverage/html ./coverage/out.lcov && open ./coverage/html/index.html","stage":"npm run init && npm run generate && npm run cjs && tsc","prepare":"npm run clean && npm run stage && npm run generate","generate":"deno run -A bin/generate_version.ts && deno fmt","real-clean":"npm run clean && rm -Rf node_modules","bump-release":"npm version patch --no-commit-hooks --no-git-tag-version","check-package":"deno run --allow-all bin/check-bundle-version.ts","bump-qualifier":"npm version prerelease --no-commit-hooks --no-git-tag-version"},"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"repository":{"url":"git+https://github.com/nats-io/nkeys.js.git","type":"git"},"_npmVersion":"10.9.0","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in javascript","directories":{},"_nodeVersion":"23.2.0","dependencies":{"tweetnacl":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typedoc":"^0.26.11","typescript":"^5.6.3","@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/nkeys_2.0.0-2_1731951940652_0.16095062795735582","host":"s3://npm-registry-packages"}},"2.0.0-3":{"name":"@nats-io/nkeys","version":"2.0.0-3","keywords":["nats","Ed25519","javascript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","_id":"@nats-io/nkeys@2.0.0-3","maintainers":[{"name":"philpennock","email":"npm-packaging@pennock-tech.com"},{"name":"derek","email":"derek@nats.io"},{"name":"aricart","email":"alberto@synadia.com"}],"homepage":"https://github.com/nats-io/nkeys.js#readme","bugs":{"url":"https://github.com/nats-io/nkeys.js/issues"},"dist":{"shasum":"c162bbe45d58ded8735f487b3b42fde0a01f8e43","tarball":"https://registry.npmjs.org/@nats-io/nkeys/-/nkeys-2.0.0-3.tgz","fileCount":44,"integrity":"sha512-ars24TseiM1v5JTdSl9lgFV5ayoq1nqYD5apDn3LoWZM5BFGve11cam2N6F/VVOENCZzuAkLtw/uTN5HDutkmA==","signatures":[{"sig":"MEQCIB9eZHU8VfW3mo8SlRJ01nqpwE/mYyvbCVXYHm6k2BaUAiBR+aUzjy0ye1ZFVKoymgdnvjj2uacB3iO2IXyLMIb4NQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":114870},"main":"lib/mod.js","types":"lib/mod.d.ts","engines":{"node":">=16.0.0"},"gitHead":"e57bff012da771b036f15a19f120b7e83566d613","scripts":{"cjs":"deno run --allow-all bin/cjs-fix-imports.ts -o build/ src/ node_test/","doc":"npm run clean && rm -Rf docs && npm run stage && node_modules/.bin/typedoc --out docs/ && touch ./docs/.nojekyll","fmt":"deno fmt src/ examples/ modules/ test/ node_test/","init":"mkdir -p build","test":"npm run clean && npm run prepare && node --test && deno test -A test/","clean":"rm -Rf build/ lib/ nkeys.d.ts nkeys.mjs ./coverage","cover":"npm run clean && npm run prepare && deno test --coverage=coverage -A test/ && deno coverage ./coverage --lcov > ./coverage/out.lcov && genhtml -o ./coverage/html ./coverage/out.lcov && open ./coverage/html/index.html","stage":"npm run init && npm run generate && npm run cjs && tsc","prepare":"npm run clean && npm run stage && npm run generate","generate":"deno run -A bin/generate_version.ts && deno fmt","real-clean":"npm run clean && rm -Rf node_modules","bump-release":"npm version patch --no-commit-hooks --no-git-tag-version","check-package":"deno run --allow-all bin/check-bundle-version.ts","bump-qualifier":"npm version prerelease --no-commit-hooks --no-git-tag-version"},"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"repository":{"url":"git+https://github.com/nats-io/nkeys.js.git","type":"git"},"_npmVersion":"10.9.0","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in javascript","directories":{},"_nodeVersion":"23.2.0","dependencies":{"tweetnacl":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"typedoc":"^0.26.11","typescript":"^5.6.3","@types/node":"^22.9.0"},"_npmOperationalInternal":{"tmp":"tmp/nkeys_2.0.0-3_1732148198072_0.5953672118936839","host":"s3://npm-registry-packages"}},"2.0.0-4":{"name":"@nats-io/nkeys","version":"2.0.0-4","keywords":["nats","Ed25519","javascript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","_id":"@nats-io/nkeys@2.0.0-4","maintainers":[{"name":"philpennock","email":"npm-packaging@pennock-tech.com"},{"name":"aricart","email":"alberto@synadia.com"},{"name":"derek","email":"derek@nats.io"}],"homepage":"https://github.com/nats-io/nkeys.js#readme","bugs":{"url":"https://github.com/nats-io/nkeys.js/issues"},"dist":{"shasum":"e8dada30aa541feb081ef546202eb789c3fa2046","tarball":"https://registry.npmjs.org/@nats-io/nkeys/-/nkeys-2.0.0-4.tgz","fileCount":44,"integrity":"sha512-DmMrxRN0+rEzOsFiLoh0MwXIP0kitkZnghEZOWcoTzw3brllg595dp2X6/N93gsVjTB4uZQotcYH1zZWIA5Yrw==","signatures":[{"sig":"MEUCIBsNG2vIqgcP20CueLXEQebeVwlyCRwEHZ3qsJujreeKAiEA6vSIAcnQxKNvjQy6b49KzGBuJVOftkeU3bsn0uSqTD0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":111116},"main":"lib/mod.js","types":"lib/mod.d.ts","engines":{"node":">=16.0.0"},"gitHead":"c7f50bdce28f14c06c04e585b41c4c584d5c8786","scripts":{"cjs":"deno run --allow-all bin/cjs-fix-imports.ts -o build/ src/ node_test/","doc":"npm run clean && rm -Rf docs && npm run stage && node_modules/.bin/typedoc --out docs/ && touch ./docs/.nojekyll","fmt":"deno fmt src/ examples/ modules/ test/ node_test/","init":"mkdir -p build","test":"npm run clean && npm run prepare && node --test && deno test -A test/","clean":"rm -Rf build/ lib/ nkeys.d.ts nkeys.mjs ./coverage","cover":"npm run clean && npm run prepare && deno test --coverage=coverage -A test/ && deno coverage ./coverage --lcov > ./coverage/out.lcov && genhtml -o ./coverage/html ./coverage/out.lcov && open ./coverage/html/index.html","stage":"npm run init && npm run generate && npm run cjs && tsc","prepare":"npm run clean && npm run stage && npm run generate","generate":"deno run -A bin/generate_version.ts && deno fmt","real-clean":"npm run clean && rm -Rf node_modules","bump-release":"npm version patch --no-commit-hooks --no-git-tag-version","check-package":"deno run --allow-all bin/check-bundle-version.ts","bump-qualifier":"npm version prerelease --no-commit-hooks --no-git-tag-version"},"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"repository":{"url":"git+https://github.com/nats-io/nkeys.js.git","type":"git"},"_npmVersion":"10.9.0","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in javascript","directories":{},"_nodeVersion":"23.2.0","dependencies":{"tweetnacl":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"typedoc":"^0.27.3","typescript":"^5.7.2","@types/node":"^22.10.1"},"_npmOperationalInternal":{"tmp":"tmp/nkeys_2.0.0-4_1733335098667_0.8962834788095992","host":"s3://npm-registry-packages"}},"2.0.0-5":{"name":"@nats-io/nkeys","version":"2.0.0-5","keywords":["nats","Ed25519","javascript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","_id":"@nats-io/nkeys@2.0.0-5","maintainers":[{"name":"philpennock","email":"npm-packaging@pennock-tech.com"},{"name":"aricart","email":"alberto@synadia.com"},{"name":"derek","email":"derek@nats.io"}],"homepage":"https://github.com/nats-io/nkeys.js#readme","bugs":{"url":"https://github.com/nats-io/nkeys.js/issues"},"dist":{"shasum":"0896b628050cada7fe028da2b67a43c5d823e371","tarball":"https://registry.npmjs.org/@nats-io/nkeys/-/nkeys-2.0.0-5.tgz","fileCount":38,"integrity":"sha512-bQ4AbgSeFZiKA1E+sbic8VRVJUsb6kwnhFVxo4y+6R+G2mYMZ6ivSUnkkLqY8+YN7yeiKr05z3zNqFYGIsc+SQ==","signatures":[{"sig":"MEUCIBIgKY9nQ5aIjuP5jkILnLldv+wXb1mSq3pVZppgyPxtAiEAy7MCFSkQLIT0br5kpkLGfzOHbwTpmRpfwjAQvnWp910=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":86029},"main":"lib/mod.js","types":"lib/mod.d.ts","engines":{"node":">=18.0.0"},"gitHead":"8012bc779226ff8bc6fbe996711faea31d1c6984","scripts":{"cjs":"deno run --allow-all bin/cjs-fix-imports.ts -o build/ src/","doc":"rm -Rf docs && npm run stage && node_modules/.bin/typedoc --out docs/ && touch ./docs/.nojekyll","fmt":"deno fmt src/ examples/ modules/ test/ node_test/","init":"mkdir -p build","test":"npm run prepare && npm run check-package && npm run test-node && npm run test-deno","clean":"rm -Rf build/ lib/ ./coverage","stage":"npm run init && npm run generate && npm run cjs && tsc","prepare":"npm run clean && npm run stage","generate":"deno run -A bin/generate_version.ts && deno fmt","test-deno":"deno test -A test","test-node":"node --test","real-clean":"npm run clean && rm -Rf node_modules","bump-release":"npm version patch --no-commit-hooks --no-git-tag-version","check-package":"deno run --allow-all bin/check-bundle-version.ts","bump-qualifier":"npm version prerelease --no-commit-hooks --no-git-tag-version"},"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"repository":{"url":"git+https://github.com/nats-io/nkeys.js.git","type":"git"},"_npmVersion":"10.9.0","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in javascript","directories":{},"_nodeVersion":"23.2.0","dependencies":{"tweetnacl":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typedoc":"^0.27.3","typescript":"^5.7.2","@types/node":"^22.10.1"},"_npmOperationalInternal":{"tmp":"tmp/nkeys_2.0.0-5_1733508100717_0.335161281543612","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"@nats-io/nkeys","version":"2.0.0","keywords":["nats","Ed25519","javascript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","_id":"@nats-io/nkeys@2.0.0","maintainers":[{"name":"philpennock","email":"npm-packaging@pennock-tech.com"},{"name":"aricart","email":"alberto@synadia.com"},{"name":"derek","email":"derek@nats.io"}],"homepage":"https://github.com/nats-io/nkeys.js#readme","bugs":{"url":"https://github.com/nats-io/nkeys.js/issues"},"dist":{"shasum":"a10d6f2130c4061c02b14e204a4b905c0216cb1e","tarball":"https://registry.npmjs.org/@nats-io/nkeys/-/nkeys-2.0.0.tgz","fileCount":38,"integrity":"sha512-inrNjsJbpATWlycYqTYcaTH5nWZECmOwB3EjCWZZcmVj2TYGxKtXuAqYMCfI/w/do8yWM9RAWHoxGXj/gyM3uA==","signatures":[{"sig":"MEYCIQCUem7HbkaqEDnCQ5CDosrev5eq0h/sBVpyBFlEygQTjQIhAPX2r2Ffhd62EDhXoFDyXtsFpSYdViG9v9vZ+nQK9fw4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nats-io%2fnkeys@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":86023},"main":"lib/mod.js","types":"lib/mod.d.ts","engines":{"node":">=18.0.0"},"gitHead":"be498fa14603b1400e13378a09f3d06678380bbc","scripts":{"cjs":"deno run --allow-all bin/cjs-fix-imports.ts -o build/ src/","doc":"rm -Rf docs && npm run stage && node_modules/.bin/typedoc --out docs/ && touch ./docs/.nojekyll","fmt":"deno fmt src/ examples/ modules/ test/ node_test/","init":"mkdir -p build","test":"npm run prepare && npm run check-package && npm run test-node && npm run test-deno","clean":"rm -Rf build/ lib/ ./coverage","stage":"npm run init && npm run generate && npm run cjs && tsc","prepare":"npm run clean && npm run stage","generate":"deno run -A bin/generate_version.ts && deno fmt","test-deno":"deno test -A test","test-node":"node --test","real-clean":"npm run clean && rm -Rf node_modules","bump-release":"npm version patch --no-commit-hooks --no-git-tag-version","check-package":"deno run --allow-all bin/check-bundle-version.ts","bump-qualifier":"npm version prerelease --no-commit-hooks --no-git-tag-version"},"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"repository":{"url":"git+https://github.com/nats-io/nkeys.js.git","type":"git"},"_npmVersion":"10.9.2","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in javascript","directories":{},"_nodeVersion":"22.11.0","dependencies":{"tweetnacl":"^1.0.3"},"_hasShrinkwrap":false,"readmeFilename":"README.md","devDependencies":{"typedoc":"^0.27.3","typescript":"^5.7.2","@types/node":"^22.10.1"},"_npmOperationalInternal":{"tmp":"tmp/nkeys_2.0.0_1733509764115_0.6936325452372851","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"@nats-io/nkeys","version":"2.0.1","keywords":["nats","Ed25519","javascript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","_id":"@nats-io/nkeys@2.0.1","maintainers":[{"name":"philpennock","email":"npm-packaging@pennock-tech.com"},{"name":"aricart","email":"alberto@synadia.com"},{"name":"derek","email":"derek@nats.io"}],"homepage":"https://github.com/nats-io/nkeys.js#readme","bugs":{"url":"https://github.com/nats-io/nkeys.js/issues"},"dist":{"shasum":"a00d94624706e6edff2408dc84e5b2ac919dfc57","tarball":"https://registry.npmjs.org/@nats-io/nkeys/-/nkeys-2.0.1.tgz","fileCount":38,"integrity":"sha512-NfQi9c6TRA3ksKM4+ma4hc4k9gAKXUDg43QNn1nDW+xOjIVTyanaFgCnJBgyLSacvcJJWHNX5on6oawFfIUnDg==","signatures":[{"sig":"MEUCIQDWky0hhAt84JBLOaFy76/8g2/oFZ6mJ151ZXY44mIGlAIgAPp+NaOcSLETdTivXG2ldONIx7osLeMMDfVlVcd8/9A=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nats-io%2fnkeys@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":90414},"main":"lib/mod.js","types":"lib/mod.d.ts","engines":{"node":">=18.0.0"},"gitHead":"458b5df4715d3c6b0bebf0dde67e1d5579caf1f4","scripts":{"cjs":"deno run --allow-all bin/cjs-fix-imports.ts -o build/ src/","doc":"rm -Rf docs && npm run stage && node_modules/.bin/typedoc --out docs/ && touch ./docs/.nojekyll","fmt":"deno fmt src/ examples/ modules/ test/ node_test/","init":"mkdir -p build","test":"npm run prepare && npm run check-package && npm run test-deno && npm run test-node","clean":"rm -Rf build/ lib/ ./coverage","stage":"npm run init && npm run generate && npm run cjs && tsc","prepare":"npm run clean && npm run stage","generate":"deno run -A bin/generate_version.ts && deno fmt","test-deno":"deno test -A test","test-node":"cd node_test; node --test","real-clean":"npm run clean && rm -Rf node_modules","bump-release":"npm version patch --no-commit-hooks --no-git-tag-version","check-package":"deno run --allow-all bin/check-bundle-version.ts","bump-qualifier":"npm version prerelease --no-commit-hooks --no-git-tag-version"},"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"repository":{"url":"git+https://github.com/nats-io/nkeys.js.git","type":"git"},"_npmVersion":"11.0.0","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in javascript","directories":{},"_nodeVersion":"22.12.0","dependencies":{"tweetnacl":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"typedoc":"^0.27.6","typescript":"^5.7.3","@types/node":"^22.10.7"},"_npmOperationalInternal":{"tmp":"tmp/nkeys_2.0.1_1737058783995_0.4071783611316242","host":"s3://npm-registry-packages-npm-production"}},"2.0.2":{"name":"@nats-io/nkeys","version":"2.0.2","keywords":["nats","Ed25519","javascript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","_id":"@nats-io/nkeys@2.0.2","maintainers":[{"name":"philpennock","email":"npm-packaging@pennock-tech.com"},{"name":"aricart","email":"alberto@synadia.com"},{"name":"derek","email":"derek@nats.io"}],"homepage":"https://github.com/nats-io/nkeys.js#readme","bugs":{"url":"https://github.com/nats-io/nkeys.js/issues"},"dist":{"shasum":"28fb2893ed57c6de7fe8fc3ba76b2d42d73d8a90","tarball":"https://registry.npmjs.org/@nats-io/nkeys/-/nkeys-2.0.2.tgz","fileCount":38,"integrity":"sha512-0JTyVl9P+UJyjUBDWP9589TuUKXJQ8tDkVRgi02X/MMzW997+4FykirvZEkIe6ZAhiLIBN+NpN8ULMMt6mDrbA==","signatures":[{"sig":"MEQCIA4dM9FWz4TJqCBm7TaGkpxSsozOhQ8j4G5vLCn84KbEAiAtBczB9m81nl8qKR6bluJ3qM5FeDUNP41QjdMIv1C0Zg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nats-io%2fnkeys@2.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":90414},"main":"lib/mod.js","types":"lib/mod.d.ts","engines":{"node":">=18.0.0"},"gitHead":"dde0bd4a4733574326563012690607040f049282","scripts":{"cjs":"deno run --allow-all bin/cjs-fix-imports.ts -o build/ src/","doc":"rm -Rf docs && npm run stage && node_modules/.bin/typedoc --out docs/ && touch ./docs/.nojekyll","fmt":"deno fmt src/ examples/ modules/ test/ node_test/","init":"mkdir -p build","test":"npm run prepare && npm run check-package && npm run test-deno && npm run test-node","clean":"rm -Rf build/ lib/ ./coverage","stage":"npm run init && npm run generate && npm run cjs && tsc","prepare":"npm run clean && npm run stage","generate":"deno run -A bin/generate_version.ts && deno fmt","test-deno":"deno test -A test","test-node":"cd node_test; node --test","real-clean":"npm run clean && rm -Rf node_modules","bump-release":"npm version patch --no-commit-hooks --no-git-tag-version","check-package":"deno run --allow-all bin/check-bundle-version.ts","bump-qualifier":"npm version prerelease --no-commit-hooks --no-git-tag-version"},"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"repository":{"url":"git+https://github.com/nats-io/nkeys.js.git","type":"git"},"_npmVersion":"11.0.0","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in javascript","directories":{},"_nodeVersion":"22.12.0","dependencies":{"tweetnacl":"^1.0.3"},"_hasShrinkwrap":false,"devDependencies":{"typedoc":"^0.27.6","typescript":"^5.6.3","@types/node":"^22.10.7"},"_npmOperationalInternal":{"tmp":"tmp/nkeys_2.0.2_1737069278511_0.7523148334920076","host":"s3://npm-registry-packages-npm-production"}},"2.0.3":{"name":"@nats-io/nkeys","version":"2.0.3","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in javascript","main":"lib/mod.js","types":"lib/mod.d.ts","scripts":{"init":"mkdir -p build","clean":"rm -Rf build/ lib/ ./coverage","real-clean":"npm run clean && rm -Rf node_modules","fmt":"deno fmt src/ examples/ modules/ test/ node_test/","cjs":"deno run --allow-all bin/cjs-fix-imports.ts -o build/ src/","generate":"deno run -A bin/generate_version.ts && deno fmt","stage":"npm run init && npm run generate && npm run cjs && tsc","prepare":"npm run clean && npm run stage","test-node":"cd node_test; node --test","test-deno":"deno test -A test","test":"npm run prepare && npm run check-package && npm run test-deno && npm run test-node","doc":"rm -Rf docs && npm run stage && node_modules/.bin/typedoc --out docs/ && touch ./docs/.nojekyll","bump-qualifier":"npm version prerelease --no-commit-hooks --no-git-tag-version","bump-release":"npm version patch --no-commit-hooks --no-git-tag-version","check-package":"deno run --allow-all bin/check-bundle-version.ts"},"engines":{"node":">=18.0.0"},"repository":{"type":"git","url":"git+https://github.com/nats-io/nkeys.js.git"},"keywords":["nats","Ed25519","javascript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","dependencies":{"tweetnacl":"^1.0.3"},"devDependencies":{"@types/node":"^22.13.10","typedoc":"^0.28.1","typescript":"^5.8.2"},"_id":"@nats-io/nkeys@2.0.3","gitHead":"9d25c3f77814c5fb42981116450c90bb5fae14da","bugs":{"url":"https://github.com/nats-io/nkeys.js/issues"},"homepage":"https://github.com/nats-io/nkeys.js#readme","_nodeVersion":"22.14.0","_npmVersion":"11.2.0","dist":{"integrity":"sha512-JVt56GuE6Z89KUkI4TXUbSI9fmIfAmk6PMPknijmuL72GcD+UgIomTcRWiNvvJKxA01sBbmIPStqJs5cMRBC3A==","shasum":"37ce8725e075033202c9ca6093bb22c4a1989430","tarball":"https://registry.npmjs.org/@nats-io/nkeys/-/nkeys-2.0.3.tgz","fileCount":38,"unpackedSize":90415,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@nats-io%2fnkeys@2.0.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC57fDUxl8uPBGtkO33h9//RUnrz3piLFRuh2OZIOUkNQIgWnckrvebc4z7QGLUsxxh6830eUeTpnzOZX+GAQVjPJQ="}]},"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"directories":{},"maintainers":[{"name":"philpennock","email":"npm-packaging@pennock-tech.com"},{"name":"aricart","email":"alberto@synadia.com"},{"name":"derek","email":"derek@nats.io"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/nkeys_2.0.3_1742505477933_0.15746372480884685"},"_hasShrinkwrap":false}},"time":{"created":"2024-06-25T17:02:21.289Z","modified":"2025-03-20T21:17:58.523Z","1.2.0-4":"2024-06-25T17:02:21.571Z","1.2.0-5":"2024-08-29T15:19:27.996Z","1.2.0-6":"2024-09-03T20:59:24.046Z","1.2.0-7":"2024-10-14T21:14:53.119Z","1.2.0-8":"2024-11-16T21:45:14.856Z","2.0.0-1":"2024-11-18T16:19:39.103Z","2.0.0-2":"2024-11-18T17:45:40.845Z","2.0.0-3":"2024-11-21T00:16:38.271Z","2.0.0-4":"2024-12-04T17:58:18.895Z","2.0.0-5":"2024-12-06T18:01:40.919Z","2.0.0":"2024-12-06T18:29:24.281Z","2.0.1":"2025-01-16T20:19:44.201Z","2.0.2":"2025-01-16T23:14:38.789Z","2.0.3":"2025-03-20T21:17:58.111Z"},"bugs":{"url":"https://github.com/nats-io/nkeys.js/issues"},"author":{"name":"The NATS Authors"},"license":"Apache-2.0","homepage":"https://github.com/nats-io/nkeys.js#readme","keywords":["nats","Ed25519","javascript"],"repository":{"type":"git","url":"git+https://github.com/nats-io/nkeys.js.git"},"description":"A public-key signature system based on Ed25519 for the NATS ecosystem in javascript","maintainers":[{"name":"philpennock","email":"npm-packaging@pennock-tech.com"},{"name":"aricart","email":"alberto@synadia.com"},{"name":"derek","email":"derek@nats.io"}],"readme":"# nkeys.js\n\nA public-key signature system based on Ed25519 for the\n[NATS ecosystem system](https://nats.io) for JavaScript.\n\n[![License](https://img.shields.io/badge/Licence-Apache%202.0-blue.svg)](./LICENSE)\n![node](https://github.com/nats-io/nkeys.js/actions/workflows/node.yml/badge.svg)\n![deno](https://github.com/nats-io/nkeys.js/actions/workflows/deno.yml/badge.svg)\n[![coverage](https://coveralls.io/repos/github/nats-io/nkeys.js/badge.svg?branch=main)](https://coveralls.io/github/nats-io/nkeys.js?branch=main)\n[![JSDoc](https://img.shields.io/badge/JSDoc-reference-blue)](https://nats-io.github.io/nkeys.js/index.html)\n\n[![JSR](https://jsr.io/badges/@nats-io/nkeys)](https://jsr.io/@nats-io/nkeys)\n[![JSR](https://jsr.io/badges/@nats-io/nkeys/score)](https://jsr.io/@nats-io/nkeys)\n\n[![npm](https://img.shields.io/npm/v/%40nats-io%2Fnkeys)](https://www.npmjs.com/package/@nats-io/nkeys)\n[![npm](https://img.shields.io/npm/dt/%40nats-io%2Fnkeys)](https://www.npmjs.com/package/@nats-io/nkeys)\n[![npm](https://img.shields.io/npm/dm/%40nats-io%2Fnkeys)](https://www.npmjs.com/package/@nats-io/nkeys)\n\n[![npm](https://img.shields.io/npm/v/nkeys.js.svg)](https://www.npmjs.com/package/nkeys.js)\n[![npm](https://img.shields.io/npm/dt/nkeys.js.svg)](https://www.npmjs.com/package/nkeys.js)\n[![npm](https://img.shields.io/npm/dm/nkeys.js.svg)](https://www.npmjs.com/package/nkeys.js)\n\n> [!IMPORTANT]\n>\n> With the 2.0.0 release, the library changed module name from `nkeys.js` to\n> `@nats-io/nkeys`.\n\nThe nkeys.js library works in Deno, Node.js, Bun, and the browser!\n\n## Installation\n\nThe nkeys library is available on both\n[npm](https://www.npmjs.com/package/nkeys.js) and\n[jsr.io](https://jsr.io/@nats-io/nkeys)\n\n```bash\ndeno add jsr:@nats-io/nkeys\n```\n\n```javascript\nimport { createUser, fromPublic, fromSeed } from \"@nats-io/nkeys\";\n```\n\nIn Node:\n\n```bash\nnpm install @nats-io/nkeys\n```\n\n```javascript\nconst { createUser, fromSeed, fromPublic } = require(\"nkeys.js\");\n// or\nimport { createUser, fromPublic, fromSeed } from \"nkeys.js\";\n```\n\n## Basic Usage\n\nThe [documentation is here](https://nats-io.github.io/nkeys.js/)\n\n```typescript\n// create an user nkey KeyPair (can also create accounts, operators, etc).\nconst user = createUser();\n\n// A seed is the public and private keys together.\nconst seed: Uint8Array = user.getSeed();\n\n// Seeds are encoded into Uint8Array, and start with\n// the letter 'S'. Seeds need to be kept safe and never shared\nconsole.log(`seeds start with s: ${seed[0] === \"S\".charCodeAt(0)}`);\n\n// A seed's second letter encodes it's type:\n// `U` for user,\n// `A` for account,\n// `O` for operators\nconsole.log(`nkey is for a user? ${seed[1] === \"U\".charCodeAt(0)}`);\n\n// To view a seed, simply decode it:\nconsole.log(new TextDecoder().decode(seed));\n\n// you can recreate the keypair with its seed:\nconst priv = fromSeed(seed);\n\n// Using the KeyPair, you can cryptographically sign content:\nconst data = new TextEncoder().encode(\"Hello World!\");\nconst sig = priv.sign(data);\n\n// and verify a signature:\nconst valid = user.verify(data, sig);\nif (!valid) {\n  console.error(\"couldn't validate the data/signature against my key\");\n} else {\n  console.error(\"data was verified by my key\");\n}\n\n// others can validate using your public key:\nconst publicKey = user.getPublicKey();\nconst pub = fromPublic(publicKey);\nif (!pub.verify(data, sig)) {\n  console.error(`couldn't validate the data/signature with ${publicKey}`);\n} else {\n  console.info(`data was verified by ${publicKey}`);\n}\n\n// when extracting with seeds or private keys\n// you should clear them when done:\nseed.fill(0);\n\n// you should also clear the keypairs:\nuser.clear();\npriv.clear();\n```\n\n## Curve Keys\n\nCurve keys seal/open (encrypt/decrypt) payloads only, but look like regular\nnkeys. The `getSeed()`, `getPrivate()`, `getPublic()`, `clear()` work have the\nsame functionality as the normal nkeys. The APIs to `sign()`, `verify()` however\nwill throw an error (regular nkeys will throw an error for `seal()` and\n`open()`)\n\n```javascript\n// let's create 3 different curve keys, as with other nkeys\n// private/seeds should be kept private, and public keys can be\n// shared.\nconst a = createCurve();\nconst b = createCurve();\nconst c = createCurve();\n\n// encryption api works on bytes - so lets make a message\nconst payload = new TextEncoder().encode(\"hello!\");\n\n// let's encrypt the message so that \"b\" can read it\nconst encrypted = a.seal(payload, b.getPublicKey());\n\n// \"b\" can then open the message, we need to know the sender\nlet decrypted = b.open(encrypted, a.getPublicKey());\nif (decrypted === null) {\n  throw new Error(\"failed to decrypt\");\n}\nconsole.log(new TextDecoder().decode(decrypted));\n\n// wrong recipient - will return `null`\ndecrypted = c.open(encrypted, a.getPublicKey());\nif (decrypted !== null) {\n  throw new Error(\"this should have been null\");\n}\n\n// wrong sender - will return `null`\ndecrypted = b.open(encrypted, c.getPublicKey());\nif (decrypted !== null) {\n  throw new Error(\"shouldn't have decrypted\");\n}\n\n// seal can take an user-specified nonce - the nonce will make\n// it so that 2 equal payloads encrypt to different values\n// when not specified seal uses a random nonce (a good thing).\n// for this example, we'll use the same nonce\nconst nonce = new Uint8Array(24);\n\n// same payload, but with the specified nonce, different encrypted results\n// comparing the outputs you wouldn't be able to guess they are the\n// same exact unencrytped payload.\nconst encrypted2 = a.seal(payload, b.getPublicKey(), nonce);\nconsole.log(encrypted, encrypted2);\n\nconsole.log(\"---------\");\n\n// now re-encrypt with the same nonce, encrypted2 and encrypted3 are equal\n// which would provide a hint that the unencrypted payloads are\n// the same (not a good thing).\nconst encrypted3 = a.seal(payload, b.getPublicKey(), nonce);\nconsole.log(encrypted2, encrypted3);\n```\n\n## Supported Node Versions\n\nOur support policy for Nodejs versions follows\n[Nodejs release support](https://github.com/nodejs/Release). We will support and\nbuild nkeys.js on even-numbered Nodejs versions that are current or in LTS.\n\nNote that this library no longer shims `atob`, `btoa`, `TextEncoder`, nor\n`TextDecoder`. These should be available in fairly old node builds going as far\nback as Node 16. If you need to run on an older environment, use one of the\nolder versions on npm.\n\n## License\n\nUnless otherwise noted, the NATS source files are distributed under the Apache\nVersion 2.0 license found in the LICENSE file.\n","readmeFilename":"README.md"}