{"id":32253314,"url":"https://github.com/smallhadroncollider/mavis","last_synced_at":"2026-02-21T15:36:01.642Z","repository":{"id":58238524,"uuid":"11092534","full_name":"smallhadroncollider/mavis","owner":"smallhadroncollider","description":"Mavis is a very simple jQuery plugin that takes an object of class/regex pairs. When applied to an `input` it will update the class when the regex value is matched.","archived":false,"fork":false,"pushed_at":"2013-07-05T09:22:55.000Z","size":116,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-14T01:11:28.862Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/smallhadroncollider.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-07-01T11:11:27.000Z","updated_at":"2013-10-10T18:40:26.000Z","dependencies_parsed_at":"2022-08-31T00:30:43.361Z","dependency_job_id":null,"html_url":"https://github.com/smallhadroncollider/mavis","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/smallhadroncollider/mavis","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallhadroncollider%2Fmavis","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallhadroncollider%2Fmavis/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallhadroncollider%2Fmavis/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallhadroncollider%2Fmavis/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/smallhadroncollider","download_url":"https://codeload.github.com/smallhadroncollider/mavis/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/smallhadroncollider%2Fmavis/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":280475353,"owners_count":26336848,"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","status":"online","status_checked_at":"2025-10-22T02:00:06.515Z","response_time":63,"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-10-22T18:29:06.792Z","updated_at":"2025-10-22T18:29:07.625Z","avatar_url":"https://github.com/smallhadroncollider.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Mavis\n\nMavis is a very simple jQuery plugin that takes an object of class/regex pairs. When applied to an `input` it will update the class when the regex value is matched.\n\n## Installation\n\nMavis can be easily installed using [Bower](http://bower.io):\n\n```bash\nbower install jquery-mavis\n```\n\nIt will be placed in `components/jquery-mavis`.\n\n## Usage\n\n```html\n\u003cinput class=\"mavis\" /\u003e\n```\n\n```javascript\n$('.mavis').mavis({\n    'twitter': /twitter\\.com/i,\n    'facebook': /facebook\\.com/i,\n    'google': /google\\.com/i\n});\n```\n\nNow typing `twitter.com` into the `input` will add a `twitter` class to it.\n\n## License\nDO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\nVersion 2, December 2004\n\nCopyright (C) 2013 Small Hadron Collider \u003cmark@smallhadroncollider.com\u003e\n\nEveryone is permitted to copy and distribute verbatim or modified\ncopies of this license document, and changing it is allowed as long\nas the name is changed.\n\nDO WHAT THE FUCK YOU WANT TO PUBLIC LICENSE\nTERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION\n\n0. You just DO WHAT THE FUCK YOU WANT TO.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallhadroncollider%2Fmavis","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsmallhadroncollider%2Fmavis","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsmallhadroncollider%2Fmavis/lists"}