{"id":16625470,"url":"https://github.com/aleclarson/is-open-comment","last_synced_at":"2025-04-05T00:43:20.254Z","repository":{"id":57277465,"uuid":"111943038","full_name":"aleclarson/is-open-comment","owner":"aleclarson","description":"Returns true if a string has an unclosed comment","archived":false,"fork":false,"pushed_at":"2018-12-15T09:55:59.000Z","size":8,"stargazers_count":1,"open_issues_count":3,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-10T09:11:33.715Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aleclarson.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":"2017-11-24T17:41:38.000Z","updated_at":"2018-12-05T22:13:08.000Z","dependencies_parsed_at":"2022-08-25T00:10:33.059Z","dependency_job_id":null,"html_url":"https://github.com/aleclarson/is-open-comment","commit_stats":null,"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fis-open-comment","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fis-open-comment/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fis-open-comment/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aleclarson%2Fis-open-comment/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aleclarson","download_url":"https://codeload.github.com/aleclarson/is-open-comment/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247271492,"owners_count":20911586,"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-10-12T04:05:48.618Z","updated_at":"2025-04-05T00:43:20.225Z","avatar_url":"https://github.com/aleclarson.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# is-open-comment v0.1.1\n\nReturns `true` if a string opens a comment without closing it.\n\n- No runtime dependencies.\n- Comment syntax within a string literal causes a false positive.\n\n```js\nconst isOpenComment = require('is-open-comment')\n\nisOpenComment('//')       // =\u003e true\nisOpenComment('/*')       // =\u003e true\nisOpenComment('/* // */') // =\u003e false\nisOpenComment('/* \\n')    // =\u003e true\nisOpenComment('// \\n')    // =\u003e false\n```\n\nLook at `test.js` for all supported edge cases.\n\n### Tests\n\n```sh\n# Install dev dependencies.\nnpm i\n\n# Run the tests once.\n./test.js -v\n\n# Run the tests when a file changes.\n./test.js -w -v\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleclarson%2Fis-open-comment","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faleclarson%2Fis-open-comment","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faleclarson%2Fis-open-comment/lists"}