{"id":42830713,"url":"https://github.com/weavedev/lit-fontawesome","last_synced_at":"2026-01-30T11:27:39.255Z","repository":{"id":55448201,"uuid":"325272381","full_name":"weavedev/lit-fontawesome","owner":"weavedev","description":null,"archived":false,"fork":false,"pushed_at":"2020-12-30T07:30:24.000Z","size":551,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-31T05:01:56.366Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/weavedev.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":"2020-12-29T11:47:17.000Z","updated_at":"2020-12-30T07:30:27.000Z","dependencies_parsed_at":"2022-08-15T00:30:56.977Z","dependency_job_id":null,"html_url":"https://github.com/weavedev/lit-fontawesome","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/weavedev/lit-fontawesome","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavedev%2Flit-fontawesome","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavedev%2Flit-fontawesome/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavedev%2Flit-fontawesome/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavedev%2Flit-fontawesome/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/weavedev","download_url":"https://codeload.github.com/weavedev/lit-fontawesome/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/weavedev%2Flit-fontawesome/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28911821,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-30T08:15:08.179Z","status":"ssl_error","status_checked_at":"2026-01-30T08:14:31.507Z","response_time":66,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6: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":"2026-01-30T11:27:38.540Z","updated_at":"2026-01-30T11:27:39.251Z","avatar_url":"https://github.com/weavedev.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# lit-fontawesome\n\n[![Build Status - Travis CI](https://img.shields.io/travis/weavedev/lit-fontawesome.svg)](https://travis-ci.org/weavedev/lit-fontawesome)\n[![Test Coverage - Code Climate](https://img.shields.io/codeclimate/coverage/weavedev/lit-fontawesome.svg)](https://codeclimate.com/github/weavedev/lit-fontawesome/test_coverage)\n[![MIT](https://img.shields.io/github/license/weavedev/lit-fontawesome.svg)](https://github.com/weavedev/lit-fontawesome/blob/master/LICENSE)\n[![NPM](https://img.shields.io/npm/v/@weavedev/lit-fontawesome.svg)](https://www.npmjs.com/package/@weavedev/lit-fontawesome)\n\nConvert Fontawesome SVG definitions to LitElement compatible SVGs and data URLs for inline use and in CSS\n\n## Install\n\n```\nnpm i @weavedev/lit-fontawesome\n```\n\n## API documentation\n\nWe generate API documentation with [TypeDoc](https://typedoc.org).\n\n[![API Documentation](https://img.shields.io/badge/API-Documentation-blue?style=for-the-badge\u0026logo=typescript)](https://weavedev.github.io/lit-fontawesome/)\n\n## Usage\n\n### Icons in your CSS and HTML\n\nYou can use the Fontawesome icons in your HTML as inline SVGs, and in your CSS as data URLs.\n\n```ts\nimport { css, html } from 'lit-element';\n\nimport { faCoffee } from '@fortawesome/free-solid-svg-icons/faCoffee';\nimport { litFontawesome, urlFontawesome } from '@weavedev/lit-fontawesome';\n\n// Use it in your CSS\ncss`\n    .myCoffeeIcon {\n        background-image: url('${urlFontawesome(faCoffee)}');\n    }\n`;\n\n// Use it in your HTML\nhtml`\n    \u003cdiv\u003e${litFontawesome(faCoffee)}\u003c/div\u003e\n`;\n```\n\n### Options\n\nSet custom colors and class-names\n\n```ts\nlitFontawesome(\n    faCoffee, // Icon\n    // Options\n    {\n        // Custom class-names\n        className: 'myClassName',\n        \n        // Custom colors\n        color: 'palevioletred'\n    }\n);\n```\n\n## License\n\n[MIT](https://github.com/weavedev/lit-fontawesome/blob/master/LICENSE)\n\nMade by [Paul Gerarts](https://github.com/gerarts) and [Weave](https://weave.nl)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweavedev%2Flit-fontawesome","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fweavedev%2Flit-fontawesome","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fweavedev%2Flit-fontawesome/lists"}