{"id":19432771,"url":"https://github.com/brightspace/d2l-image","last_synced_at":"2025-04-24T20:31:03.846Z","repository":{"id":19899890,"uuid":"86740841","full_name":"Brightspace/d2l-image","owner":"Brightspace","description":"Web component for images requiring authentication","archived":false,"fork":false,"pushed_at":"2025-03-31T04:45:02.000Z","size":154,"stargazers_count":0,"open_issues_count":5,"forks_count":5,"subscribers_count":41,"default_branch":"main","last_synced_at":"2025-04-03T09:51:00.710Z","etag":null,"topics":["browser","lit-element","web-components"],"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/Brightspace.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":".github/CODEOWNERS","security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-30T19:31:31.000Z","updated_at":"2025-03-12T13:34:06.000Z","dependencies_parsed_at":"2024-01-15T21:10:43.670Z","dependency_job_id":"402ddead-d630-4ea9-bdc8-9d90289cbb53","html_url":"https://github.com/Brightspace/d2l-image","commit_stats":{"total_commits":70,"total_committers":17,"mean_commits":4.117647058823529,"dds":0.7142857142857143,"last_synced_commit":"d23540d790d6de91271c00cf0b274bb1956d4108"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brightspace%2Fd2l-image","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brightspace%2Fd2l-image/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brightspace%2Fd2l-image/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Brightspace%2Fd2l-image/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Brightspace","download_url":"https://codeload.github.com/Brightspace/d2l-image/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250704540,"owners_count":21473709,"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":["browser","lit-element","web-components"],"created_at":"2024-11-10T14:37:03.189Z","updated_at":"2025-04-24T20:31:03.516Z","avatar_url":"https://github.com/Brightspace.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# d2l-image\n\n[![CI](https://github.com/Brightspace/d2l-image/actions/workflows/ci.yml/badge.svg)](https://github.com/Brightspace/d2l-image/actions/workflows/ci.yml)\n\nWeb component for displaying images that require authentication.\n\n## Usage\n\n```html\n\u003cd2l-image\n\talternate-text=\"Alt text that will appear on image\"\n\timage-url=\"https://example.com/image-to-fetch.jpg\"\n\ttoken=\"some-oauth-token\"\u003e\n\u003c/d2l-image\u003e\n```\n\nWhen both `image-url` and `token` are non-null, `d2l-image` will load the image.\n\n## Developing\n\nAfter cloning the repo, run `npm install` to install dependencies.\n\n### Running the demos\n\nStart a [@web/dev-server](https://modern-web.dev/docs/dev-server/overview/) that hosts the demo pages:\n\n```shell\nnpm start\n```\n\n### Linting\n\n```shell\n# eslint, lit-analyzer\nnpm run lint\n\n# eslint only\nnpm run lint:eslint\n\n# lit-analyzer only\nnpm run lint:lit\n```\n\n### Testing\n\n```shell\n# lint and unit tests\nnpm test\n\n# unit tests\nnpm run test:headless\n```\n\n### Versioning and Releasing\n\nThis repo is configured to use `semantic-release`. Commits prefixed with `fix:` and `feat:` will trigger patch and minor releases when merged to `main`.\n\nTo learn how to create major releases and release from maintenance branches, refer to the [semantic-release GitHub Action](https://github.com/BrightspaceUI/actions/tree/main/semantic-release) documentation.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrightspace%2Fd2l-image","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrightspace%2Fd2l-image","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrightspace%2Fd2l-image/lists"}