{"id":17419694,"url":"https://github.com/bendrucker/document-ready","last_synced_at":"2025-07-21T04:31:56.697Z","repository":{"id":1736056,"uuid":"43971880","full_name":"bendrucker/document-ready","owner":"bendrucker","description":"Document ready listener for modern browsers","archived":false,"fork":false,"pushed_at":"2022-04-21T18:05:51.000Z","size":20,"stargazers_count":59,"open_issues_count":0,"forks_count":3,"subscribers_count":3,"default_branch":"master","last_synced_at":"2024-11-20T04:43:05.076Z","etag":null,"topics":[],"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/bendrucker.png","metadata":{"files":{"readme":"readme.md","changelog":null,"contributing":null,"funding":null,"license":"license","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2015-10-09T18:04:03.000Z","updated_at":"2023-01-27T12:39:28.000Z","dependencies_parsed_at":"2022-09-19T23:04:32.353Z","dependency_job_id":null,"html_url":"https://github.com/bendrucker/document-ready","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fdocument-ready","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fdocument-ready/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fdocument-ready/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bendrucker%2Fdocument-ready/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bendrucker","download_url":"https://codeload.github.com/bendrucker/document-ready/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226867825,"owners_count":17694818,"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-10-17T02:29:40.084Z","updated_at":"2024-11-28T06:16:39.315Z","avatar_url":"https://github.com/bendrucker.png","language":"JavaScript","readme":"# document-ready\n\n\u003e Document ready listener for modern browsers\n\n\n## Install\n\n```\n$ npm install --save document-ready\n```\n\n\n## Usage\n\n```js\nvar ready = require('document-ready')\n\nready(function () {\n  //=\u003e DOM is ready\n})\n```\n\n## API\n\n#### `ready(callback)` -\u003e `undefined`\n\n##### callback\n\n*Required*  \nType: `function`\n\nA function to call once the DOM has loaded. If the DOM is already loaded, the callback will be called on the next tick.\n\n\n## License\n\nMIT © [Ben Drucker](http://bendrucker.me)\n","funding_links":[],"categories":["Modules","模块"],"sub_categories":["Browser","浏览器"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendrucker%2Fdocument-ready","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbendrucker%2Fdocument-ready","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbendrucker%2Fdocument-ready/lists"}