{"id":18857670,"url":"https://github.com/portalnetwork/bns-client","last_synced_at":"2026-02-17T04:31:57.933Z","repository":{"id":44217575,"uuid":"201173941","full_name":"PortalNetwork/bns-client","owner":"PortalNetwork","description":"A javascript library for BNS","archived":false,"fork":false,"pushed_at":"2022-12-11T01:16:15.000Z","size":1827,"stargazers_count":2,"open_issues_count":14,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-09T15:51:38.928Z","etag":null,"topics":["blockchain","bns"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/bns-client","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/PortalNetwork.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-08-08T03:51:24.000Z","updated_at":"2019-09-10T05:46:34.000Z","dependencies_parsed_at":"2023-01-26T13:31:16.997Z","dependency_job_id":null,"html_url":"https://github.com/PortalNetwork/bns-client","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/PortalNetwork/bns-client","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PortalNetwork%2Fbns-client","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PortalNetwork%2Fbns-client/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PortalNetwork%2Fbns-client/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PortalNetwork%2Fbns-client/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/PortalNetwork","download_url":"https://codeload.github.com/PortalNetwork/bns-client/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/PortalNetwork%2Fbns-client/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29533702,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-17T03:01:11.216Z","status":"ssl_error","status_checked_at":"2026-02-17T03:00:31.803Z","response_time":100,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: 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":["blockchain","bns"],"created_at":"2024-11-08T04:07:34.955Z","updated_at":"2026-02-17T04:31:57.915Z","avatar_url":"https://github.com/PortalNetwork.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Blockchain Name Service Client\n\n`bns-client` is a javascript library to interact with all the BNS methods. It can help for creating client and server apps to connect with BNS.\n\n## Get Start\nUse this commands in the console:\n\n```\nnpm install bns-client\n```\n\nor use `\u003cscript\u003e\u003c/script\u003e` to import\n\n```html\n\u003cscript src=\"BNS.js\"\u003e\u003c/script\u003e\n```\n\n## Usage\n\n```javascript\nlet BNS = require('bns/lib/BNS').default;\nlet bns = new BNS(); \n```\n\nor \n\n```html\n\u003cscript\u003e\n  var BNS = require('BNS');\n\n  var bns = new BNS.default({\n    restURL: `https://mainnet.infura.io`,\n  });\n  bns.ENSRegistry.getOwner('facebook.eth').then(function(owner) {\n    document.getElementById(\"owner\").innerHTML = owner;\n  });\n\u003c/script\u003e\n````\n\n## Example for all methods\n\nPlease check [examples](./examples) for more information.\n\n## Contributing\nSee [CONTRIBUTING.md](./CONTRIBUTING.md) for how to help out.\n\n## Licence\nSee [LICENSE](./LICENSE) for details.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fportalnetwork%2Fbns-client","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fportalnetwork%2Fbns-client","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fportalnetwork%2Fbns-client/lists"}