{"id":22975864,"url":"https://github.com/printf83/ts-bootstrap","last_synced_at":"2025-04-02T08:14:19.085Z","repository":{"id":197925226,"uuid":"699197075","full_name":"printf83/ts-bootstrap","owner":"printf83","description":null,"archived":false,"fork":false,"pushed_at":"2023-10-11T14:47:31.000Z","size":95,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-07T22:49:50.309Z","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/printf83.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}},"created_at":"2023-10-02T06:22:09.000Z","updated_at":"2023-10-03T08:19:42.000Z","dependencies_parsed_at":"2023-10-11T13:31:15.721Z","dependency_job_id":null,"html_url":"https://github.com/printf83/ts-bootstrap","commit_stats":null,"previous_names":["printf83/ts-bootstrap"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printf83%2Fts-bootstrap","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printf83%2Fts-bootstrap/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printf83%2Fts-bootstrap/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/printf83%2Fts-bootstrap/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/printf83","download_url":"https://codeload.github.com/printf83/ts-bootstrap/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246777833,"owners_count":20832032,"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-12-15T00:39:55.925Z","updated_at":"2025-04-02T08:14:19.051Z","avatar_url":"https://github.com/printf83.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# bsts\n\nMaybe this is the stupid way to generate HTML, but, this is the way I learn. \nThis library is just to create bootstrap 5.3 HTML but in TS way.\n\nexample :\n\n```\nimport {core, b, h} from \"@printf83/bsts\";\n\ncore.documentReady(() =\u003e {\n\tlet body = document.getElementById(\"main\") as Element;\n\tcore.replaceChild(body, new h.div([\n        new h.p(\"This is example p tag\"),\n        new h.p({lead:true,data:{test:\"test-data\"}},\"This is example p tag with attribute\"),\n        new b.button({id:\"btn1\",color:\"primary\"},\"Button\"),\n    ]));\n});\n```\n\nCheck [bsts testing website](https://printf83.github.io/bsts-test/) or [github](https://github.com/printf83/bsts-test) for more example code\nUpdate : 21/07/2023","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprintf83%2Fts-bootstrap","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fprintf83%2Fts-bootstrap","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fprintf83%2Fts-bootstrap/lists"}