{"id":13792170,"url":"https://github.com/merklejerk/ez-ens","last_synced_at":"2025-10-26T08:04:51.508Z","repository":{"id":32768911,"uuid":"142075746","full_name":"merklejerk/ez-ens","owner":"merklejerk","description":"Simple, zero configuration Ethereum Name Service resolver.","archived":false,"fork":false,"pushed_at":"2022-12-10T17:22:26.000Z","size":460,"stargazers_count":18,"open_issues_count":8,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-20T17:04:55.917Z","etag":null,"topics":["async","await","easy","ens","es2017","ethereum","library","promise","simple","web3","zero-configuration"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/merklejerk.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":"2018-07-23T22:26:16.000Z","updated_at":"2024-05-23T03:27:11.000Z","dependencies_parsed_at":"2023-01-14T22:10:28.444Z","dependency_job_id":null,"html_url":"https://github.com/merklejerk/ez-ens","commit_stats":null,"previous_names":["cluracan/ez-ens"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/merklejerk/ez-ens","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merklejerk%2Fez-ens","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merklejerk%2Fez-ens/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merklejerk%2Fez-ens/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merklejerk%2Fez-ens/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/merklejerk","download_url":"https://codeload.github.com/merklejerk/ez-ens/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/merklejerk%2Fez-ens/sbom","scorecard":{"id":636986,"data":{"date":"2025-08-11","repo":{"name":"github.com/merklejerk/ez-ens","commit":"4d8759776ca1a07c0b9fa8e84127e5ec43547400"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":1.7,"checks":[{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Code-Review","score":0,"reason":"Found 0/18 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: Apache License 2.0: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":0,"reason":"47 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-v88g-cgmw-v5xw","Warn: Project is vulnerable to: GHSA-xq7p-g2vc-g82p","Warn: Project is vulnerable to: GHSA-qwcr-r2fm-qrc7","Warn: Project is vulnerable to: GHSA-x9w5-v3q2-3rhw","Warn: Project is vulnerable to: GHSA-pxg6-pf52-xh8x","Warn: Project is vulnerable to: GHSA-h452-7996-h45h","Warn: Project is vulnerable to: GHSA-w573-4hg7-7wgq","Warn: Project is vulnerable to: GHSA-vh7m-p724-62c2","Warn: Project is vulnerable to: GHSA-r9p9-mrjm-926w","Warn: Project is vulnerable to: GHSA-434g-2637-qmqr","Warn: Project is vulnerable to: GHSA-49q7-c7j4-3p7m","Warn: Project is vulnerable to: GHSA-977x-g7h5-7qgw","Warn: Project is vulnerable to: GHSA-f7q4-pwc6-w24p","Warn: Project is vulnerable to: GHSA-fc9h-whq2-v747","Warn: Project is vulnerable to: GHSA-vjh7-7g9h-fjfh","Warn: Project is vulnerable to: GHSA-4gmj-3p3h-gm8h","Warn: Project is vulnerable to: GHSA-rv95-896h-c2vc","Warn: Project is vulnerable to: GHSA-qw6h-vgh9-j6wx","Warn: Project is vulnerable to: GHSA-fjxv-7rqg-78g4","Warn: Project is vulnerable to: GHSA-pfrx-2q88-qq97","Warn: Project is vulnerable to: GHSA-rc47-6667-2j5j","Warn: Project is vulnerable to: GHSA-896r-f27r-55mw","Warn: Project is vulnerable to: GHSA-p6mc-m468-83gw","Warn: Project is vulnerable to: GHSA-29mw-wpgm-hmr9","Warn: Project is vulnerable to: GHSA-35jh-r3h4-6jhm","Warn: Project is vulnerable to: GHSA-xvch-5gv4-984h","Warn: Project is vulnerable to: GHSA-px4h-xg32-q955","Warn: Project is vulnerable to: GHSA-9wv6-86v2-598j","Warn: Project is vulnerable to: GHSA-rhx6-c78j-4q9w","Warn: Project is vulnerable to: GHSA-h7cp-r72f-jxh6","Warn: Project is vulnerable to: GHSA-v62p-rq8g-8h59","Warn: Project is vulnerable to: GHSA-hrpp-h998-j3pp","Warn: Project is vulnerable to: GHSA-p8p7-x288-28g6","Warn: Project is vulnerable to: GHSA-584q-6j8j-r5pm","Warn: Project is vulnerable to: GHSA-m6fv-jmcg-4jfg","Warn: Project is vulnerable to: GHSA-cm22-4g7w-348p","Warn: Project is vulnerable to: GHSA-wpg7-2c88-r8xv","Warn: Project is vulnerable to: GHSA-3jfq-g458-7qm9","Warn: Project is vulnerable to: GHSA-r628-mhmh-qjhw","Warn: Project is vulnerable to: GHSA-9r2w-394v-53qc","Warn: Project is vulnerable to: GHSA-5955-9wpr-37jh","Warn: Project is vulnerable to: GHSA-qq89-hq3f-393p","Warn: Project is vulnerable to: GHSA-f5x3-32g6-xq36","Warn: Project is vulnerable to: GHSA-72xf-g2v4-qvf3","Warn: Project is vulnerable to: GHSA-cf4h-3jhx-xvhq","Warn: Project is vulnerable to: GHSA-27v7-qhfv-rqq8","Warn: Project is vulnerable to: GHSA-3h5v-q93c-6h6q"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T09:28:17.484Z","repository_id":32768911,"created_at":"2025-08-21T09:28:17.484Z","updated_at":"2025-08-21T09:28:17.484Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280931376,"owners_count":26415714,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-10-25T02:00:06.499Z","response_time":81,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["async","await","easy","ens","es2017","ethereum","library","promise","simple","web3","zero-configuration"],"created_at":"2024-08-03T22:01:09.073Z","updated_at":"2025-10-26T08:04:51.480Z","avatar_url":"https://github.com/merklejerk.png","language":"JavaScript","funding_links":[],"categories":["Roadmap"],"sub_categories":[],"readme":"![npm package](https://badge.fury.io/js/ez-ens.svg)\n\n# ez-ens\nSimple, zero-configuration Ethereum Name Service resolver with promises.\n\nWorks on main, ropsten, and rinkeby Ethereum networks.\n\n## Installation\n```bash\nnpm install ez-ens\n# or\nyarn install ez-ens\n```\n\n## Sample Usage\n```js\nconst ens = require('ez-ens');\n// Resolve 'ethereum.eth' on the mainnet.\nawait ens.resolve('ethereum.eth') // '0xfB6916095ca1df60bB79Ce92cE3Ea74c37c5d359'\n// Resolve 'ethereum.eth' on ropsten.\nawait ens.resolve('ethereum.eth', {network: 'ropsten'});\n// Resolve 'ethereum.eth' using the provider at http://localhost:8545.\nawait ens.resolve('ethereum.eth', {providerURI: 'http://localhost:8545'});\n// Resolve 'ethereum.eth' using an existing web3 instance (lower overhead).\nawait ens.resolve('ethereum.eth', {web3: new Web3(...)});\n// Resolve 'ethereum.eth' on the mainnet at a specific block number.\nawait ens.resolve('ethereum.eth', {block: 3013041});\n// Resolve 'ethereum.eth' on the mainnet and override the TTL (cache duration).\nawait ens.resolve('ethereum.eth', {ttl: 3000});\n\n// Full resolve() options.\nens.resolve(ENS_ADDRESS, {\n\t// Manually specify how long, in ms, to keep the record in the cache.\n\t// If not set, the TTL specified by the registrar will be used.\n\tttl: Number,\n\t// Block number to evaluate the ENS record at. Defaults to latest.\n\tblock: Number,\n\t// Network to use. Either 'main', 'ropsten', or 'rinkeby'.\n\t// Defaults to 'main'\n\tnetwork: String,\n\t// Custom provider URI. May be an http://, https://, ws://, or IPC path.\n\tproviderURI: String,\n\t// If providerURI is an IPC path, set this to `require('net')`\n\tnet: Object,\n\t// Custom provider instance to use (e.g., web3.currentProvider)\n\tprovider: Object,\n\t// Custom Web3 instance to use. Lightest option if making lots of calls.\n\tweb3: Object,\n\t// Infura project ID, if not using a custom provider.\n\tinfuraKey: String\n});\n```\n\n## Resolver EIP support\nENS resolvers may implement [extension EIPs](https://docs.ens.domains/contract-api-reference/publicresolver), a few of which can be accessed through the following functions:\n\n- `ens.getTextRecord(name, key)`: [EIP-634](https://eips.ethereum.org/EIPS/eip-634) Text records.\n- `ens.getContentHash(name)`: [EIP-1577](https://eips.ethereum.org/EIPS/eip-1577) IPFS content hashes.\n- `ens.getBlockchainAddress(name)`: [EIP-2304](https://eips.ethereum.org/EIPS/eip-2304) Cross-blockchain support.\n- `ens.getCanonicalName(name)`: [EIP-181](https://eips.ethereum.org/EIPS/eip-181) Reverse resolution.\n\n## Minimum ENS cache duration\nOnce an address is resolved, the address will be cached for future calls.\nEach address record has a TTL, or time-to-live, defined, which specifies how long\nthe cache should be retained. However, many ENS registrations unintentionally\nleave the TTL at the default of `0`, which would imply no caching.\nSo, by default, cache TTLs are clamped to be at least one hour. You can\nconfigure this behavior yourself by setting the\n`ens.minTTL` property to the minimum number of *milliseconds* to\nkeep a cache entry. The maximum TTL can also be specified with the `ens.maxTTL`\nproperty.\n\n#### Example\n```js\nconst ens = require('ez-ens');\n// Set the minimum TTL to 10 seconds.\nens.minTTL = 10 * 1000;\n// Set the maximum TTL to 8 hours.\nens.maxTTL = 8 * 60 * 60 * 1000\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerklejerk%2Fez-ens","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmerklejerk%2Fez-ens","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmerklejerk%2Fez-ens/lists"}