{"id":13341610,"url":"https://github.com/barrettotte/wc-resistor-calc","last_synced_at":"2026-05-17T17:46:14.639Z","repository":{"id":114091563,"uuid":"390164117","full_name":"barrettotte/wc-resistor-calc","owner":"barrettotte","description":"A resistor color code calculator as a vanilla JS web component.","archived":false,"fork":false,"pushed_at":"2021-08-09T23:18:32.000Z","size":49,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-03-29T03:16:40.668Z","etag":null,"topics":["vanilla-js","web-components"],"latest_commit_sha":null,"homepage":"https://barrettotte.github.io/wc-resistor-calc/","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/barrettotte.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2021-07-28T00:25:52.000Z","updated_at":"2023-02-24T14:13:34.000Z","dependencies_parsed_at":"2023-06-12T14:00:31.865Z","dependency_job_id":null,"html_url":"https://github.com/barrettotte/wc-resistor-calc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/barrettotte/wc-resistor-calc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barrettotte%2Fwc-resistor-calc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barrettotte%2Fwc-resistor-calc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barrettotte%2Fwc-resistor-calc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barrettotte%2Fwc-resistor-calc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/barrettotte","download_url":"https://codeload.github.com/barrettotte/wc-resistor-calc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/barrettotte%2Fwc-resistor-calc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265910214,"owners_count":23847519,"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":["vanilla-js","web-components"],"created_at":"2024-07-29T19:25:39.163Z","updated_at":"2026-05-17T17:46:04.624Z","avatar_url":"https://github.com/barrettotte.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wc-resistor-calc\n\nA resistor color code calculator as a vanilla JS web component.\n\nThis was just a trivial example to play around with web components before diving\ninto making web components with Stencil.js. I pretty much just cloned the resistor\ncolor code calculator from [Digi-Key](https://www.digikey.com/en/resources/conversion-calculators/conversion-calculator-resistor-color-code)\n\n## Usage\n\n```html\n\u003cwc-resistor-calc band=\"4\"\u003e\u003c/wc-resistor-calc\u003e\n```\n\nAlso deployed to [https://barrettotte.github.io/wc-resistor-calc/](https://barrettotte.github.io/wc-resistor-calc/), [index.html](index.html) instantiates this web component.\n\n### Attributes\n\n- `band` - Default resistor type (`4`,`5`, or `6`); Defaults to `4` if not specified.\n\n### Screenshot\n\n![docs/screenshot.PNG](docs/screenshot.PNG)\n\n## References\n\n- [Digi-Key Resistor Color Code Calculator](https://www.digikey.com/en/resources/conversion-calculators/conversion-calculator-resistor-color-code)\n- [Inkscape - for SVG editing](https://inkscape.org/)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarrettotte%2Fwc-resistor-calc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbarrettotte%2Fwc-resistor-calc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbarrettotte%2Fwc-resistor-calc/lists"}