{"_id":"@aniruddh-wt/wt-dwarf-client","name":"@aniruddh-wt/wt-dwarf-client","dist-tags":{"latest":"1.0.0"},"versions":{"1.0.0":{"name":"@aniruddh-wt/wt-dwarf-client","version":"1.0.0","description":"gRPC Dwarf node client.","main":"lib/index.js","scripts":{"test":"echo \"Error: no test specified\" && exit 1"},"author":{"name":"Aniruddh Agarwal"},"license":"ISC","dependencies":{"@grpc/grpc-js":"^1.14.0","@grpc/proto-loader":"^0.8.0"},"devDependencies":{"@types/node":"^20.11.30","typescript":"^5.9.3"},"directories":{"lib":"lib"},"repository":{"type":"git","url":"git+https://github.com/worktaps/wt-dwarf.git"},"bugs":{"url":"https://github.com/worktaps/wt-dwarf/issues"},"homepage":"https://github.com/worktaps/wt-dwarf#readme","_id":"@aniruddh-wt/wt-dwarf-client@1.0.0","gitHead":"427cf53fdf03c1c699408a784b6e4a5240bd7eeb","_nodeVersion":"20.19.0","_npmVersion":"10.8.2","dist":{"integrity":"sha512-0qNcrbMS41bvXgFOqKNAleQiTZccS66FkKc5hlI2tFDQXLdWXVHJc2YXX3K37TH2bZ87wHZZeLxj9oviPF3hNQ==","shasum":"3ce0b6270ba13a9cd6f6626f2060c04d134179f5","tarball":"https://registry.npmjs.org/@aniruddh-wt/wt-dwarf-client/-/wt-dwarf-client-1.0.0.tgz","fileCount":8,"unpackedSize":5566,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQCGBV+aFtCZgQ/uoJGVs/cXEwBGc1CU/JQtgm0vjnGwNQIgPI4fxuCMIGh3eOV2hOGM6zPdkIqhPPW9MCaDgSHO4lA="}]},"_npmUser":{"name":"aniruddh-wt","email":"aniruddh@worktaps.com"},"maintainers":[{"name":"aniruddh-wt","email":"aniruddh@worktaps.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/wt-dwarf-client_1.0.0_1760351460708_0.22806190006342075"},"_hasShrinkwrap":false}},"time":{"created":"2025-10-13T10:31:00.607Z","1.0.0":"2025-10-13T10:31:00.879Z","modified":"2025-10-13T10:31:01.123Z"},"maintainers":[{"name":"aniruddh-wt","email":"aniruddh@worktaps.com"}],"description":"gRPC Dwarf node client.","homepage":"https://github.com/worktaps/wt-dwarf#readme","repository":{"type":"git","url":"git+https://github.com/worktaps/wt-dwarf.git"},"author":{"name":"Aniruddh Agarwal"},"bugs":{"url":"https://github.com/worktaps/wt-dwarf/issues"},"license":"ISC","readme":"# gRPC client for Dwarf\n\nUse with [dwarf](https://github.com/LevInteractive/dwarf) microservice on a node web server.\nUse `DWARF_GRPC_SERVER` env var to set the gRPC server.\n\n```typescript\nimport { shorten } from \"dwarf-client\";\n\nasync function main() {\n  try {\n    const shortenedUrls = await shorten([\"http://google.com\", \"http://whatever.com\"]);\n    console.log(shortenedUrls); // -> { urls: [\"short-link-1\", \"short-link-2\"] }\n  } catch (err) {\n    console.error(err);\n  }\n}\n```\n","readmeFilename":"README.md","_rev":"1-ce8dbbeb56c20c0f08f390577c61cfc5"}