{"id":16365809,"url":"https://github.com/charlesfries/ember-wildcard","last_synced_at":"2026-04-18T14:03:47.821Z","repository":{"id":93529699,"uuid":"142827350","full_name":"charlesfries/ember-wildcard","owner":"charlesfries","description":"An Ember service that verifies equality between strings that contain arbitrary data.","archived":false,"fork":false,"pushed_at":"2018-08-02T00:56:57.000Z","size":96,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-26T07:26:51.096Z","etag":null,"topics":["ember","ember-addon","ember-testing"],"latest_commit_sha":null,"homepage":"","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/charlesfries.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.md","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}},"created_at":"2018-07-30T05:07:48.000Z","updated_at":"2018-08-02T00:56:59.000Z","dependencies_parsed_at":"2023-04-07T17:32:16.010Z","dependency_job_id":null,"html_url":"https://github.com/charlesfries/ember-wildcard","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/charlesfries/ember-wildcard","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesfries%2Fember-wildcard","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesfries%2Fember-wildcard/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesfries%2Fember-wildcard/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesfries%2Fember-wildcard/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/charlesfries","download_url":"https://codeload.github.com/charlesfries/ember-wildcard/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/charlesfries%2Fember-wildcard/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31971493,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-18T00:39:45.007Z","status":"online","status_checked_at":"2026-04-18T02:00:07.018Z","response_time":103,"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":["ember","ember-addon","ember-testing"],"created_at":"2024-10-11T02:44:35.045Z","updated_at":"2026-04-18T14:03:42.809Z","avatar_url":"https://github.com/charlesfries.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ember-wildcard\n==============================================================================\n\n```js\nlet isMatch = this.get('compare').wildcard('ID #9237720978', 'ID #**********'); // true\n```\n\n```js\n// app/routes/index.js\n\nexport default Ember.Object.extend({\n  wildcard: Ember.inject.service(),\n\n  afterModel: function(model) {\n\n    this.get('wildcard').setSymbol('*');\n\n    let url = model.url;\n    let expected = 'https://www.google.com/search?client=safari\u0026rls=en\u0026q=**********\u0026ie=UTF-8\u0026oe=UTF-8';\n\n    if (this.get('wildcard').match(url, expected)) {\n      // strings are equal\n    }\n  }\n});\n```\n\nInstallation\n------------------------------------------------------------------------------\n\n```\nember install ember-wildcard\n```\n\n\nUsage\n------------------------------------------------------------------------------\n\nember-wildcard is an addon for comparing strings that contains arbitrary data, such at IDs or timestamps. This addon is especially useful when writing tests and comparing expected and actual output.\n\n\nContributing\n------------------------------------------------------------------------------\n\n### Installation\n\n* `git clone https://github.com/charlesfries/ember-wildcard`\n* `cd ember-wildcard`\n* `npm install`\n\n### Linting\n\n* `npm run lint:js`\n* `npm run lint:js -- --fix`\n\n### Running tests\n\n* `ember test` – Runs the test suite on the current Ember version\n* `ember test --server` – Runs the test suite in \"watch mode\"\n* `npm test` – Runs `ember try:each` to test your addon against multiple Ember versions\n\n### Running the dummy application\n\n* `ember serve`\n* Visit the dummy application at [http://localhost:4200](http://localhost:4200).\n\nFor more information on using ember-cli, visit [https://ember-cli.com/](https://ember-cli.com/).\n\nLicense\n------------------------------------------------------------------------------\n\nThis project is licensed under the [MIT License](LICENSE.md).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlesfries%2Fember-wildcard","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcharlesfries%2Fember-wildcard","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcharlesfries%2Fember-wildcard/lists"}