{"id":28458216,"url":"https://github.com/solidstate-network/hardhat-log-remover","last_synced_at":"2025-10-10T14:05:28.167Z","repository":{"id":44559323,"uuid":"294860058","full_name":"solidstate-network/hardhat-log-remover","owner":"solidstate-network","description":"Remove Hardhat console.log imports and calls from Solidity source files 🪓","archived":false,"fork":false,"pushed_at":"2025-09-18T18:10:09.000Z","size":515,"stargazers_count":13,"open_issues_count":2,"forks_count":4,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-10-03T07:14:26.679Z","etag":null,"topics":["blockchain","buidler","console","console-log","ethereum","hardhat","log","smart-contracts","solidity","wow"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/solidstate-network.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2020-09-12T03:11:17.000Z","updated_at":"2025-09-18T18:10:13.000Z","dependencies_parsed_at":"2025-04-11T11:52:17.917Z","dependency_job_id":"e9bc26d8-0563-48c4-898f-ae0b74744ce4","html_url":"https://github.com/solidstate-network/hardhat-log-remover","commit_stats":null,"previous_names":["itsnickbarry/buidler-log-remover","solidstate-network/hardhat-log-remover","itsnickbarry/hardhat-log-remover"],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/solidstate-network/hardhat-log-remover","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidstate-network%2Fhardhat-log-remover","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidstate-network%2Fhardhat-log-remover/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidstate-network%2Fhardhat-log-remover/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidstate-network%2Fhardhat-log-remover/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/solidstate-network","download_url":"https://codeload.github.com/solidstate-network/hardhat-log-remover/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/solidstate-network%2Fhardhat-log-remover/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279004187,"owners_count":26083688,"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-10T02:00:06.843Z","response_time":62,"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":["blockchain","buidler","console","console-log","ethereum","hardhat","log","smart-contracts","solidity","wow"],"created_at":"2025-06-07T00:10:26.859Z","updated_at":"2025-10-10T14:05:28.163Z","avatar_url":"https://github.com/solidstate-network.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Hardhat Log Remover\n\nRemove Hardhat `console.log` imports and calls from Solidity source code.\n\nThis plugin is intended in part to keep version-controlled code free of log statements. To remove logs from compiled contracts while preserving them in source code, see [hardhat-preprocessor](https://github.com/wighawag/hardhat-preprocessor).\n\n\u003e Versions of this plugin prior to `3.0.0` were released as `hardhat-log-remover`, outside of the `@solidstate` namespace.\n\n\u003e Versions of this plugin prior to `2.0.0` were released as `buidler-log-remover`.\n\n## Installation\n\n```bash\nnpm install --save-dev @solidstate/hardhat-log-remover\n# or\npnpm add -D @solidstate/hardhat-log-remover\n```\n\n## Usage\n\nLoad plugin in Hardhat config:\n\n```javascript\nimport hardhatLogRemover from '@solidstate/hardhat-log-remover';\n\nconst config: HardhatUserConfig = {\n  plugins: [\n    hardhatLogRemover,\n  ],\n};\n```\n\nRun the Hardhat task manually:\n\n```bash\nnpx hardhat remove-logs\n```\n\n# or\n\n```bash\npnpm hardhat remove-logs\n```\n\nBefore removing logs, the plugin will ensure that all contracts can be compiled successfully.\n\n## Development\n\nInstall dependencies via pnpm:\n\n```bash\npnpm install\n```\n\nSetup Husky to format code on commit:\n\n```bash\npnpm prepare\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidstate-network%2Fhardhat-log-remover","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsolidstate-network%2Fhardhat-log-remover","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsolidstate-network%2Fhardhat-log-remover/lists"}