{"id":21916530,"url":"https://github.com/cloudnode-pro/components","last_synced_at":"2025-04-18T22:11:44.664Z","repository":{"id":257823548,"uuid":"869048464","full_name":"cloudnode-pro/components","owner":"cloudnode-pro","description":"Base classes for web components","archived":false,"fork":false,"pushed_at":"2024-10-19T14:00:55.000Z","size":162,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-10-19T14:05:16.224Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"lgpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/cloudnode-pro.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":"2024-10-07T16:21:23.000Z","updated_at":"2024-10-19T13:58:07.000Z","dependencies_parsed_at":"2024-10-12T17:46:15.101Z","dependency_job_id":"c96be95b-633f-46e4-8895-38956d16e681","html_url":"https://github.com/cloudnode-pro/components","commit_stats":null,"previous_names":["cloudnode-pro/components"],"tags_count":9,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnode-pro%2Fcomponents","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnode-pro%2Fcomponents/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnode-pro%2Fcomponents/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cloudnode-pro%2Fcomponents/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cloudnode-pro","download_url":"https://codeload.github.com/cloudnode-pro/components/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":226971307,"owners_count":17711414,"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":[],"created_at":"2024-11-28T19:18:23.445Z","updated_at":"2024-11-28T19:18:23.956Z","avatar_url":"https://github.com/cloudnode-pro.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# @cldn/components\n\nBase classes for creating web components.\n\nThis library is intended for use in a web browser environment. A bundler, such as [Webpack](https://webpack.js.org/)\nor [Vite](https://vitejs.dev/) is recommended.\n\n[**Documentation**](https://components.cldn.pro)\n\n## Installation\n\n```shell\nnpm i @cldn/components\n```\n\n## Usage\n\nTo create your own components, it's recommended to extend one of the classes provided in this library.\n\nFor example:\n\n```ts\nimport {Component} from \"@cldn/components\";\n\nclass ButtonComponent extends Component\u003cHTMLButtonElement\u003e {\n    public constructor(text: string) {\n        super(\"button\");\n        this.text(text)\n            .class(\"bg-blue-500\", \"px-4\", \"…\");\n    }\n}\n```\n\n## Licence\n\nCopyright © 2024 Cloudnode OÜ\n\nThis file is part of @cldn/components.\n\n@cldn/components is free software: you can redistribute it and/or modify it under the terms of the GNU Lesser General\nPublic License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any\nlater version.\n\n@cldn/components is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied\nwarranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more\ndetails.\n\nYou should have received a copy of the GNU Lesser General Public License along with @cldn/components. If not,\nsee https://www.gnu.org/licenses/.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudnode-pro%2Fcomponents","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcloudnode-pro%2Fcomponents","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcloudnode-pro%2Fcomponents/lists"}