{"id":31744955,"url":"https://github.com/yefremov/loadcss","last_synced_at":"2025-10-09T12:28:21.108Z","repository":{"id":66239212,"uuid":"82358672","full_name":"yefremov/loadcss","owner":"yefremov","description":"Fast and reliable utility to asynchronously load multiple css files","archived":false,"fork":false,"pushed_at":"2017-03-29T19:28:46.000Z","size":12,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-08-17T12:39:51.935Z","etag":null,"topics":["css","loadcss","preload","stylesheets"],"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/yefremov.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","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":"2017-02-18T03:33:41.000Z","updated_at":"2023-06-29T09:57:17.000Z","dependencies_parsed_at":"2023-02-20T16:31:16.711Z","dependency_job_id":null,"html_url":"https://github.com/yefremov/loadcss","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/yefremov/loadcss","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yefremov%2Floadcss","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yefremov%2Floadcss/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yefremov%2Floadcss/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yefremov%2Floadcss/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yefremov","download_url":"https://codeload.github.com/yefremov/loadcss/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yefremov%2Floadcss/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279001445,"owners_count":26083078,"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-09T02:00:07.460Z","response_time":59,"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":["css","loadcss","preload","stylesheets"],"created_at":"2025-10-09T12:28:11.320Z","updated_at":"2025-10-09T12:28:21.103Z","avatar_url":"https://github.com/yefremov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# loadcss [![Build Status](https://travis-ci.org/yefremov/loadcss.svg?branch=master)](https://travis-ci.org/yefremov/loadcss) [![npm version](https://badge.fury.io/js/loadcss.svg)](https://badge.fury.io/js/loadcss)\n\n\nFast and reliable utility to asynchronously load multiple css files and apply to\nthe document.\n\n## Installation\n\n```bash\n$ npm install loadcss\n```\n\n## API\n\n```js\nimport loadcss from 'loadcss';\n\n// load a single css file\nloadcss('/foo.css', links =\u003e {\n  links.forEach(link =\u003e console.log(link.href));\n});\n\n// load multiple css files\nloadcss(['/a/foo.css', '/b/bar.css'], links =\u003e {\n  links.forEach(link =\u003e console.log(link.href));\n});\n```\n\n## Running tests\n\n```bash\n$ npm test\n```\n\n## License\n\n[MIT](LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyefremov%2Floadcss","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyefremov%2Floadcss","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyefremov%2Floadcss/lists"}