{"id":19503142,"url":"https://github.com/prettier-solidity/solidity-comments-extractor","last_synced_at":"2025-07-27T14:07:24.975Z","repository":{"id":53104800,"uuid":"313121634","full_name":"prettier-solidity/solidity-comments-extractor","owner":"prettier-solidity","description":"Extract comments from Solidity code","archived":false,"fork":false,"pushed_at":"2023-12-15T16:24:41.000Z","size":345,"stargazers_count":6,"open_issues_count":0,"forks_count":0,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-04-26T00:33:20.742Z","etag":null,"topics":["ethereum","prettier","prettier-plugin","solidity"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/prettier-solidity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-11-15T20:56:15.000Z","updated_at":"2025-03-30T00:47:29.000Z","dependencies_parsed_at":"2023-12-15T17:29:36.204Z","dependency_job_id":"b989ab27-e4f1-4fcf-9b93-12a9f73abef8","html_url":"https://github.com/prettier-solidity/solidity-comments-extractor","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/prettier-solidity/solidity-comments-extractor","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prettier-solidity%2Fsolidity-comments-extractor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prettier-solidity%2Fsolidity-comments-extractor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prettier-solidity%2Fsolidity-comments-extractor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prettier-solidity%2Fsolidity-comments-extractor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/prettier-solidity","download_url":"https://codeload.github.com/prettier-solidity/solidity-comments-extractor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/prettier-solidity%2Fsolidity-comments-extractor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267368889,"owners_count":24076089,"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-07-27T02:00:11.917Z","response_time":82,"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":["ethereum","prettier","prettier-plugin","solidity"],"created_at":"2024-11-10T22:19:47.636Z","updated_at":"2025-07-27T14:07:24.950Z","avatar_url":"https://github.com/prettier-solidity.png","language":"JavaScript","readme":"# solidity-comments-extractor\n\nExtract comments from Solidity code\n\n## How to\n\n```js\nconst expect = require('expect');\nconst extractComments = require('./index');\n\nconst code = `\n// this is a contract\ncontract Foo {\n}\n`;\n\nconst comments = extractComments(code);\n\nexpect(comments).toEqual([\n  {\n    range: [1, 22],\n    raw: ' this is a contract',\n    type: 'LineComment',\n    value: ' this is a contract'\n  }\n]);\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprettier-solidity%2Fsolidity-comments-extractor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprettier-solidity%2Fsolidity-comments-extractor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprettier-solidity%2Fsolidity-comments-extractor/lists"}