{"id":22974152,"url":"https://github.com/diversen/remove-comments-regex","last_synced_at":"2025-04-02T07:25:07.958Z","repository":{"id":57353289,"uuid":"115790695","full_name":"diversen/remove-comments-regex","owner":"diversen","description":"Remove comments from a string using javascript using a regex","archived":false,"fork":false,"pushed_at":"2017-12-30T10:55:42.000Z","size":2,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-09T16:37:46.393Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/diversen.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}},"created_at":"2017-12-30T10:51:00.000Z","updated_at":"2018-09-25T02:33:47.000Z","dependencies_parsed_at":"2022-09-18T23:23:21.492Z","dependency_job_id":null,"html_url":"https://github.com/diversen/remove-comments-regex","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fremove-comments-regex","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fremove-comments-regex/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fremove-comments-regex/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/diversen%2Fremove-comments-regex/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/diversen","download_url":"https://codeload.github.com/diversen/remove-comments-regex/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246771749,"owners_count":20831095,"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","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":[],"created_at":"2024-12-15T00:00:24.218Z","updated_at":"2025-04-02T07:25:07.936Z","avatar_url":"https://github.com/diversen.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# remove-comments\n\nRemove comments from a string using a regex\n\nThis means comments are removed in a primitive way\n\n## Install\n\n    npm install --save remove-comments-regex\n\n## Usage\n\n    var removeComments = require('remove-comments-regex')\n    var noComments = removeComments(someStr)\n\n## Usage CLI\n\n    npm install -g remove-comments-regex\n    remove-comments-regex test.txt \u003e test-no-comments.txt\n\n## See \n\nUses this regex: https://stackoverflow.com/a/15123777/464549\n\n## License\n\nMIT © [Dennis Iversen](https://github.com/diversen)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Fremove-comments-regex","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdiversen%2Fremove-comments-regex","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdiversen%2Fremove-comments-regex/lists"}