{"_id":"ts-nkeys","_rev":"2993253","name":"ts-nkeys","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in typescript for ts-nats and node-nats","dist-tags":{"latest":"1.0.16","next":"1.0.16-2"},"maintainers":[{"name":"aricart","email":""}],"time":{"modified":"2023-08-28T09:18:41.000Z","created":"2018-09-07T22:17:44.783Z","1.0.16":"2020-02-25T18:51:17.256Z","1.0.16-2":"2020-02-25T14:10:59.771Z","1.0.16-1":"2020-02-25T14:09:51.268Z","1.0.14":"2019-10-07T15:12:57.129Z","1.0.12":"2019-03-22T18:17:24.872Z","1.0.10":"2019-01-04T16:09:44.594Z","1.0.8":"2018-12-07T23:09:12.697Z","1.0.4":"2018-10-26T18:44:37.860Z","1.0.2":"2018-10-25T18:03:41.450Z","1.0.1":"2018-10-25T16:52:39.745Z","1.0.0":"2018-10-25T16:42:16.870Z","0.9.0":"2018-09-07T22:17:44.783Z"},"users":{},"author":{"name":"The NATS Authors"},"repository":{"type":"git","url":"https://github.com//nats-io/ts-nkeys"},"versions":{"1.0.16":{"name":"ts-nkeys","version":"1.0.16","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in typescript for ts-nats and node-nats","main":"lib/nkeys.js","types":"lib/nkeys.d.ts","scripts":{"build":"npm run clean:dist && tsc && npm run copy:dist","clean":"npm run clean:dist","clean:dist":"rm -rf lib/* coverage/* .nyc_output/*","copy:dist":"cp lib/src/* lib/","cover:html":"nyc report --reporter=html && open coverage/index.html","cover:coveralls":"nyc report --reporter=lcovonly && cat ./coverage/lcov.info | coveralls","pack":"npm run build && npm pack","debugtest":"tsc && node node_modules/.bin/ava --verbose -T 6500000 --match","test":"tsc && nyc ava --verbose -T 15000"},"repository":{"type":"git","url":"https://github.com//nats-io/ts-nkeys"},"keywords":["nats","Ed25519","node","typescript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","devDependencies":{"@types/node":"^13.7.4","ava":"^2.4.0","coveralls":"^3.0.9","dependency-check":"^4.1.0","nyc":"^15.0.0","ts-node":"^8.6.2","typescript":"^3.8.2"},"dependencies":{"tweetnacl":"^1.0.3"},"ava":{"failFast":false,"require":["./lib/test/helpers/ava_fix.js"],"files":["./lib/test/**/*.js","!./lib/test/helpers/**/*.js"],"sources":["**/*.js"]},"nyc":{"extension":[".ts",".js"],"include":["src/**/*.ts","lib/src/**/*.js"],"exclude":["lib/test/**","examples/**","benchmark/**"],"sourceMap":true,"all":false},"gitHead":"a3af59f34121eff1d63b3da4b46d0fccf6577b70","_id":"ts-nkeys@1.0.16","_nodeVersion":"12.15.0","_npmVersion":"6.13.7","dist":{"shasum":"b0c6e7c4f16f976c7e7ddb6982fc789a2f971248","size":16152,"noattachment":false,"key":"/ts-nkeys/-/ts-nkeys-1.0.16.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-nkeys/download/ts-nkeys-1.0.16.tgz"},"maintainers":[{"name":"aricart","email":""}],"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-nkeys_1.0.16_1582656677087_0.3069639196393452"},"_hasShrinkwrap":false,"publish_time":1582656677256,"_cnpm_publish_time":1582656677256,"_cnpmcore_publish_time":"2021-12-16T16:10:21.296Z"},"1.0.16-2":{"name":"ts-nkeys","version":"1.0.16-2","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in typescript for ts-nats and node-nats","main":"lib/nkeys.js","types":"lib/nkeys.d.ts","scripts":{"build":"npm run clean:dist && tsc && npm run copy:dist","clean":"npm run clean:dist","clean:dist":"rm -rf lib/* coverage/* .nyc_output/*","copy:dist":"cp lib/src/* lib/","cover:html":"nyc report --reporter=html && open coverage/index.html","cover:coveralls":"nyc report --reporter=lcovonly && cat ./coverage/lcov.info | coveralls","pack":"npm run build && npm pack","debugtest":"tsc && node node_modules/.bin/ava --verbose -T 6500000 --match","test":"tsc && nyc ava --verbose -T 15000"},"repository":{"type":"git","url":"https://github.com//nats-io/ts-nkeys"},"keywords":["nats","Ed25519","node","typescript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","devDependencies":{"@types/node":"^13.7.4","ava":"^2.4.0","coveralls":"^3.0.9","dependency-check":"^4.1.0","nyc":"^15.0.0","ts-node":"^8.6.2","typescript":"^3.8.2"},"dependencies":{"tweetnacl":"^1.0.3"},"ava":{"failFast":false,"require":["./lib/test/helpers/ava_fix.js"],"files":["./lib/test/**/*.js","!./lib/test/helpers/**/*.js"],"sources":["**/*.js"]},"nyc":{"extension":[".ts",".js"],"include":["src/**/*.ts","lib/src/**/*.js"],"exclude":["lib/test/**","examples/**","benchmark/**"],"sourceMap":true,"all":false},"readmeFilename":"README.md","gitHead":"97d260289897fe15d0227e43463a38a9193d550d","_id":"ts-nkeys@1.0.16-2","_nodeVersion":"12.15.0","_npmVersion":"6.13.7","dist":{"shasum":"71d12cde59028d2d542dce8a081f12abb7ba78b0","size":16153,"noattachment":false,"key":"/ts-nkeys/-/ts-nkeys-1.0.16-2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-nkeys/download/ts-nkeys-1.0.16-2.tgz"},"maintainers":[{"name":"aricart","email":""}],"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-nkeys_1.0.16-2_1582639859646_0.20436592557324507"},"_hasShrinkwrap":false,"publish_time":1582639859771,"_cnpm_publish_time":1582639859771,"_cnpmcore_publish_time":"2021-12-16T16:10:21.565Z"},"1.0.16-1":{"name":"ts-nkeys","version":"1.0.16-1","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in typescript for ts-nats and node-nats","main":"lib/nkeys.js","types":"lib/nkeys.d.ts","scripts":{"build":"npm run clean:dist && tsc && npm run copy:dist","clean":"npm run clean:dist","clean:dist":"rm -rf lib/* coverage/* .nyc_output/*","copy:dist":"cp lib/src/* lib/","cover:html":"nyc report --reporter=html && open coverage/index.html","cover:coveralls":"nyc report --reporter=lcovonly && cat ./coverage/lcov.info | coveralls","pack":"npm run build && npm pack","debugtest":"tsc && node node_modules/.bin/ava --verbose -T 6500000 --match","test":"tsc && nyc ava --verbose -T 15000"},"repository":{"type":"git","url":"https://github.com//nats-io/ts-nkeys"},"keywords":["nats","Ed25519","node","typescript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","devDependencies":{"@types/node":"^13.7.4","ava":"^2.4.0","coveralls":"^3.0.9","dependency-check":"^4.1.0","nyc":"^15.0.0","ts-node":"^8.6.2","typescript":"^3.8.2"},"dependencies":{"tweetnacl":"^1.0.3"},"ava":{"failFast":false,"require":["./lib/test/helpers/ava_fix.js"],"files":["./lib/test/**/*.js","!./lib/test/helpers/**/*.js"],"sources":["**/*.js"]},"nyc":{"extension":[".ts",".js"],"include":["src/**/*.ts","lib/src/**/*.js"],"exclude":["lib/test/**","examples/**","benchmark/**"],"sourceMap":true,"all":false},"readmeFilename":"README.md","gitHead":"ef302353beb8d6c570868172f4eb9e862b4971c2","_id":"ts-nkeys@1.0.16-1","_nodeVersion":"12.15.0","_npmVersion":"6.13.7","dist":{"shasum":"9217248030d6ca84d5c9d3ad3ad68b50c0328d86","size":40298,"noattachment":false,"key":"/ts-nkeys/-/ts-nkeys-1.0.16-1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-nkeys/download/ts-nkeys-1.0.16-1.tgz"},"maintainers":[{"name":"aricart","email":""}],"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-nkeys_1.0.16-1_1582639791179_0.7986919068197866"},"_hasShrinkwrap":false,"publish_time":1582639791268,"_cnpm_publish_time":1582639791268,"_cnpmcore_publish_time":"2021-12-16T16:10:22.297Z"},"1.0.14":{"name":"ts-nkeys","version":"1.0.14","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in typescript for ts-nats and node-nats","main":"lib/nkeys.js","types":"lib/nkeys.d.ts","scripts":{"build":"npm run clean:dist && tsc","clean":"npm run clean:dist","clean:dist":"rm -rf lib/* coverage/* .nyc_output/*","copy:dist":"cp lib/src/* lib/","cover:html":"nyc report --reporter=html && open coverage/index.html","cover:coveralls":"nyc report --reporter=text-lcov | coveralls","dist":"npm run build && npm run copy:dist","pack":"npm pack","debugtest":"tsc && node $NODE_DEBUG_OPTION node_modules/.bin/ava --verbose -T 6500000 -m","test":"tsc && nyc ava --verbose -T 15000","publish-npm":"npm run dist && npm publish","publish-npm:beta":"npm run dist && npm publish --tag=next","doc":"typedoc --options ./typedocconfig.ts && touch ./docs/.nojekyll"},"repository":{"type":"git","url":"https://github.com//nats-io/ts-nkeys"},"keywords":["nats","Ed25519","node","typescript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","devDependencies":{"@types/node":"^12.7.11","ava":"^1.4.1","coveralls":"^3.0.6","dependency-check":"^3.4.1","if-node-version":"^1.1.1","nyc":"^14.1.1","set-value":"^3.0.1","ts-node":"^8.4.1","typescript":"^3.6.3"},"dependencies":{"tweetnacl":"^1.0.1"},"ava":{"failFast":false,"require":[],"files":["./lib/test/**/*.js","!./lib/test/helpers/**/*.js"],"sources":["**/*.js"]},"nyc":{"extension":[".ts",".js"],"include":["src/**/*.ts","lib/src/**/*.js"],"exclude":["examples/**","benchmark/**"],"sourceMap":true,"all":false},"gitHead":"00ba00d454d2b04c54134e200815f2a2c548242d","_id":"ts-nkeys@1.0.14","_nodeVersion":"10.11.0","_npmVersion":"6.9.0","dist":{"shasum":"3d4b61b6aa4fa952c649ecfafacdce1a4831ba57","size":16106,"noattachment":false,"key":"/ts-nkeys/-/ts-nkeys-1.0.14.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-nkeys/download/ts-nkeys-1.0.14.tgz"},"maintainers":[{"name":"aricart","email":""}],"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-nkeys_1.0.14_1570461176985_0.7463133301806422"},"_hasShrinkwrap":false,"publish_time":1570461177129,"_cnpm_publish_time":1570461177129,"_cnpmcore_publish_time":"2021-12-16T16:10:22.806Z"},"1.0.12":{"name":"ts-nkeys","version":"1.0.12","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in typescript for ts-nats and node-nats","main":"lib/nkeys.js","types":"lib/nkeys.d.ts","scripts":{"build":"npm run clean:dist && tsc","clean":"npm run clean:dist","clean:dist":"rm -rf lib/* coverage/* .nyc_output/*","copy:dist":"cp lib/src/* lib/","cover:html":"nyc report --reporter=html && open coverage/index.html","cover:coveralls":"nyc report --reporter=text-lcov | coveralls","dist":"npm run build && npm run copy:dist","pack":"npm pack","debugtest":"tsc && node $NODE_DEBUG_OPTION node_modules/.bin/ava --verbose -T 6500000 -m","test":"tsc && nyc ava --verbose -T 15000","publish-npm":"npm run dist && npm publish","publish-npm:beta":"npm run dist && npm publish --tag=next","doc":"typedoc --options ./typedocconfig.ts && touch ./docs/.nojekyll"},"repository":{"type":"git","url":"https://github.com//nats-io/ts-nkeys"},"keywords":["nats","Ed25519","node","typescript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","devDependencies":{"@types/node":"^9.6.46","ava":"^1.3.1","coveralls":"^3.0.3","dependency-check":"2.5.x","if-node-version":"^1.1.1","nyc":"^13.3.0","ts-node":"^6.0.3","typescript":"^3.3.4000"},"dependencies":{"tweetnacl":"^1.0.1"},"ava":{"failFast":false,"require":[],"files":["./lib/test/**/*.js","!./lib/test/helpers/**/*.js"],"sources":["**/*.js"]},"nyc":{"exclude":["lib/test/**","examples/**","benchmark/**"]},"gitHead":"2d9845d24e6a95cc32a43bf955545f7777f1ede9","_id":"ts-nkeys@1.0.12","_nodeVersion":"10.11.0","_npmVersion":"6.9.0","dist":{"shasum":"cda47f4842fe2c4f88b1303817050673e16acb89","size":15916,"noattachment":false,"key":"/ts-nkeys/-/ts-nkeys-1.0.12.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-nkeys/download/ts-nkeys-1.0.12.tgz"},"maintainers":[{"name":"aricart","email":""}],"_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-nkeys_1.0.12_1553278644682_0.757223566663132"},"_hasShrinkwrap":false,"publish_time":1553278644872,"_cnpm_publish_time":1553278644872,"_cnpmcore_publish_time":"2021-12-16T16:10:23.007Z"},"1.0.10":{"name":"ts-nkeys","version":"1.0.10","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in typescript for ts-nats and node-nats","main":"lib/nkeys.js","types":"lib/nkeys.d.ts","scripts":{"build":"npm run clean:dist && tsc","clean":"npm run clean:dist","clean:dist":"rm -rf lib/* coverage/* .nyc_output/*","copy:dist":"cp lib/src/* lib/","cover:html":"nyc report --reporter=html && open coverage/index.html","cover:coveralls":"nyc report --reporter=text-lcov | coveralls","dist":"npm run build && npm run copy:dist","pack":"npm pack","debugtest":"tsc && node $NODE_DEBUG_OPTION node_modules/.bin/ava --verbose -T 6500000 -m","test":"tsc && nyc ava --verbose -T 15000","publish-npm":"npm run dist && npm publish","publish-npm:beta":"npm run dist && npm publish --tag=next","doc":"typedoc --options ./typedocconfig.ts && touch ./docs/.nojekyll"},"repository":{"type":"git","url":"https://github.com//nats-io/ts-nkeys"},"keywords":["nats","Ed25519","node","typescript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","devDependencies":{"@types/node":"^9.6.13","ava":"1.0.0-beta.8","coveralls":"^3.0.2","dependency-check":"2.5.x","if-node-version":"^1.1.1","nyc":"^12.0.2","ts-node":"^6.0.3","typescript":"^3.0.3"},"dependencies":{"tweetnacl":"^1.0.0"},"ava":{"failFast":false,"require":[],"files":["./lib/test/**/*.js","!./lib/test/helpers/**/*.js"],"sources":["**/*.js"]},"nyc":{"exclude":["lib/test/**","examples/**","benchmark/**"]},"gitHead":"4a0861d19488c6a06b342d5cf2a8e7b9658f4378","_id":"ts-nkeys@1.0.10","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"dist":{"shasum":"b4f978bdeea981fad6d3bc5183af6e76d6f7aa3c","size":15919,"noattachment":false,"key":"/ts-nkeys/-/ts-nkeys-1.0.10.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-nkeys/download/ts-nkeys-1.0.10.tgz"},"maintainers":[{"name":"aricart","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-nkeys_1.0.10_1546618184468_0.014086911733475427"},"_hasShrinkwrap":false,"publish_time":1546618184594,"_cnpm_publish_time":1546618184594,"_cnpmcore_publish_time":"2021-12-16T16:10:23.257Z"},"1.0.8":{"name":"ts-nkeys","version":"1.0.8","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in typescript for ts-nats and node-nats","main":"lib/nkeys.js","types":"lib/nkeys.d.ts","scripts":{"build":"npm run clean:dist && tsc","clean":"npm run clean:dist","clean:dist":"rm -rf lib/* coverage/* .nyc_output/*","copy:dist":"cp lib/src/* lib/","cover:html":"nyc report --reporter=html && open coverage/index.html","cover:coveralls":"nyc report --reporter=text-lcov | coveralls","dist":"npm run build && npm run copy:dist","pack":"npm pack","debugtest":"tsc && node $NODE_DEBUG_OPTION node_modules/.bin/ava --verbose -T 6500000 -m","test":"tsc && nyc ava --verbose -T 15000","publish-npm":"npm run dist && npm publish","publish-npm:beta":"npm run dist && npm publish --tag=next","doc":"typedoc --options ./typedocconfig.ts && touch ./docs/.nojekyll"},"repository":{"type":"git","url":"https://github.com//nats-io/ts-nkeys"},"keywords":["nats","Ed25519","node","typescript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","devDependencies":{"@types/node":"^9.6.13","ava":"1.0.0-beta.8","coveralls":"^3.0.2","dependency-check":"2.5.x","if-node-version":"^1.1.1","nyc":"^12.0.2","ts-node":"^6.0.3","typescript":"^3.0.3"},"dependencies":{"npm":"^6.4.1","tweetnacl":"^1.0.0"},"ava":{"failFast":false,"require":[],"files":["./lib/test/**/*.js","!./lib/test/helpers/**/*.js"],"sources":["**/*.js"]},"nyc":{"exclude":["lib/test/**","examples/**","benchmark/**"]},"gitHead":"2b073d8329675e5c1f852719fef455b919c90991","_id":"ts-nkeys@1.0.8","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"dist":{"shasum":"a8bf799e1ddba94bb6233f1acd5f7e2b5ba75408","size":16003,"noattachment":false,"key":"/ts-nkeys/-/ts-nkeys-1.0.8.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-nkeys/download/ts-nkeys-1.0.8.tgz"},"maintainers":[{"name":"aricart","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-nkeys_1.0.8_1544224152514_0.18400846779319258"},"_hasShrinkwrap":false,"publish_time":1544224152697,"_cnpm_publish_time":1544224152697,"_cnpmcore_publish_time":"2021-12-16T16:10:23.505Z"},"1.0.4":{"name":"ts-nkeys","version":"1.0.4","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in typescript for ts-nats and node-nats","main":"lib/nkeys.js","types":"lib/nkeys.d.ts","scripts":{"build":"npm run clean:dist && tsc","clean":"npm run clean:dist","clean:dist":"rm -rf lib/* coverage/* .nyc_output/*","copy:dist":"cp lib/src/* lib/","cover:html":"nyc report --reporter=html && open coverage/index.html","cover:coveralls":"nyc report --reporter=text-lcov | coveralls","dist":"npm run build && npm run copy:dist","pack":"npm pack","debugtest":"tsc && node $NODE_DEBUG_OPTION node_modules/.bin/ava --verbose -T 6500000 -m","test":"tsc && nyc ava --verbose -T 15000","publish-npm":"npm run dist && npm publish","publish-npm:beta":"npm run dist && npm publish --tag=next","doc":"typedoc --options ./typedocconfig.ts && touch ./docs/.nojekyll"},"repository":{"type":"git","url":"https://github.com//nats-io/ts-nkeys"},"keywords":["nats","Ed25519","node","typescript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","devDependencies":{"@types/node":"^9.6.13","ava":"1.0.0-beta.8","coveralls":"^3.0.2","dependency-check":"2.5.x","if-node-version":"^1.1.1","nyc":"^12.0.2","ts-node":"^6.0.3","typescript":"^3.0.3"},"dependencies":{"base32-decode":"^1.0.0","base32-encode":"^1.0.0","npm":"^6.4.1","tweetnacl":"^1.0.0"},"ava":{"failFast":false,"require":[],"files":["./lib/test/**/*.js","!./lib/test/helpers/**/*.js"],"sources":["**/*.js"]},"nyc":{"exclude":["lib/test/**","examples/**","benchmark/**"]},"gitHead":"96713372c5978a046dc0ab3d315c89970ac5bd1b","_id":"ts-nkeys@1.0.4","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"dist":{"shasum":"0de13df9557e2fc95ab8992d711351b59a7ebbcf","size":15180,"noattachment":false,"key":"/ts-nkeys/-/ts-nkeys-1.0.4.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-nkeys/download/ts-nkeys-1.0.4.tgz"},"maintainers":[{"name":"aricart","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-nkeys_1.0.4_1540579477689_0.14449125414214392"},"_hasShrinkwrap":false,"publish_time":1540579477860,"_cnpm_publish_time":1540579477860,"_cnpmcore_publish_time":"2021-12-16T16:10:23.804Z"},"1.0.2":{"name":"ts-nkeys","version":"1.0.2","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in typescript for ts-nats and node-nats","main":"lib/nkeys.js","types":"lib/nkeys.d.ts","scripts":{"build":"npm run clean:dist && tsc","clean":"npm run clean:dist","clean:dist":"rm -rf lib/*","copy:dist":"cp lib/src/* lib/","cover:html":"nyc report --reporter=html && open coverage/index.html","cover:coveralls":"nyc report --reporter=text-lcov | coveralls","dist":"npm run build && npm run copy:dist","pack":"npm pack","debugtest":"tsc && node $NODE_DEBUG_OPTION node_modules/.bin/ava --verbose -T 6500000 -m","test":"tsc && nyc ava --verbose -T 15000","publish-npm":"npm run dist && npm publish","publish-npm:beta":"npm run dist && npm publish --tag=next","doc":"typedoc --options ./typedocconfig.ts && touch ./docs/.nojekyll"},"repository":{"type":"git","url":"https://github.com//nats-io/ts-nkeys"},"keywords":["nats","Ed25519","node","typescript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","devDependencies":{"@types/node":"^9.6.13","ava":"1.0.0-beta.8","coveralls":"^3.0.2","dependency-check":"2.5.x","if-node-version":"^1.1.1","nyc":"^12.0.2","ts-node":"^6.0.3","typescript":"^3.0.3"},"dependencies":{"base32-decode":"^1.0.0","base32-encode":"^1.0.0","npm":"^6.4.1","tweetnacl":"^1.0.0"},"ava":{"failFast":false,"require":[],"files":["./lib/test/**/*.js","!./lib/test/helpers/**/*.js"],"sources":["**/*.js"]},"nyc":{"exclude":["lib/test/**","examples/**","benchmark/**"]},"gitHead":"26fbb7c2872a6ab90a130eb034f94b1ce8a33a6a","_id":"ts-nkeys@1.0.2","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"dist":{"shasum":"17bcb06abe6e65809ec6e164a6cbc3a8ef4dde6c","size":36907,"noattachment":false,"key":"/ts-nkeys/-/ts-nkeys-1.0.2.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-nkeys/download/ts-nkeys-1.0.2.tgz"},"maintainers":[{"name":"aricart","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-nkeys_1.0.2_1540490621292_0.4696274880650346"},"_hasShrinkwrap":false,"publish_time":1540490621450,"_cnpm_publish_time":1540490621450,"_cnpmcore_publish_time":"2021-12-16T16:10:24.080Z"},"1.0.1":{"name":"ts-nkeys","version":"1.0.1","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in typescript for ts-nats and node-nats","main":"lib/nkeys.js","types":"lib/nkeys.d.ts","scripts":{"build":"npm run clean:dist && tsc","clean":"npm run clean:dist","clean:dist":"rm -rf lib/*","copy:dist":"cp lib/src/* lib/","cover:html":"nyc report --reporter=html && open coverage/index.html","cover:coveralls":"nyc report --reporter=text-lcov | coveralls","dist":"npm run build && npm run copy:dist","pack":"npm pack","debugtest":"tsc && node $NODE_DEBUG_OPTION node_modules/.bin/ava --verbose -T 6500000 -m","test":"tsc && nyc ava --verbose -T 15000","publish-npm":"npm run dist && npm publish","publish-npm:beta":"npm run dist && npm publish --tag=next","doc":"typedoc --options ./typedocconfig.ts && touch ./docs/.nojekyll"},"repository":{"type":"git","url":"https://github.com//nats-io/ts-nkeys"},"keywords":["nats","Ed25519","node","typescript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","devDependencies":{"@types/node":"^9.6.13","ava":"1.0.0-beta.8","coveralls":"^3.0.2","dependency-check":"2.5.x","if-node-version":"^1.1.1","nyc":"^12.0.2","ts-node":"^6.0.3","typescript":"^3.0.3"},"dependencies":{"base32-decode":"^1.0.0","base32-encode":"^1.0.0","npm":"^6.4.1","tweetnacl":"^1.0.0"},"ava":{"failFast":false,"require":[],"files":["./lib/test/**/*.js","!./lib/test/helpers/**/*.js"],"sources":["**/*.js"]},"nyc":{"exclude":["lib/test/**","examples/**","benchmark/**"]},"gitHead":"99ca31b5d429c36f62f7b2721502c48a1a3120be","_id":"ts-nkeys@1.0.1","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"dist":{"shasum":"86c10fafd7d5bbced2ca3fab980a92659540e829","size":36720,"noattachment":false,"key":"/ts-nkeys/-/ts-nkeys-1.0.1.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-nkeys/download/ts-nkeys-1.0.1.tgz"},"maintainers":[{"name":"aricart","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-nkeys_1.0.1_1540486359587_0.8883989245194306"},"_hasShrinkwrap":false,"publish_time":1540486359745,"_cnpm_publish_time":1540486359745,"_cnpmcore_publish_time":"2021-12-16T16:10:24.287Z"},"1.0.0":{"name":"ts-nkeys","version":"1.0.0","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in typescript for ts-nats and node-nats","main":"lib/nkeys.js","types":"lib/nkeys.d.ts","scripts":{"build":"npm run clean:dist && tsc","clean":"npm run clean:dist","clean:dist":"rm -rf lib/*","copy:dist":"cp lib/src/* lib/","cover:html":"nyc report --reporter=html && open coverage/index.html","cover:coveralls":"nyc report --reporter=text-lcov | coveralls","dist":"npm run build && npm run copy:dist","pack":"npm pack","debugtest":"tsc && node $NODE_DEBUG_OPTION node_modules/.bin/ava --verbose -T 6500000 -m","test":"tsc && nyc ava --verbose -T 15000","publish-npm":"npm run dist && npm publish","publish-npm:beta":"npm run dist && npm publish --tag=next","doc":"typedoc --options ./typedocconfig.ts && touch ./docs/.nojekyll"},"repository":{"type":"git","url":"https://github.com//nats-io/ts-nkeys"},"keywords":["nats","Ed25519","node","typescript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","devDependencies":{"@types/node":"^9.6.13","ava":"1.0.0-beta.8","coveralls":"^3.0.2","dependency-check":"2.5.x","if-node-version":"^1.1.1","nyc":"^12.0.2","ts-node":"^6.0.3","typescript":"^3.0.3"},"dependencies":{"base32-decode":"^1.0.0","base32-encode":"^1.0.0","npm":"^6.4.1","tweetnacl":"^1.0.0"},"ava":{"failFast":false,"require":[],"files":["./lib/test/**/*.js","!./lib/test/helpers/**/*.js"],"sources":["**/*.js"]},"nyc":{"exclude":["lib/test/**","examples/**","benchmark/**"]},"gitHead":"99ca31b5d429c36f62f7b2721502c48a1a3120be","_id":"ts-nkeys@1.0.0","_npmVersion":"6.4.1","_nodeVersion":"10.11.0","_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"dist":{"shasum":"ae805fc53dfaa498d327c7567e2f5a68f72fe623","size":27055,"noattachment":false,"key":"/ts-nkeys/-/ts-nkeys-1.0.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-nkeys/download/ts-nkeys-1.0.0.tgz"},"maintainers":[{"name":"aricart","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-nkeys_1.0.0_1540485736589_0.8979055198785286"},"_hasShrinkwrap":false,"publish_time":1540485736870,"_cnpm_publish_time":1540485736870,"_cnpmcore_publish_time":"2021-12-16T16:10:24.619Z"},"0.9.0":{"name":"ts-nkeys","version":"0.9.0","description":"A public-key signature system based on Ed25519 for the NATS ecosystem in typescript for ts-nats and node-nats","main":"lib/nkeys.js","types":"lib/nkeys.d.ts","scripts":{"build":"npm run clean:dist && tsc","clean":"npm run clean:dist","clean:dist":"rm -rf lib/*","copy:dist":"cp lib/src/* lib/","cover:html":"nyc report --reporter=html && open coverage/index.html","cover:coveralls":"nyc report --reporter=text-lcov | coveralls","dist":"npm run build && npm run copy:dist","pack":"npm pack","debugtest":"tsc && node $NODE_DEBUG_OPTION node_modules/.bin/ava --verbose -T 6500000 -m","test":"tsc && nyc ava --verbose -T 15000","publish-npm":"npm run dist && npm publish","publish-npm:beta":"npm run dist && npm publish --tag=next","doc":"typedoc --options ./typedocconfig.ts && touch ./docs/.nojekyll"},"repository":{"type":"git","url":"https://github.com//nats-io/ts-nkeys"},"keywords":["nats","Ed25519","node","typescript"],"author":{"name":"The NATS Authors"},"license":"Apache-2.0","devDependencies":{"@types/node":"^9.6.13","ava":"1.0.0-beta.8","coveralls":"^3.0.2","dependency-check":"2.5.x","if-node-version":"^1.1.1","nyc":"^12.0.2","ts-node":"^6.0.3","typescript":"^3.0.3"},"dependencies":{"base32-decode":"^1.0.0","base32-encode":"^1.0.0","npm":"^6.4.1","tweetnacl":"^1.0.0"},"ava":{"failFast":false,"require":[],"files":["./lib/test/**/*.js","!./lib/test/helpers/**/*.js"],"sources":["**/*.js"]},"nyc":{"exclude":["lib/test/**","examples/**","benchmark/**"]},"gitHead":"4f0b54684ea2da7c62ce4e17ab04b4ca36a7c5af","_id":"ts-nkeys@0.9.0","_npmVersion":"6.4.1","_nodeVersion":"10.8.0","_npmUser":{"name":"aricart","email":"alberto@synadia.com"},"dist":{"shasum":"46cd57a69c77fa0caab5d5a879c6ae8c73aa6f35","size":41164,"noattachment":false,"key":"/ts-nkeys/-/ts-nkeys-0.9.0.tgz","tarball":"http://registry.cnpm.dingdandao.com/ts-nkeys/download/ts-nkeys-0.9.0.tgz"},"maintainers":[{"name":"aricart","email":""}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/ts-nkeys_0.9.0_1536358664655_0.6622153894639822"},"_hasShrinkwrap":false,"publish_time":1536358664783,"_cnpm_publish_time":1536358664783,"_cnpmcore_publish_time":"2021-12-16T16:10:24.877Z"}},"readme":"# ts-nkeys\n\n\nA public-key signature system based on Ed25519 for the [NATS ecosystem system](https://nats.io) in JavaScript and Typescript.\n\n[![license](https://img.shields.io/github/license/nats-io/ts-nats.svg)](https://www.apache.org/licenses/LICENSE-2.0)\n[![Build Status](https://travis-ci.org/nats-io/ts-nkeys.svg?branch=master)](https://travis-ci.org/nats-io/ts-nkeys)\n[![Coveralls github branch](https://img.shields.io/coveralls/github/nats-io/ts-nkeys/master.svg)](https://coveralls.io/github/nats-io/ts-nkeys)\n[![npm](https://img.shields.io/npm/v/ts-nkeys.svg)](https://www.npmjs.com/package/ts-nkeys)\n[![npm](https://img.shields.io/npm/dt/ts-nkeys.svg)](https://www.npmjs.com/package/ts-nkeys)\n\nts-nkeys is a typescript nats library for node that for generating nkeys.\n\n## Installation\n\n```bash\nnpm install ts-nkeys\n```\n\n## Basic Usage\n\n```typescript\n    // create an user nkey - also possible to create accounts, clusters, servers.\n    let user = createUser();\n\n    // once you have an nkey you can generate various keys.\n    // A seed is the public and private keys together.\n    // Seeds are strings, and start with the letter 'S'. \n    // Seeds need to be kept safe and never shared.\n    let seed = user.getSeed();\n    t.true(Buffer.isBuffer(seed));\n    t.is(seed[0], 'S'.charCodeAt(0));\n    \n    // the second letter in the seed represents its type:\n    // `U` for user, \n    // `A` for account, \n    // `C` for cluster\n    // `N` for severs\n    t.is(seed[1], 'U'.charCodeAt(0));\n\n    // public keys can be shared and can be used to verify signed content\n    let publicKey = user.getPublicKey();\n    t.true(Buffer.isBuffer(publicKey));\n    // first letter represents the type of public key\n    // `U` for user, \n    // `A` for account, \n    // `C` for cluster\n    // `N` for severs\n    t.is(publicKey[0], 'U'.charCodeAt(0));\n\n\n    // To sign data\n    let data = Buffer.from(\"HelloWorld\");\n    let sig = user.sign(data);\n    \n    // to verify use the user, public or seed:\n    t.true(user.verify(data, sig));\n\n    // public keys can be used to verify signatures you cannot sign with them though.\n    let pk = fromPublic(publicKey);\n    t.true(pk.verify(data, sig));\n\n    // seeds can be used to reconstitute the keypair from a string\n    let sk = fromSeed(seed);\n    t.true(sk.verify(data, sig));\n    // and can be used to sign\n    let sig2 = sk.sign(data);\n    t.true(sk.verify(data, sig));\n```\n\n\n## Supported Node Versions\n\nOur support policy for Nodejs versions follows [Nodejs release support]( https://github.com/nodejs/Release).\nWe will support and build node-nats on even-numbered Nodejs versions that are current or in LTS.\n\n## License\n\nUnless otherwise noted, the NATS source files are distributed under the Apache Version 2.0 license found in the LICENSE file.\n","_attachments":{},"license":"Apache-2.0"}