{"id":26569736,"url":"https://github.com/kuzzmi/ember-cli-webfontloader","last_synced_at":"2025-09-22T23:08:37.144Z","repository":{"id":57223543,"uuid":"51769884","full_name":"kuzzmi/ember-cli-webfontloader","owner":"kuzzmi","description":"WebFontLoader wrapped in Ember CLI addon","archived":false,"fork":false,"pushed_at":"2017-12-04T16:14:52.000Z","size":44,"stargazers_count":10,"open_issues_count":0,"forks_count":7,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-09-06T04:56:59.496Z","etag":null,"topics":["ember","ember-cli-addon","web-fonts"],"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/kuzzmi.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":"2016-02-15T16:48:08.000Z","updated_at":"2024-05-30T03:19:19.000Z","dependencies_parsed_at":"2022-08-30T02:10:27.676Z","dependency_job_id":null,"html_url":"https://github.com/kuzzmi/ember-cli-webfontloader","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/kuzzmi/ember-cli-webfontloader","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuzzmi%2Fember-cli-webfontloader","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuzzmi%2Fember-cli-webfontloader/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuzzmi%2Fember-cli-webfontloader/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuzzmi%2Fember-cli-webfontloader/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/kuzzmi","download_url":"https://codeload.github.com/kuzzmi/ember-cli-webfontloader/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/kuzzmi%2Fember-cli-webfontloader/sbom","scorecard":{"id":574421,"data":{"date":"2025-08-11","repo":{"name":"github.com/kuzzmi/ember-cli-webfontloader","commit":"8ebd8869a9b5c52e35871847e855574f13dd14ea"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":3.4,"checks":[{"name":"Code-Review","score":3,"reason":"Found 7/23 approved changesets -- score normalized to 3","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Vulnerabilities","score":10,"reason":"0 existing vulnerabilities detected","details":null,"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE.md:0","Info: FSF or OSI recognized license: MIT License: LICENSE.md:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"SAST","score":0,"reason":"SAST tool is not run on all commits -- score normalized to 0","details":["Warn: 0 commits out of 14 are checked with a SAST tool"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}}]},"last_synced_at":"2025-08-20T17:16:03.828Z","repository_id":57223543,"created_at":"2025-08-20T17:16:03.828Z","updated_at":"2025-08-20T17:16:03.828Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":276487484,"owners_count":25651133,"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-09-22T02:00:08.972Z","response_time":79,"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":["ember","ember-cli-addon","web-fonts"],"created_at":"2025-03-22T21:23:10.345Z","updated_at":"2025-09-22T23:08:37.119Z","avatar_url":"https://github.com/kuzzmi.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![Build Status](https://travis-ci.org/kuzzmi/ember-cli-webfontloader.svg?branch=master)](https://travis-ci.org/kuzzmi/ember-cli-webfontloader)\n \n# ember-cli-webfontloader\n\nWebFontLoader wrapped in Ember CLI addon. Allows you to subscribe to events and configure fonts through your Ember environment configuration file.\n\n## Installation\n\n```\nember install ember-cli-webfontloader\n```\n\n## Versioning\n\nTake into account that version \u003e= 0.4.x of this addon require Ember 2.x and fastboot \u003e=1.0.rc1\nPlease use 0.3.2 if you don't fulfill both requirements.\n\n\n## Configuration\n\nTo load fonts you have to configure your `config/environment.js` file and set font-families as property of `webFontConfig` object.\n\nFor details about the WebFont configuration please refer WebFontLoader official [documentation](https://github.com/typekit/webfontloader/blob/master/README.md)\n\nExamples:\n\n```javascript\n// config/environment.js\n    ...\n    webFontConfig: {\n        google: {\n            families: ['Roboto Mono']\n        },\n        timeout: 2000\n    }\n    ...\n```\n\n```javascript\n// config/environment.js\n    ...\n    webFontConfig: {\n        typekit: {\n            id: 'xxxxxx'\n        }\n    }\n    ...\n```\n\n## Usage\n\nTo add event handlers you have to import WebFont to your file:\n\n```javascript\nimport { WebFont } from 'webfontloader';\n```\n\nAfter doing that you can add handlers by using `WebFont.on()` function, its signature is following:\n\n```\non(string event, function fn, boolean runIfActive)\n```\n\nThe last argument is used to run the handler if the event is already fired. This is useful, for example, when fonts were loaded before reaching the `on('active', ...)` code.\n\nCurrently implemented all 6 events:\n\n* loading\n* active\n* inactive\n* fontloading\n* fontactive\n* fontinactive\n\n```javascript\nWebFont.on('loading', () =\u003e {\n    // react on \"fonts are loading\" event\n});\n\nWebFont.on('active', () =\u003e {\n    // react on \"fonts are active\" event\n});\n\nWebFont.on('inactive', () =\u003e {\n    // react on \"fonts are inactive\" event\n});\n\nWebFont.on('fontloading', (familyName, fvd) =\u003e {\n    // react on \"font familyName is loading\" event\n});\n\nWebFont.on('fontactive', (familyName, fvd) =\u003e {\n    // react on \"font familyName is active\" event\n});\n\nWebFont.on('fontinactive', (familyName, fvd) =\u003e {\n    // react on \"font familyName is inactive\" event\n});\n```\n\nFor more information on using WebFontLoader, visit [https://github.com/typekit/webfontloader](https://github.com/typekit/webfontloader).\n\nFor more information on using ember-cli, visit [http://www.ember-cli.com/](http://www.ember-cli.com/).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuzzmi%2Fember-cli-webfontloader","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkuzzmi%2Fember-cli-webfontloader","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkuzzmi%2Fember-cli-webfontloader/lists"}