{"id":47950786,"url":"https://github.com/oscgu/lnrjs","last_synced_at":"2026-04-04T09:01:56.024Z","repository":{"id":63034059,"uuid":"562598860","full_name":"oscgu/lnrjs","owner":"oscgu","description":"A library to deal with lnr domains","archived":false,"fork":false,"pushed_at":"2022-11-11T12:50:01.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-19T21:01:06.513Z","etag":null,"topics":["domains","ethereum"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/oscgu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-11-06T20:38:05.000Z","updated_at":"2022-11-10T20:26:10.000Z","dependencies_parsed_at":"2022-11-11T13:06:13.343Z","dependency_job_id":null,"html_url":"https://github.com/oscgu/lnrjs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/oscgu/lnrjs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscgu%2Flnrjs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscgu%2Flnrjs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscgu%2Flnrjs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscgu%2Flnrjs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oscgu","download_url":"https://codeload.github.com/oscgu/lnrjs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oscgu%2Flnrjs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31393782,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-04T04:26:24.776Z","status":"ssl_error","status_checked_at":"2026-04-04T04:23:34.147Z","response_time":60,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["domains","ethereum"],"created_at":"2026-04-04T09:01:12.744Z","updated_at":"2026-04-04T09:01:56.009Z","avatar_url":"https://github.com/oscgu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lnrjs\n\n![npm](https://img.shields.io/npm/v/lnrjs)\n![npm bundle size](https://img.shields.io/bundlephobia/min/lnrjs)\n![npm](https://img.shields.io/npm/dw/lnrjs)\n\nA small react library with some useful hooks for dealing with LNR domains  \n\n## Installation\n\n`yarn add lnrjs`\n\n## Getting started\n\nYou can use the hooks as they are, if you dont mind the rate limit of the  \npublic provider being used. See below how to change that.  \n\n`_app.tsx`\n```typescript\nimport type { AppProps } from 'next/app'\nimport { LnrConfigProvider, LnrConfig } from \"lnrjs\";\n\nexport default function App({ Component, pageProps }: AppProps) {\n    const config: LnrConfig = {\n        provider: new ethers.providers.AlchemyProvider(1, \"your-api-key\")\n    };\n\n    return (\n        \u003cLnrConfigProvider config={config}\u003e\n            \u003cComponent {...pageProps} /\u003e\n        \u003c/LnrConfigProvider\u003e\n    )\n}\n```\n\n## Using the hooks\n\n\n```typescript\nimport { useLnrGetName, useLnrGetAddress } from \"lnrjs;\n\nconst { name } = useLnrGetName(\"0x...\");\nconst { address } = useLnrGetAddress(\"name.og\");\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscgu%2Flnrjs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foscgu%2Flnrjs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foscgu%2Flnrjs/lists"}