{"id":15305351,"url":"https://github.com/alenvelocity/regexus","last_synced_at":"2026-03-06T02:48:09.276Z","repository":{"id":210714544,"uuid":"727156985","full_name":"AlenVelocity/Regexus","owner":"AlenVelocity","description":"Human-readable regular expressions for TS/JS","archived":false,"fork":false,"pushed_at":"2023-12-04T14:55:35.000Z","size":110,"stargazers_count":8,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-15T03:12:34.277Z","etag":null,"topics":["human-readable","regex","regexp","regular-expression"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/regexus","language":"TypeScript","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/AlenVelocity.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","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,"dei":null,"publiccode":null,"codemeta":null},"funding":{"github":"AlenVelocity"}},"created_at":"2023-12-04T09:53:44.000Z","updated_at":"2024-02-25T17:01:08.000Z","dependencies_parsed_at":null,"dependency_job_id":"23315ab7-d27c-4869-a9fd-60671012840f","html_url":"https://github.com/AlenVelocity/Regexus","commit_stats":{"total_commits":10,"total_committers":1,"mean_commits":10.0,"dds":0.0,"last_synced_commit":"0bf61ab46a4e6cf69f5f665fdf197175eb466477"},"previous_names":["alenvelocity/regexus"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlenVelocity%2FRegexus","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlenVelocity%2FRegexus/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlenVelocity%2FRegexus/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/AlenVelocity%2FRegexus/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/AlenVelocity","download_url":"https://codeload.github.com/AlenVelocity/Regexus/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248997079,"owners_count":21195799,"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":["human-readable","regex","regexp","regular-expression"],"created_at":"2024-10-01T08:00:16.956Z","updated_at":"2026-03-06T02:48:09.199Z","avatar_url":"https://github.com/AlenVelocity.png","language":"TypeScript","funding_links":["https://github.com/sponsors/AlenVelocity"],"categories":[],"sub_categories":[],"readme":"# RegExus\n\nHuman Readable Regular Expressions for JS/TS\n\nPort of [`regexpbuilderphp`](https://github.com/gherkins/regexpbuilderphp)\n\n\n## Usage\n\n### via NPM\n\n```bash\nnpm install regexus\n```\n\n```typescript\nimport { RegExpBuilder } from 'regexus'; // esm\n// or\nconst { RegExpBuilder } = require('regexus'); // commonjs\n```\n\n### via CDN\n```html\n\u003cscript src=\"https://cdn.jsdelivr.net/npm/regexus@0.0.2/dist/regexus.umd.js\"\u003e\u003c/script\u003e\n```\n\n### Example\n\n```typescript\nconst builder = new RegExpBuilder()\n  .startOfInput()\n  .exactly(3).digits()\n  .then('-')\n  .min(2).max(5).letters()\n  .endOfInput();\n\nconst regExp = builder.getRegExp();\nconst testString = '123-abcde';\n\nif (regExp.test(testString)) {\n  console.log('The string matches the pattern!');\n} else {\n  console.log('No match found.');\n}\n```\n\n## API Reference\n\nComing soon\n\n## Contributing\n \nContributions are welcome! Please open a pull request or an issue if you would like to contribute. \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falenvelocity%2Fregexus","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Falenvelocity%2Fregexus","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Falenvelocity%2Fregexus/lists"}