{"id":16968773,"url":"https://github.com/michaelsoriano/age-check","last_synced_at":"2025-03-22T14:31:15.594Z","repository":{"id":27982970,"uuid":"31476672","full_name":"michaelsoriano/age-check","owner":"michaelsoriano","description":"jQuery plugin to verify if user is old enough to enter site. Published March 8, 2015","archived":false,"fork":false,"pushed_at":"2019-06-16T18:28:21.000Z","size":53,"stargazers_count":44,"open_issues_count":0,"forks_count":25,"subscribers_count":9,"default_branch":"master","last_synced_at":"2025-03-18T12:01:40.621Z","etag":null,"topics":["age-check","javascript","verify"],"latest_commit_sha":null,"homepage":"","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/michaelsoriano.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}},"created_at":"2015-02-28T21:00:12.000Z","updated_at":"2024-10-16T14:01:53.000Z","dependencies_parsed_at":"2022-08-29T00:10:38.982Z","dependency_job_id":null,"html_url":"https://github.com/michaelsoriano/age-check","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelsoriano%2Fage-check","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelsoriano%2Fage-check/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelsoriano%2Fage-check/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/michaelsoriano%2Fage-check/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/michaelsoriano","download_url":"https://codeload.github.com/michaelsoriano/age-check/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":244971899,"owners_count":20540881,"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":["age-check","javascript","verify"],"created_at":"2024-10-14T00:22:52.734Z","updated_at":"2025-03-22T14:31:15.336Z","avatar_url":"https://github.com/michaelsoriano.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# age-check\n\nA simple plugin that verifies if a user is old enough to enter your site.\n\nYou can easily customize the plugin with options and it uses sessionStorage\n(or localStorage or cookies) to keep from popping up again.\n\nThe modal box is responsive and uses an external CSS for easy styling.\n\n## Usage\n\nAdd inside document ready: $.ageCheck()\n\n## Options\n\n- minAge (Age to validate against)\n- redirectTo (URL to redirect when successful)\n- title (Title text above the prompt)\n- copy (Paragraph text below the title)\n- success (Callback to be called on successful validation, takes no arguments)\n- successMsg {header (Header on top of success message), body (text for success message)}\n- underAgeMsg (Message when user didn't pass age requirements)\n- underAge (Callback to be called on failed validation, takes no arguments)\n- errorMsg {invalidDay (message for invalid day entered), invalidYear (message for invalid year entered)}\n- storage (sessionStorage, localStorage, or cookie -- sessionStorage is the default)\n- storageExpires (number of days to store the cookie, ONLY VALID for cookie storage method)\n\n## To Minify JS + CSS\n\n- npm install gulp\n- npm install gulp-minify --save-dev\n- npm install gulp-clean-css --save-dev\n- npm install gulp-rename --save-dev\n- run gulp compress\n\n![alt tag](http://cdn.fearlessflyer.com/wp-content/uploads/2015/03/age-check-demo.gif)\n\nClick http://michaelsoriano.com/jquery-plugin-check-user-age/ for instructions and options\n\nand\n\nClick https://cdn.rawgit.com/michaelsoriano/age-check/master/index.html for demo\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelsoriano%2Fage-check","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmichaelsoriano%2Fage-check","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmichaelsoriano%2Fage-check/lists"}