{"id":21948724,"url":"https://github.com/nemtsov/tiny-style-loader","last_synced_at":"2026-04-08T16:32:38.790Z","repository":{"id":48394521,"uuid":"82081763","full_name":"nemtsov/tiny-style-loader","owner":"nemtsov","description":"Tiny Style Loader","archived":false,"fork":false,"pushed_at":"2021-07-28T10:12:23.000Z","size":17,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-10-30T15:42:31.354Z","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":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/nemtsov.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":"2017-02-15T16:32:49.000Z","updated_at":"2019-09-25T18:43:47.000Z","dependencies_parsed_at":"2022-08-19T07:30:14.246Z","dependency_job_id":null,"html_url":"https://github.com/nemtsov/tiny-style-loader","commit_stats":null,"previous_names":["behance/tiny-style-loader"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/nemtsov/tiny-style-loader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemtsov%2Ftiny-style-loader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemtsov%2Ftiny-style-loader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemtsov%2Ftiny-style-loader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemtsov%2Ftiny-style-loader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/nemtsov","download_url":"https://codeload.github.com/nemtsov/tiny-style-loader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/nemtsov%2Ftiny-style-loader/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31564900,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-29T05:17:28.618Z","updated_at":"2026-04-08T16:32:38.772Z","avatar_url":"https://github.com/nemtsov.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Tiny Style Loader [![Build Status](https://img.shields.io/travis/behance/tiny-style-loader.svg)](http://travis-ci.org/behance/tiny-style-loader) [![NPM version](https://img.shields.io/npm/v/tiny-style-loader.svg)](https://www.npmjs.com/package/tiny-style-loader) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n\nThe purpose of this library is to be the smallest callback \u0026 Promise -based style loader.\n\nIf you're looking for a script loader, check out [Tiny Script Loader](https://www.npmjs.com/package/tiny-script-loader)\n\n## Usage\n\n**Callback**\n\n```js\nvar loadStyle = require('tiny-style-loader/loadStyle')\n\nloadStyle('https://example.com/style.css', function () {\n  console.log('loaded')\n})\n```\n\n**Promise**\n\n```js\nvar loadStyle = require('tiny-style-loader/loadStylePromised')\n\nloadStyle('https://example.com/style.css')\n.then(function () {\n  console.log('loaded')\n})\n```\n\n## License\n\n[Apache-2.0](/LICENSE)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnemtsov%2Ftiny-style-loader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnemtsov%2Ftiny-style-loader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnemtsov%2Ftiny-style-loader/lists"}