{"id":18063011,"url":"https://github.com/stagas/match-to-token","last_synced_at":"2025-04-05T13:12:45.435Z","repository":{"id":57291861,"uuid":"424068300","full_name":"stagas/match-to-token","owner":"stagas","description":"transform a RegExp named group match to a more useful object","archived":false,"fork":false,"pushed_at":"2022-12-07T16:46:48.000Z","size":321,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2025-02-18T08:56:13.565Z","etag":null,"topics":["regexp","regexp-match"],"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/stagas.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":"2021-11-03T02:37:24.000Z","updated_at":"2023-03-08T04:01:58.000Z","dependencies_parsed_at":"2023-01-23T18:15:23.619Z","dependency_job_id":null,"html_url":"https://github.com/stagas/match-to-token","commit_stats":null,"previous_names":[],"tags_count":6,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stagas%2Fmatch-to-token","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stagas%2Fmatch-to-token/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stagas%2Fmatch-to-token/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stagas%2Fmatch-to-token/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stagas","download_url":"https://codeload.github.com/stagas/match-to-token/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247339160,"owners_count":20923014,"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":["regexp","regexp-match"],"created_at":"2024-10-31T05:09:08.940Z","updated_at":"2025-04-05T13:12:45.414Z","avatar_url":"https://github.com/stagas.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n\n\u003ch1\u003e\nmatch-to-token \u003ca href=\"https://npmjs.org/package/match-to-token\"\u003e\u003cimg src=\"https://img.shields.io/badge/npm-v3.1.0-F00.svg?colorA=000\"/\u003e\u003c/a\u003e \u003ca href=\"src\"\u003e\u003cimg src=\"https://img.shields.io/badge/loc-80-FFF.svg?colorA=000\"/\u003e\u003c/a\u003e \u003ca href=\"https://cdn.jsdelivr.net/npm/match-to-token@3.1.0/dist/match-to-token.min.js\"\u003e\u003cimg src=\"https://img.shields.io/badge/brotli-514b-333.svg?colorA=000\"/\u003e\u003c/a\u003e \u003ca href=\"LICENSE\"\u003e\u003cimg src=\"https://img.shields.io/badge/license-MIT-F0B.svg?colorA=000\"/\u003e\u003c/a\u003e\n\u003c/h1\u003e\n\n\u003cp\u003e\u003c/p\u003e\n\ntransform a RegExp named group match to a more useful object\n\n\u003ch4\u003e\n\u003ctable\u003e\u003ctr\u003e\u003ctd title=\"Triple click to select and copy paste\"\u003e\n\u003ccode\u003enpm i match-to-token \u003c/code\u003e\n\u003c/td\u003e\u003ctd title=\"Triple click to select and copy paste\"\u003e\n\u003ccode\u003epnpm add match-to-token \u003c/code\u003e\n\u003c/td\u003e\u003ctd title=\"Triple click to select and copy paste\"\u003e\n\u003ccode\u003eyarn add match-to-token\u003c/code\u003e\n\u003c/td\u003e\u003c/tr\u003e\u003c/table\u003e\n\u003c/h4\u003e\n\n\n## API\n\n\u003cp\u003e  \u003cdetails id=\"matchToToken$4\" title=\"Function\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#matchToToken$4\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003ematchToToken\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e(match)\u003c/em\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e    \u003cp\u003e    \u003cdetails id=\"match$6\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#match$6\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003ematch\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ccode\u003enull\u003c/code\u003e | \u003cspan\u003eRegExpMatchArray\u003c/span\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e  \u003cp\u003e\u003cstrong\u003ematchToToken\u003c/strong\u003e\u003cem\u003e(match)\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003e\u003ccode\u003enull\u003c/code\u003e | \u003ca href=\"#Token$18\"\u003eToken\u003c/a\u003e\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"RegExpToken$7\" title=\"Class\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#RegExpToken$7\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eRegExpToken\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e        \u003cp\u003e  \u003cdetails id=\"constructor$8\" title=\"Constructor\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#constructor$8\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003econstructor\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e(pattern)\u003c/em\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e    \u003cp\u003e  \u003cdetails id=\"new RegExpToken$9\" title=\"ConstructorSignature\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#new RegExpToken$9\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003enew RegExpToken\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e()\u003c/em\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ca href=\"#RegExpToken$7\"\u003eRegExpToken\u003c/a\u003e\u003c/p\u003e      \u003cp\u003e  \u003cdetails id=\"pattern$10\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#pattern$10\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003epattern\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003estring | \u003cspan\u003eRegExp\u003c/span\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e  \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"new RegExpToken$11\" title=\"ConstructorSignature\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#new RegExpToken$11\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003enew RegExpToken\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e()\u003c/em\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ca href=\"#RegExpToken$7\"\u003eRegExpToken\u003c/a\u003e\u003c/p\u003e      \u003cp\u003e  \u003cdetails id=\"pattern$12\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#pattern$12\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003epattern\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003estring\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"flags$13\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#flags$13\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eflags\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003estring\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e  \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"new RegExpToken$14\" title=\"ConstructorSignature\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#new RegExpToken$14\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003enew RegExpToken\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e()\u003c/em\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ca href=\"#RegExpToken$7\"\u003eRegExpToken\u003c/a\u003e\u003c/p\u003e      \u003cp\u003e  \u003cdetails id=\"pattern$15\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#pattern$15\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003epattern\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003estring | \u003cspan\u003eRegExp\u003c/span\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"flags$16\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#flags$16\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eflags\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003estring\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e  \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e\u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"Token$18\" title=\"Class\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#Token$18\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eToken\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e        \u003cp\u003e  \u003cdetails id=\"constructor$24\" title=\"Constructor\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#constructor$24\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003econstructor\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e(value)\u003c/em\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e    \u003cp\u003e  \u003cdetails id=\"new Token$25\" title=\"ConstructorSignature\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#new Token$25\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003enew Token\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e()\u003c/em\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ca href=\"#Token$18\"\u003eToken\u003c/a\u003e\u003c/p\u003e      \u003cp\u003e  \u003cdetails id=\"value$26\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#value$26\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003evalue\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ca href=\"#TokenJson$47\"\u003eTokenJson\u003c/a\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e  \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"new Token$27\" title=\"ConstructorSignature\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#new Token$27\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003enew Token\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e()\u003c/em\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ca href=\"#Token$18\"\u003eToken\u003c/a\u003e\u003c/p\u003e      \u003cp\u003e  \u003cdetails id=\"value$28\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#value$28\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003evalue\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003estring\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"group$29\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#group$29\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003egroup\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003estring\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"source$30\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#source$30\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003esource\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ca href=\"#RegExpMatchArrayLike$1\"\u003eRegExpMatchArrayLike\u003c/a\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e  \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"group$31\" title=\"Property\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#group$31\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003egroup\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e\u003cp\u003estring\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"source$36\" title=\"Property\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#source$36\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003esource\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e\u003cp\u003e\u003ca href=\"#RegExpMatchArrayLike$1\"\u003eRegExpMatchArrayLike\u003c/a\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"index$34\" title=\"Accessor\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#index$34\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eindex\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"value$32\" title=\"Accessor\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#value$32\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003evalue\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"as$43\" title=\"Method\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#as$43\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eas\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e(value, group)\u003c/em\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e    \u003cp\u003e    \u003cdetails id=\"value$45\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#value$45\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003evalue\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003estring\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"group$46\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#group$46\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003egroup\u003c/strong\u003e\u003c/code\u003e  \u003cspan\u003e\u003cspan\u003e\u0026nbsp;=\u0026nbsp;\u003c/span\u003e  \u003ccode\u003e...\u003c/code\u003e\u003c/span\u003e  \u003c/summary\u003e    \u003cul\u003e\u003cp\u003estring\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e  \u003cp\u003e\u003cstrong\u003eas\u003c/strong\u003e\u003cem\u003e(value, group)\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003e\u003ca href=\"#Token$18\"\u003eToken\u003c/a\u003e\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"is$39\" title=\"Method\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#is$39\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eis\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e(group, value)\u003c/em\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e    \u003cp\u003e    \u003cdetails id=\"group$41\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#group$41\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003egroup\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003estring\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"value$42\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#value$42\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003evalue\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003estring\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e  \u003cp\u003e\u003cstrong\u003eis\u003c/strong\u003e\u003cem\u003e(group, value)\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003eboolean\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"toJSON$37\" title=\"Method\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#toJSON$37\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003etoJSON\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e()\u003c/em\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e    \u003cp\u003e      \u003cp\u003e\u003cstrong\u003etoJSON\u003c/strong\u003e\u003cem\u003e()\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003e\u003ca href=\"#TokenJson$47\"\u003eTokenJson\u003c/a\u003e\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"create$19\" title=\"Method\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#create$19\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003ecreate\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e(value, group, source)\u003c/em\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e    \u003cp\u003e    \u003cdetails id=\"value$21\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#value$21\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003evalue\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003estring\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"group$22\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#group$22\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003egroup\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003estring\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"source$23\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#source$23\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003esource\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ca href=\"#RegExpMatchArrayLike$1\"\u003eRegExpMatchArrayLike\u003c/a\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e  \u003cp\u003e\u003cstrong\u003ecreate\u003c/strong\u003e\u003cem\u003e(value, group, source)\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003e\u003ca href=\"#Token$18\"\u003eToken\u003c/a\u003e\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e\u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"RegExpMatchArrayLike$1\" title=\"Interface\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#RegExpMatchArrayLike$1\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eRegExpMatchArrayLike\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e        \u003cp\u003e  \u003cdetails id=\"index$2\" title=\"Property\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#index$2\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eindex\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e\u003cp\u003enumber\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"input$3\" title=\"Property\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#input$3\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003einput\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e\u003cp\u003estring\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e\u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"TokenJson$47\" title=\"Interface\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#TokenJson$47\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eTokenJson\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e        \u003cp\u003e  \u003cdetails id=\"group$49\" title=\"Property\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#group$49\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003egroup\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e\u003cp\u003estring\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"source$50\" title=\"Property\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#source$50\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003esource\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e\u003cp\u003e{\u003cp\u003e  \u003cdetails id=\"index$53\" title=\"Property\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#index$53\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003eindex\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e\u003cp\u003enumber\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"input$54\" title=\"Property\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#input$54\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003einput\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e\u003cp\u003estring\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"match$52\" title=\"Property\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#match$52\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003ematch\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e\u003cp\u003estring  []\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e}\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"value$48\" title=\"Property\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#value$48\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003evalue\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e\u003cp\u003estring\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e\u003c/ul\u003e\u003c/details\u003e\u003cdetails id=\"matchToToken$4\" title=\"Function\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#matchToToken$4\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003ematchToToken\u003c/strong\u003e\u003c/code\u003e\u003cem\u003e(match)\u003c/em\u003e    \u003c/summary\u003e  \u003ca href=\"\"\u003e\u003c/a\u003e  \u003cul\u003e    \u003cp\u003e    \u003cdetails id=\"match$6\" title=\"Parameter\" \u003e\u003csummary\u003e\u003cspan\u003e\u003ca href=\"#match$6\"\u003e#\u003c/a\u003e\u003c/span\u003e  \u003ccode\u003e\u003cstrong\u003ematch\u003c/strong\u003e\u003c/code\u003e    \u003c/summary\u003e    \u003cul\u003e\u003cp\u003e\u003ccode\u003enull\u003c/code\u003e | \u003cspan\u003eRegExpMatchArray\u003c/span\u003e\u003c/p\u003e        \u003c/ul\u003e\u003c/details\u003e  \u003cp\u003e\u003cstrong\u003ematchToToken\u003c/strong\u003e\u003cem\u003e(match)\u003c/em\u003e  \u0026nbsp;=\u0026gt;  \u003cul\u003e\u003ccode\u003enull\u003c/code\u003e | \u003ca href=\"#Token$18\"\u003eToken\u003c/a\u003e\u003c/ul\u003e\u003c/p\u003e\u003c/p\u003e    \u003c/ul\u003e\u003c/details\u003e\u003c/p\u003e\n\n\n\n## Contributing\n\n[Fork](https://github.com/stagas/match-to-token/fork) or [edit](https://github.dev/stagas/match-to-token) and submit a PR.\n\nAll contributions are welcome!\n\n## License\n\n\u003ca href=\"LICENSE\"\u003eMIT\u003c/a\u003e \u0026copy; 2022 [stagas](https://github.com/stagas)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstagas%2Fmatch-to-token","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstagas%2Fmatch-to-token","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstagas%2Fmatch-to-token/lists"}