{"_id":"@book-effect/hardcover","_rev":"2-95779f4124648b412b90d9a580d568a3","name":"@book-effect/hardcover","dist-tags":{"latest":"0.2.3"},"versions":{"0.2.2":{"name":"@book-effect/hardcover","version":"0.2.2","_id":"@book-effect/hardcover@0.2.2","maintainers":[{"name":"kevinmichaelchen","email":"kevinmichaelchen@gmail.com"}],"homepage":"https://github.com/kevinmichaelchen/book-effect#readme","bugs":{"url":"https://github.com/kevinmichaelchen/book-effect/issues"},"dist":{"shasum":"d76b650285c378cf6f724897cb0fc0c4b5a96f69","tarball":"https://registry.npmjs.org/@book-effect/hardcover/-/hardcover-0.2.2.tgz","fileCount":6,"integrity":"sha512-BK1znCsRu7TvcQ9inDarmtBCZMOlklakAMnvQ7U1BhfF1t4kEwWOaJSJu5ZZmk03aPf3jVx5qCt8HiE0xhg+fQ==","signatures":[{"sig":"MEUCIEa8x7ffy8BaNHrWdL0VGSfjUeFyV1o/s5tzWW+UrYBNAiEAhI6h1oq3nf6frkk6aWbL5MED+D8Ul0ii5MstDk7RhI4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@book-effect%2fhardcover@0.2.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":35476},"main":"./dist/index.js","type":"module","_from":"file:book-effect-hardcover-0.2.2.tgz","types":"./dist/index.d.ts","module":"./dist/index.js","exports":{".":{"types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js","@book-effect/source":"./src/index.ts"},"./package.json":"./package.json"},"_npmUser":{"name":"kevinmichaelchen","email":"kevinmichaelchen@gmail.com"},"_resolved":"/tmp/8193f3d536b3957d705fb3cab52bd512/book-effect-hardcover-0.2.2.tgz","_integrity":"sha512-BK1znCsRu7TvcQ9inDarmtBCZMOlklakAMnvQ7U1BhfF1t4kEwWOaJSJu5ZZmk03aPf3jVx5qCt8HiE0xhg+fQ==","repository":{"url":"git+https://github.com/kevinmichaelchen/book-effect.git","type":"git","directory":"packages/hardcover"},"_npmVersion":"10.9.4","description":"[Effect][effect]-based client for the [Hardcover API][hardcover-api].","directories":{},"_nodeVersion":"22.21.1","dependencies":{"effect":"^3.12.0","@effect/platform":"^0.77.0","@book-effect/core":"0.2.2"},"publishConfig":{"access":"public"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/hardcover_0.2.2_1764298186066_0.2150623734879027","host":"s3://npm-registry-packages-npm-production"}},"0.2.3":{"name":"@book-effect/hardcover","version":"0.2.3","type":"module","repository":{"type":"git","url":"git+https://github.com/kevinmichaelchen/book-effect.git","directory":"packages/hardcover"},"main":"./dist/index.js","module":"./dist/index.js","types":"./dist/index.d.ts","exports":{"./package.json":"./package.json",".":{"@book-effect/source":"./src/index.ts","types":"./dist/index.d.ts","import":"./dist/index.js","default":"./dist/index.js"}},"dependencies":{"@effect/platform":"^0.77.0","effect":"^3.12.0","@book-effect/core":"0.2.3"},"publishConfig":{"access":"public"},"_id":"@book-effect/hardcover@0.2.3","description":"[Effect][effect]-based client for the [Hardcover API][hardcover-api].","bugs":{"url":"https://github.com/kevinmichaelchen/book-effect/issues"},"homepage":"https://github.com/kevinmichaelchen/book-effect#readme","_integrity":"sha512-4ZhtF7gdA3KdtRwJS5ebNOny7n0ZXOVSQqTY2756l5e6TI442VDvl7mQi6UC0/k2tQeasDFA1O0FQaIIgUyjUg==","_resolved":"/tmp/557207dca958fa1d71e4fe923f397c76/book-effect-hardcover-0.2.3.tgz","_from":"file:book-effect-hardcover-0.2.3.tgz","_nodeVersion":"22.21.1","_npmVersion":"10.9.4","dist":{"integrity":"sha512-4ZhtF7gdA3KdtRwJS5ebNOny7n0ZXOVSQqTY2756l5e6TI442VDvl7mQi6UC0/k2tQeasDFA1O0FQaIIgUyjUg==","shasum":"ad42cc2ba95caa696e486e38b2d105ca6c79f371","tarball":"https://registry.npmjs.org/@book-effect/hardcover/-/hardcover-0.2.3.tgz","fileCount":6,"unpackedSize":35476,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@book-effect%2fhardcover@0.2.3","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEYCIQDGcUvAhPKSQwJ/KyvjdM+UzMLxokq+tUdm/0OaPIk3ogIhALz8UTaEFKXjl8gUAUFO74iT7qJdVLRm7WkV/T3IUhS9"}]},"_npmUser":{"name":"kevinmichaelchen","email":"kevinmichaelchen@gmail.com"},"directories":{},"maintainers":[{"name":"kevinmichaelchen","email":"kevinmichaelchen@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/hardcover_0.2.3_1764299366240_0.8859700918947007"},"_hasShrinkwrap":false}},"time":{"created":"2025-11-28T02:49:45.941Z","modified":"2025-11-28T03:09:26.818Z","0.2.2":"2025-11-28T02:49:46.266Z","0.2.3":"2025-11-28T03:09:26.428Z"},"bugs":{"url":"https://github.com/kevinmichaelchen/book-effect/issues"},"homepage":"https://github.com/kevinmichaelchen/book-effect#readme","repository":{"type":"git","url":"git+https://github.com/kevinmichaelchen/book-effect.git","directory":"packages/hardcover"},"description":"[Effect][effect]-based client for the [Hardcover API][hardcover-api].","maintainers":[{"name":"kevinmichaelchen","email":"kevinmichaelchen@gmail.com"}],"readme":"# @book-effect/hardcover\n\n[Effect][effect]-based client for the [Hardcover API][hardcover-api].\n\nHardcover provides a documented, key-based GraphQL API that exposes rich book\nmetadata including title, authors, published year, tags, and ratings.\n\n## Installation\n\n```sh\npnpm add @book-effect/hardcover\n```\n\n## Usage\n\n```typescript\nimport { HardcoverClient, HardcoverConfig } from \"@book-effect/hardcover\";\nimport { FetchHttpClient } from \"@effect/platform\";\nimport { Effect } from \"effect\";\n\nconst program = Effect.gen(function* () {\n  const client = yield* HardcoverClient;\n  const book = yield* client.getByIsbn(\"9780134757599\");\n  const results = yield* client.search(\"Domain Driven Design\");\n  return { book, results };\n});\n\nEffect.runPromise(\n  program.pipe(\n    Effect.provide(HardcoverClient.Live),\n    Effect.provide(HardcoverConfig.FromEnv), // reads HARDCOVER_API_KEY\n    Effect.provide(FetchHttpClient.layer),\n  ),\n);\n```\n\n## Building\n\n```sh\nnx build hardcover\n```\n\n## Resources\n\n- [Hardcover API Documentation][hardcover-docs]\n- [Leveraging Hardcover API][hardcover-blog]\n- [Hardcover Book API Guide][hardcover-guide]\n\n[effect]: https://effect.website\n[hardcover-api]: https://hardcover.app\n[hardcover-docs]: https://github.com/hardcoverapp/hardcover-docs\n[hardcover-blog]:\n  http://bookclub.wiselapwing.co.uk/blog/leveraging-hardcover-api\n[hardcover-guide]: https://www.emgoto.com/hardcover-book-api/\n","readmeFilename":"README.md"}