{"id":21392605,"url":"https://github.com/cheerlights/cheerlights-javascript","last_synced_at":"2025-03-16T13:42:29.478Z","repository":{"id":107396795,"uuid":"436787545","full_name":"cheerlights/cheerlights-javascript","owner":"cheerlights","description":"JavaScript client library for connecting to ThingSpeak ( https://thingspeak.com/ ) to get the latest color values for CheerLights ( https://cheerlights.com/ ).","archived":false,"fork":false,"pushed_at":"2022-09-28T19:54:55.000Z","size":8,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-23T01:24:37.786Z","etag":null,"topics":["cheerlights","cheerlights-client","iot","javascript","javascript-library"],"latest_commit_sha":null,"homepage":"https://cheerlights.com/cheerlights-javascript-client-library-released-at-github/","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/cheerlights.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-12-09T23:10:12.000Z","updated_at":"2022-04-07T13:35:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"f91a51b1-c9f7-4a62-a179-b60e94dd0440","html_url":"https://github.com/cheerlights/cheerlights-javascript","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheerlights%2Fcheerlights-javascript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheerlights%2Fcheerlights-javascript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheerlights%2Fcheerlights-javascript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cheerlights%2Fcheerlights-javascript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cheerlights","download_url":"https://codeload.github.com/cheerlights/cheerlights-javascript/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243878439,"owners_count":20362432,"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":["cheerlights","cheerlights-client","iot","javascript","javascript-library"],"created_at":"2024-11-22T13:41:51.026Z","updated_at":"2025-03-16T13:42:29.456Z","avatar_url":"https://github.com/cheerlights.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"cheerlights-javascript\n=====================\n\nJavaScript client library for connecting to ThingSpeak ( https://thingspeak.com/ ) to get the latest color values for CheerLights ( https://cheerlights.com/ ).\n\n## Usage\n\nAdd library to webpage:\n\n* Local\n\n```\n\u003cscript src=\"cheerlights.js\"\u003e\u003c/script\u003e\n```\n\n* CDN for v1.0.0\n\n```\n\u003cscript src=\"https://cdn.jsdelivr.net/gh/cheerlights/cheerlights-javascript@1.0.0/cheerlights.js\"\u003e\u003c/script\u003e\n```\n\n* CDN for Latest Release\n\n```\n\u003cscript src=\"https://cdn.jsdelivr.net/gh/cheerlights/cheerlights-javascript@latest/cheerlights.js\"\u003e\u003c/script\u003e\n```\n\nUse getColor and set a callback:\n\n```\nCheerLights.getColor(callbackFunctionName);\n```\n\n## Property Values: color\n\n* color.htmlName\n* color.hexValue\n\n## Color Values\n\n| htmlName | hexValue |\n| --- | ----------- |\n| red | #FF0000 |\n| green | #008000 |\n| blue | #0000FF |\n| cyan | #00FFFF |\n| white | #FFFFFF |\n| oldlace | #FDF5E6 |\n| purple | #800080 |\n| magenta | #FF00FF |\n| yellow | #FFFF00 |\n| orange | #FFA500 |\n| pink | #FFC0CB |\n\n## Examples\n\nSee the [examples folder](https://github.com/cheerlights/cheerlights-javascript/tree/master/examples) for fully-working examples using this library.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheerlights%2Fcheerlights-javascript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcheerlights%2Fcheerlights-javascript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcheerlights%2Fcheerlights-javascript/lists"}