{"_id":"@buff-beacon-project/curby-client","_rev":"6-5a164cb731de1d82ed2c37d98393d9dd","name":"@buff-beacon-project/curby-client","dist-tags":{"latest":"1.2.0"},"versions":{"1.0.0":{"name":"@buff-beacon-project/curby-client","version":"1.0.0","keywords":["curby","twine","beacon","randomness"],"author":{"name":"Jasper Palfree","email":"jasper.palfree@colorado.edu"},"license":"MIT","_id":"@buff-beacon-project/curby-client@1.0.0","maintainers":[{"name":"wellcaffeinated","email":"well.caffeinated@gmail.com"}],"homepage":"https://random.colorado.edu","bugs":{"url":"https://github.com/buff-beacon-project/curby-js-client/issues"},"dist":{"shasum":"472192d93d6e57d184eaedb8494a00d7f224ca1b","tarball":"https://registry.npmjs.org/@buff-beacon-project/curby-client/-/curby-client-1.0.0.tgz","fileCount":18,"integrity":"sha512-yAtql8CdO3hcFgJHS6ktDmfdjOXTjtAyXCixrK/+Z3J5rMYPKIgsDrQ/6yO5KcdbVIRp1dfge51855MFjh4W7Q==","signatures":[{"sig":"MEUCIQCTr2Gug7PkZBCwG0l5pzkNJUtCsvwJ7fbBDRj3uc5bdgIgNTUL6zBo1NN+kh0TQGV9u5T/bF+fj33uhH40AQOSLzw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@buff-beacon-project%2fcurby-client@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":194651},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"bun":"./src/index.ts","node":"./dist/index.js","types":"./src/index.d.ts","import":"./dist/index.js","browser":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"70e36faa81801378d039dbea271ac37409f99651","scripts":{"dev":"tsup --watch","docs":"typedoc --out docs --exclude *.test.ts --plugin typedoc-plugin-markdown src","build":"tsup","release":"bunx bumpp --no-push","prepublishOnly":"bun run build && bun run docs"},"_npmUser":{"name":"wellcaffeinated","email":"well.caffeinated@gmail.com"},"repository":{"url":"git+https://github.com/buff-beacon-project/curby-js-client.git","type":"git"},"_npmVersion":"10.8.2","description":"This is the official client library for the [CURBy Project](https://random.colorado.edu). It fetches and validates both the regular randomness chain and the DIRNG chain.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"jssha":"^3.3.1","itty-fetcher":"^0.9.4","streaming-iterables":"^8.0.1","@twine-protocol/twine-core":"^0.1.0","@buff-beacon-project/rand-utils":"^1.0.0","@twine-protocol/twine-http-store":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","typedoc":"^0.26.10","bun-types":"latest","typescript":"^5.4.2","@aryzing/bun-mock-fetch":"^0.2.2","typedoc-plugin-markdown":"^4.2.9"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/curby-client_1.0.0_1730519049993_0.03398619442618256","host":"s3://npm-registry-packages"}},"1.1.0":{"name":"@buff-beacon-project/curby-client","version":"1.1.0","keywords":["curby","twine","beacon","randomness"],"author":{"name":"Jasper Palfree","email":"jasper.palfree@colorado.edu"},"license":"MIT","_id":"@buff-beacon-project/curby-client@1.1.0","maintainers":[{"name":"wellcaffeinated","email":"well.caffeinated@gmail.com"}],"homepage":"https://random.colorado.edu","bugs":{"url":"https://github.com/buff-beacon-project/curby-js-client/issues"},"dist":{"shasum":"60bff884ee33546a4556134bd7db9b71c5f32bcb","tarball":"https://registry.npmjs.org/@buff-beacon-project/curby-client/-/curby-client-1.1.0.tgz","fileCount":18,"integrity":"sha512-528bBStNN9HSUwnO6yQEvb/UtTIIDvkDVWbqPWqlBvK6jhnyNHv8r2fcQvyooutKy+016mfPwLF4vf9le3d1NA==","signatures":[{"sig":"MEQCICrjb+rt9icOEGKot2RqyrTtc777+1w0UywgU0P2h/qxAiAlKXPh/CIg+XDa4k0Sv0yr+7fPdH5Z+QxNDkn3OJedJw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@buff-beacon-project%2fcurby-client@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":196555},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"bun":"./src/index.ts","node":"./dist/index.js","types":"./src/index.d.ts","import":"./dist/index.js","browser":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"a66d984f301cf986f3d63ed0a96c3b3cbe7f067a","scripts":{"dev":"tsup --watch","docs":"typedoc --out docs --exclude *.test.ts --plugin typedoc-plugin-markdown src","build":"tsup","release":"bunx bumpp --no-push","prepublishOnly":"bun run build && bun run docs"},"_npmUser":{"name":"wellcaffeinated","email":"well.caffeinated@gmail.com"},"repository":{"url":"git+https://github.com/buff-beacon-project/curby-js-client.git","type":"git"},"_npmVersion":"10.8.2","description":"This is the official client library for the [CURBy Project](https://random.colorado.edu). It fetches and validates both the regular randomness chain and the DIRNG chain.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"jssha":"^3.3.1","itty-fetcher":"^0.9.4","streaming-iterables":"^8.0.1","@twine-protocol/twine-core":"^0.1.0","@buff-beacon-project/rand-utils":"^1.0.0","@twine-protocol/twine-http-store":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","typedoc":"^0.26.10","bun-types":"latest","typescript":"^5.4.2","@aryzing/bun-mock-fetch":"^0.2.2","typedoc-plugin-markdown":"^4.2.9"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/curby-client_1.1.0_1731018227918_0.6760860428611168","host":"s3://npm-registry-packages"}},"1.1.1":{"name":"@buff-beacon-project/curby-client","version":"1.1.1","keywords":["curby","twine","beacon","randomness"],"author":{"name":"Jasper Palfree","email":"jasper.palfree@colorado.edu"},"license":"MIT","_id":"@buff-beacon-project/curby-client@1.1.1","maintainers":[{"name":"wellcaffeinated","email":"well.caffeinated@gmail.com"}],"homepage":"https://random.colorado.edu","bugs":{"url":"https://github.com/buff-beacon-project/curby-js-client/issues"},"dist":{"shasum":"3c049e21116e92e95e7c4a96c97c5b76e4869add","tarball":"https://registry.npmjs.org/@buff-beacon-project/curby-client/-/curby-client-1.1.1.tgz","fileCount":18,"integrity":"sha512-SitQ3hW246FDQif0iUacExU3+XhP/msxY2wuDWbU6qrCd8VR54vfdABmoXkvGicKnsrroSEiNhou1EpwusPazg==","signatures":[{"sig":"MEQCICSYghPV5/StNoZReQEcL0Z6wTknA5WARr8RIYm8ML42AiBD/xB0Sd/gZ3/9awXrIDk8k1ECerSI201NgbGkEe43dQ==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@buff-beacon-project%2fcurby-client@1.1.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":196777},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"bun":"./src/index.ts","node":"./dist/index.js","types":"./src/index.d.ts","import":"./dist/index.js","browser":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"e85b824d126d92d22842a10bef1c81bb4fdd007c","scripts":{"dev":"tsup --watch","docs":"typedoc --out docs --exclude *.test.ts --plugin typedoc-plugin-markdown src","build":"tsup","release":"bunx bumpp --no-push","prepublishOnly":"bun run build && bun run docs"},"_npmUser":{"name":"wellcaffeinated","email":"well.caffeinated@gmail.com"},"repository":{"url":"git+https://github.com/buff-beacon-project/curby-js-client.git","type":"git"},"_npmVersion":"10.8.2","description":"This is the official client library for the [CURBy Project](https://random.colorado.edu). It fetches and validates both the regular randomness chain and the DIRNG chain.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"jssha":"^3.3.1","itty-fetcher":"^0.9.4","streaming-iterables":"^8.0.1","@twine-protocol/twine-core":"^0.1.0","@buff-beacon-project/rand-utils":"^1.0.0","@twine-protocol/twine-http-store":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","typedoc":"^0.26.10","bun-types":"latest","typescript":"^5.4.2","@aryzing/bun-mock-fetch":"^0.2.2","typedoc-plugin-markdown":"^4.2.9"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/curby-client_1.1.1_1731096144321_0.3754716959993525","host":"s3://npm-registry-packages"}},"1.1.2":{"name":"@buff-beacon-project/curby-client","version":"1.1.2","keywords":["curby","twine","beacon","randomness"],"author":{"name":"Jasper Palfree","email":"jasper.palfree@colorado.edu"},"license":"MIT","_id":"@buff-beacon-project/curby-client@1.1.2","maintainers":[{"name":"wellcaffeinated","email":"well.caffeinated@gmail.com"}],"homepage":"https://random.colorado.edu","bugs":{"url":"https://github.com/buff-beacon-project/curby-js-client/issues"},"dist":{"shasum":"8d35df54a13fa5ca155f88f267936094703faca9","tarball":"https://registry.npmjs.org/@buff-beacon-project/curby-client/-/curby-client-1.1.2.tgz","fileCount":18,"integrity":"sha512-KvF12QXpiRHgwuioh41hCVZFiB3UeVCzk2oUvNSSfIucchbDfwvPlqpnKD1bVdSmpsfbHYpOvLZ0HtaUEsW7Rg==","signatures":[{"sig":"MEUCIQDiU50AauSb2xph3ezC0MwzKnrqN5OaiDiic41OFPERZwIgA4SHoZ9CqLuOuZ8rxo6nQ/PXvnR6Vp/e7v5lEA6UC94=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@buff-beacon-project%2fcurby-client@1.1.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":198094},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"bun":"./src/index.ts","node":"./dist/index.js","types":"./src/index.d.ts","import":"./dist/index.js","browser":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"ce0e851c9bd9e50ac8f84d3519f029bd8ad289d0","scripts":{"dev":"tsup --watch","docs":"typedoc --out docs --exclude *.test.ts --plugin typedoc-plugin-markdown src","build":"tsup","release":"bunx bumpp --no-push","prepublishOnly":"bun run build && bun run docs"},"_npmUser":{"name":"wellcaffeinated","email":"well.caffeinated@gmail.com"},"repository":{"url":"git+https://github.com/buff-beacon-project/curby-js-client.git","type":"git"},"_npmVersion":"10.8.2","description":"This is the official client library for the [CURBy Project](https://random.colorado.edu). It fetches and validates both the regular randomness chain and the DIRNG chain.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"jssha":"^3.3.1","itty-fetcher":"^0.9.4","streaming-iterables":"^8.0.1","@twine-protocol/twine-core":"^0.1.0","@buff-beacon-project/rand-utils":"^1.0.0","@twine-protocol/twine-http-store":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","typedoc":"^0.26.10","bun-types":"latest","typescript":"^5.4.2","@aryzing/bun-mock-fetch":"^0.2.2","typedoc-plugin-markdown":"^4.2.9"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/curby-client_1.1.2_1731098431199_0.36268563890547467","host":"s3://npm-registry-packages"}},"1.1.3":{"name":"@buff-beacon-project/curby-client","version":"1.1.3","keywords":["curby","twine","beacon","randomness"],"author":{"name":"Jasper Palfree","email":"jasper.palfree@colorado.edu"},"license":"MIT","_id":"@buff-beacon-project/curby-client@1.1.3","maintainers":[{"name":"wellcaffeinated","email":"well.caffeinated@gmail.com"}],"homepage":"https://random.colorado.edu","bugs":{"url":"https://github.com/buff-beacon-project/curby-js-client/issues"},"dist":{"shasum":"350a4688e87952a6ad0bf28e4cd3abe3089beddf","tarball":"https://registry.npmjs.org/@buff-beacon-project/curby-client/-/curby-client-1.1.3.tgz","fileCount":18,"integrity":"sha512-AME4M3uGLFuT+P4PA7k5/ignBCyS5Geeg0IywecfNioDF50j2/bUxM88TIV92ybteP36qKsbg9rc2yWTDdJbhw==","signatures":[{"sig":"MEUCIAff1sMcGuxJhfJNqkFXuZybwRPNHds8MKuwXwqhrKCzAiEAktDT345n/4KPSqdYhi+M5G4arGuV4NGbE9s6L21C/ZM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@buff-beacon-project%2fcurby-client@1.1.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":198112},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"bun":"./src/index.ts","node":"./dist/index.js","types":"./src/index.d.ts","import":"./dist/index.js","browser":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"ad263e3f2ef194a96a0a2fa193e82c0d10bbd65c","scripts":{"dev":"tsup --watch","docs":"typedoc --out docs --exclude *.test.ts --plugin typedoc-plugin-markdown src","build":"tsup","release":"bunx bumpp --no-push","prepublishOnly":"bun run build && bun run docs"},"_npmUser":{"name":"wellcaffeinated","email":"well.caffeinated@gmail.com"},"repository":{"url":"git+https://github.com/buff-beacon-project/curby-js-client.git","type":"git"},"_npmVersion":"10.8.2","description":"This is the official client library for the [CURBy Project](https://random.colorado.edu). It fetches and validates both the regular randomness chain and the DIRNG chain.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"jssha":"^3.3.1","itty-fetcher":"^0.9.4","streaming-iterables":"^8.0.1","@twine-protocol/twine-core":"^0.1.0","@buff-beacon-project/rand-utils":"^1.0.0","@twine-protocol/twine-http-store":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","typedoc":"^0.26.10","bun-types":"latest","typescript":"^5.4.2","@aryzing/bun-mock-fetch":"^0.2.2","typedoc-plugin-markdown":"^4.2.9"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/curby-client_1.1.3_1731099468509_0.46769581649952685","host":"s3://npm-registry-packages"}},"1.1.4":{"name":"@buff-beacon-project/curby-client","version":"1.1.4","keywords":["curby","twine","beacon","randomness"],"author":{"name":"Jasper Palfree","email":"jasper.palfree@colorado.edu"},"license":"MIT","_id":"@buff-beacon-project/curby-client@1.1.4","maintainers":[{"name":"wellcaffeinated","email":"well.caffeinated@gmail.com"}],"homepage":"https://random.colorado.edu","bugs":{"url":"https://github.com/buff-beacon-project/curby-js-client/issues"},"dist":{"shasum":"968870454d0f1e25fed8118f5e3c96d4eec28d84","tarball":"https://registry.npmjs.org/@buff-beacon-project/curby-client/-/curby-client-1.1.4.tgz","fileCount":18,"integrity":"sha512-skPkgBMV8PqhkSSz3RACUcHKy3oOKJe1XNpylizokK6AHo+EzqF2lwXxqFL3p85pAhXhl3B0ekUyRe7umsnBBw==","signatures":[{"sig":"MEUCIFztOxM/gx4wNOV521ra2W8pj03+9ycN0ypBpAko2882AiEAlrFlzSw6n2JqAU0v5+MuCPn/yLMSvqJSBtFfpnWVhX0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@buff-beacon-project%2fcurby-client@1.1.4","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":198148},"main":"./dist/index.js","type":"module","types":"./dist/index.d.ts","module":"./dist/index.mjs","exports":{".":{"bun":"./src/index.ts","node":"./dist/index.js","types":"./src/index.d.ts","import":"./dist/index.js","browser":"./dist/index.js","default":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"07a2ea08c8e0ca63b47f1d08219657d53af485a2","scripts":{"dev":"tsup --watch","docs":"typedoc --out docs --exclude *.test.ts --plugin typedoc-plugin-markdown src","build":"tsup","release":"bunx bumpp --no-push","prepublishOnly":"bun run build && bun run docs"},"_npmUser":{"name":"wellcaffeinated","email":"well.caffeinated@gmail.com"},"repository":{"url":"git+https://github.com/buff-beacon-project/curby-js-client.git","type":"git"},"_npmVersion":"10.8.2","description":"This is the official client library for the [CURBy Project](https://random.colorado.edu). It fetches and validates both the regular randomness chain and the DIRNG chain.","directories":{},"_nodeVersion":"20.18.0","dependencies":{"jssha":"^3.3.1","itty-fetcher":"^0.9.4","streaming-iterables":"^8.0.1","@twine-protocol/twine-core":"^0.1.0","@buff-beacon-project/rand-utils":"^1.0.0","@twine-protocol/twine-http-store":"^0.1.0"},"_hasShrinkwrap":false,"devDependencies":{"tsup":"^8.3.0","typedoc":"^0.26.10","bun-types":"latest","typescript":"^5.4.2","@aryzing/bun-mock-fetch":"^0.2.2","typedoc-plugin-markdown":"^4.2.9"},"peerDependencies":{},"_npmOperationalInternal":{"tmp":"tmp/curby-client_1.1.4_1731100642523_0.7576157569218438","host":"s3://npm-registry-packages"}},"1.2.0":{"name":"@buff-beacon-project/curby-client","main":"./dist/index.js","module":"./dist/index.mjs","version":"1.2.0","type":"module","exports":{".":{"default":"./dist/index.js","browser":"./dist/index.js","require":"./dist/index.cjs","import":"./dist/index.js","node":"./dist/index.js","bun":"./src/index.ts","types":"./src/index.d.ts"}},"author":{"name":"Jasper Palfree","email":"jasper.palfree@colorado.edu"},"license":"MIT","keywords":["curby","twine","beacon","randomness"],"homepage":"https://random.colorado.edu","bugs":{"url":"https://github.com/buff-beacon-project/curby-js-client/issues"},"repository":{"type":"git","url":"git+https://github.com/buff-beacon-project/curby-js-client.git"},"scripts":{"build":"tsup","dev":"tsup --watch","docs":"typedoc --out docs --exclude *.test.ts --plugin typedoc-plugin-markdown src","prepublishOnly":"bun run build && bun run docs","release":"bunx bumpp --no-push"},"devDependencies":{"@aryzing/bun-mock-fetch":"^0.2.2","bun-types":"latest","tsup":"^8.3.0","typedoc":"^0.26.10","typedoc-plugin-markdown":"^4.2.9","typescript":"^5.4.2"},"peerDependencies":{},"dependencies":{"@buff-beacon-project/rand-utils":"^1.0.0","@twine-protocol/twine-core":"^0.1.0","@twine-protocol/twine-http-store":"^0.1.0","itty-fetcher":"^0.9.4","jssha":"^3.3.1","streaming-iterables":"^8.0.1"},"_id":"@buff-beacon-project/curby-client@1.2.0","gitHead":"95397f5e9fcc8ad57ef410c54473862e0b83bc59","types":"./dist/index.d.ts","description":"This is the official client library for the [CURBy Project](https://random.colorado.edu). It fetches and validates both the regular randomness chain and the DIRNG chain.","_nodeVersion":"20.18.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-ONF14dCB5n38rwhO/w7NxUp48e3Ge4idMbR65401Z47KjgLDSAnGU2WXFmvWHus7Ky+6N8dmlDi68HGOi1SUTQ==","shasum":"33ec590015ff7d8d507846e570998b8d22a8116a","tarball":"https://registry.npmjs.org/@buff-beacon-project/curby-client/-/curby-client-1.2.0.tgz","fileCount":18,"unpackedSize":205393,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@buff-beacon-project%2fcurby-client@1.2.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCWmA1gKH3GYNcJMpqPABjpBWRyXqt4KmSZqou7XKyLtQIgT3b76jPJELZuFAj+k7aKuDGvHD+KTM2V7yJX022ily8="}]},"_npmUser":{"name":"wellcaffeinated","email":"well.caffeinated@gmail.com"},"directories":{},"maintainers":[{"name":"wellcaffeinated","email":"well.caffeinated@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/curby-client_1.2.0_1732315810762_0.7105548824987391"},"_hasShrinkwrap":false}},"time":{"created":"2024-11-02T03:44:09.888Z","modified":"2024-11-22T22:50:11.347Z","1.0.0":"2024-11-02T03:44:10.190Z","1.1.0":"2024-11-07T22:23:48.137Z","1.1.1":"2024-11-08T20:02:24.558Z","1.1.2":"2024-11-08T20:40:31.452Z","1.1.3":"2024-11-08T20:57:48.785Z","1.1.4":"2024-11-08T21:17:22.842Z","1.2.0":"2024-11-22T22:50:10.941Z"},"bugs":{"url":"https://github.com/buff-beacon-project/curby-js-client/issues"},"author":{"name":"Jasper Palfree","email":"jasper.palfree@colorado.edu"},"license":"MIT","homepage":"https://random.colorado.edu","keywords":["curby","twine","beacon","randomness"],"repository":{"type":"git","url":"git+https://github.com/buff-beacon-project/curby-js-client.git"},"description":"This is the official client library for the [CURBy Project](https://random.colorado.edu). It fetches and validates both the regular randomness chain and the DIRNG chain.","maintainers":[{"name":"wellcaffeinated","email":"well.caffeinated@gmail.com"}],"readme":"# CURBy JavaScript Client\n\nThis is the official client library for the [CURBy Project](https://random.colorado.edu). It fetches and validates both the regular randomness chain and the DIRNG chain.\n\n## Quickstart\n\n```sh\nnpm install @buff-beacon-project/curby-client\n```\n\n```js\nimport { Client, DIRNGClient } from '@buff-beacon-project/curby-client'\n\nconst client = Client.create()\nconst randomness = await client.randomness()\nconst myArray = [1, 2, 3, 4, 5]\nconst shuffled = randomness.shuffled(myArray)\n// shuffled = [3, 4, 2, 5, 1]\n\nconst dirng = DIRNGClient.create()\nconst latest = await dirng.latest()\nconsole.log(`Got info for round ${latest.round}. Stage is ${latest.stage}`)\n```\n\n## Documentation\n\n- [API Documentation](https://curby.gitbook.io/curby-js-client)\n- [CURBy Documentation](https://random.colorado.edu/)\n","readmeFilename":"README.md"}