{"id":30261661,"url":"https://github.com/peerigon/uberschrift","last_synced_at":"2025-08-15T20:55:27.232Z","repository":{"id":216647080,"uuid":"573153328","full_name":"peerigon/uberschrift","owner":"peerigon","description":"Magic heading levels for React","archived":false,"fork":false,"pushed_at":"2025-02-28T07:53:05.000Z","size":468,"stargazers_count":3,"open_issues_count":1,"forks_count":0,"subscribers_count":14,"default_branch":"main","last_synced_at":"2025-08-09T18:04:53.852Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://uberschrift.peerigon.io/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"unlicense","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/peerigon.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}},"created_at":"2022-12-01T20:16:25.000Z","updated_at":"2025-02-28T07:51:24.000Z","dependencies_parsed_at":"2024-04-22T14:06:08.665Z","dependency_job_id":null,"html_url":"https://github.com/peerigon/uberschrift","commit_stats":null,"previous_names":["peerigon/uberschrift"],"tags_count":13,"template":false,"template_full_name":null,"purl":"pkg:github/peerigon/uberschrift","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Fuberschrift","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Fuberschrift/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Fuberschrift/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Fuberschrift/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/peerigon","download_url":"https://codeload.github.com/peerigon/uberschrift/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/peerigon%2Fuberschrift/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":270630151,"owners_count":24619372,"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","status":"online","status_checked_at":"2025-08-15T02:00:12.559Z","response_time":110,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":"2025-08-15T20:55:22.434Z","updated_at":"2025-08-15T20:55:27.220Z","avatar_url":"https://github.com/peerigon.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# `\u003cHx\u003euberschrift 🧢\u003c/Hx\u003e`\n\n**Zero-dependency magic heading levels for React and Vue.js**\n\n---\n\n|  |  |\n| ----------- | ------------------------------------------------------------ |\n| uberschrift | [![npm version badge](https://img.shields.io/npm/v/uberschrift?style=flat-square)](https://npmjs.com/package/uberschrift) |\n| vueberschrift | [![npm version badge](https://img.shields.io/npm/v/vueberschrift?style=flat-square)](https://npmjs.com/package/vueberschrift) |\n| Issues | [![Issue badge](https://img.shields.io/github/issues/peerigon/uberschrift?style=flat-square)](https://github.com/peerigon/uberschrift/issues) |\n| CI status | [![CI badge](https://github.com/peerigon/uberschrift/actions/workflows/ci.yml/badge.svg)](https://github.com/peerigon/uberschrift/actions/workflows/pull_request.yml) |\n\n---\n\n## [📖 Full Documentation](https://uberschrift.peerigon.io)\n\n## 🛠️ Usage\n\n### ⚛️ React\n\n```sh\nnpm install uberschrift\n```\n\n`page.tsx`:\n\n```tsx\nimport { Hx, HxBoundary } from \"uberschrift\";\n\n\u003cHx\u003eOutside of the top level: this will be an h1\u003c/Hx\u003e\n\n\u003cHxBoundary\u003e\n  \u003cHx\u003eWithin the top level: this will be an h2\u003c/Hx\u003e\n\n  \u003cHxBoundary\u003e\n    \u003cHx\u003eWithin the 2nd level: this will be an h3\u003c/Hx\u003e\n\n    \u003cHxBoundary\u003e\n      \u003cHx\u003eWithin the 3rd level: this will be an h4\u003c/Hx\u003e\n    \u003c/HxBoundary\u003e\n\n    \u003cHx\u003eAgain within the 2nd level: this will be an h3\u003c/Hx\u003e\n  \u003c/HxBoundary\u003e\n\u003c/HxBoundary\u003e\n```\n\nrenders as:\n\n```html\n\u003ch1\u003eOutside of the top level: this will be an h1\u003c/h1\u003e\n\u003ch2\u003eWithin the top level: this will be an h2\u003c/h2\u003e\n\u003ch3\u003eWithin the 2nd level: this will be an h3\u003c/h3\u003e\n\u003ch4\u003eWithin the 3rd level: this will be an h4\u003c/h4\u003e\n\u003ch3\u003eAgain within the 2nd level: this will be an h3\u003c/h3\u003e\n```\n\n### 🌲 Vue.js\n\n```sh\nnpm install vueberschrift\n```\n\n`App.vue`:\n\n```html\n\u003cscript setup lang=\"ts\"\u003e\n  import { Hx, HxBoundary } from \"vueberschrift\";\n\u003c/script\u003e\n\n\u003ctemplate\u003e\n  \u003cHx\u003eOutside of the top level: this will be an h1\u003c/Hx\u003e\n  \u003cHxBoundary\u003e\n    \u003cHx\u003eWithin the top level: this will be an h2\u003c/Hx\u003e\n    \u003cHxBoundary\u003e\n      \u003cHx\u003eWithin the 2nd level: this will be an h3\u003c/Hx\u003e\n    \u003c/HxBoundary\u003e\n  \u003c/HxBoundary\u003e\n\u003c/template\u003e\n```\n\n---\n\n## Sponsors\n\n[\u003cimg src=\"https://assets.peerigon.com/peerigon/logo/peerigon-logo-flat-spinat.png\" width=\"150\" /\u003e](https://peerigon.com)\n\n---\n\n## 👩‍💻 Development\n\n```sh\nnpm install\nnpx turbo dev\nnpx turbo test\nnpx turbo build\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeerigon%2Fuberschrift","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpeerigon%2Fuberschrift","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpeerigon%2Fuberschrift/lists"}