{"id":22004359,"url":"https://github.com/javascriptlove/ready","last_synced_at":"2025-07-18T17:03:27.021Z","repository":{"id":4149358,"uuid":"5263371","full_name":"javascriptlove/ready","owner":"javascriptlove","description":"Cross-browser ready function","archived":false,"fork":false,"pushed_at":"2012-08-02T12:28:52.000Z","size":95,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-24T22:48:02.588Z","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/javascriptlove.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":"2012-08-01T19:03:10.000Z","updated_at":"2023-05-03T15:27:02.000Z","dependencies_parsed_at":"2022-07-05T11:02:57.755Z","dependency_job_id":null,"html_url":"https://github.com/javascriptlove/ready","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/javascriptlove/ready","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascriptlove%2Fready","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascriptlove%2Fready/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascriptlove%2Fready/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascriptlove%2Fready/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/javascriptlove","download_url":"https://codeload.github.com/javascriptlove/ready/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/javascriptlove%2Fready/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265797905,"owners_count":23829853,"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":[],"created_at":"2024-11-30T00:15:36.834Z","updated_at":"2025-07-18T17:03:26.986Z","avatar_url":"https://github.com/javascriptlove.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"ready\n=========\n\nA cross-browser way of handling the document onReady event.\n\nProvides a way to set a function that will run after DOM is ready.\n\n# Examples\n\nA common way to use:\n\n```\nready(function() {\n\t// we are ready\n\tconsole.log('ready!');\n});\n```\n\n`ready` returns itself, so you can add another function right away:\n\n```\nready(function(){\n   console.log('ready 1');     \n})(function() {\n   console.log('ready 2'); \n});\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavascriptlove%2Fready","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjavascriptlove%2Fready","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjavascriptlove%2Fready/lists"}