{"id":25990423,"url":"https://github.com/harshdoesdev/extractmentions","last_synced_at":"2026-07-08T15:31:23.409Z","repository":{"id":115536365,"uuid":"280353924","full_name":"harshdoesdev/extractMentions","owner":"harshdoesdev","description":"Extract @mentions from a given string","archived":false,"fork":false,"pushed_at":"2020-07-17T07:46:30.000Z","size":21,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-29T04:28:37.233Z","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":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/harshdoesdev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-07-17T07:12:35.000Z","updated_at":"2020-07-17T07:42:03.000Z","dependencies_parsed_at":null,"dependency_job_id":"7925944e-78b7-4bd2-9509-15aef178010e","html_url":"https://github.com/harshdoesdev/extractMentions","commit_stats":null,"previous_names":["harshdoesdev/extractmentions"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/harshdoesdev/extractMentions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshdoesdev%2FextractMentions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshdoesdev%2FextractMentions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshdoesdev%2FextractMentions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshdoesdev%2FextractMentions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harshdoesdev","download_url":"https://codeload.github.com/harshdoesdev/extractMentions/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harshdoesdev%2FextractMentions/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":35270196,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-07-08T02:00:06.796Z","response_time":61,"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":[],"created_at":"2025-03-05T13:54:38.878Z","updated_at":"2026-07-08T15:31:23.402Z","avatar_url":"https://github.com/harshdoesdev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# extractMentions\nExtract @mentions from a given string\n\nThis lib does not uses regex. it automatically handles punctuation marks like \".\" and \",\" etc.\n\n```javascript\n\nconst extractMentions = require('/path/to/extractMentions.js');\n\nlet str = `\n\n  hello @name, welcome to @delhi!\n  \n`;\n\nconsole.log(extractMentions(str)); // returns [{name: \"name\", index: 6}, {name: \"delhi\", index: 24}]\n\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshdoesdev%2Fextractmentions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharshdoesdev%2Fextractmentions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharshdoesdev%2Fextractmentions/lists"}