{"id":15099399,"url":"https://github.com/substrate-system/wavy-hr","last_synced_at":"2025-04-14T22:36:08.322Z","repository":{"id":249607370,"uuid":"831979108","full_name":"substrate-system/wavy-hr","owner":"substrate-system","description":"horizontal rule, wavy","archived":false,"fork":false,"pushed_at":"2025-03-26T05:04:55.000Z","size":38,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-26T06:19:57.428Z","etag":null,"topics":["component","hr","web","webcomponent"],"latest_commit_sha":null,"homepage":"https://substrate-system.github.io/wavy-hr/","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/substrate-system.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","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":"2024-07-22T05:42:57.000Z","updated_at":"2025-03-26T05:04:53.000Z","dependencies_parsed_at":"2024-07-22T07:33:01.516Z","dependency_job_id":"acfaa9ad-df62-466a-9ebe-9f8c3491a959","html_url":"https://github.com/substrate-system/wavy-hr","commit_stats":{"total_commits":15,"total_committers":2,"mean_commits":7.5,"dds":0.1333333333333333,"last_synced_commit":"0edd1accee204fe095e8831276b6c4a71e68900b"},"previous_names":["substrate-system/wavy-hr"],"tags_count":4,"template":false,"template_full_name":"substrate-system/template-web-component","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/substrate-system%2Fwavy-hr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/substrate-system%2Fwavy-hr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/substrate-system%2Fwavy-hr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/substrate-system%2Fwavy-hr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/substrate-system","download_url":"https://codeload.github.com/substrate-system/wavy-hr/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248974646,"owners_count":21192186,"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":["component","hr","web","webcomponent"],"created_at":"2024-09-25T17:12:15.054Z","updated_at":"2025-04-14T22:36:08.298Z","avatar_url":"https://github.com/substrate-system.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# wavy hr\n![tests](https://github.com/substrate-system/wavy-hr/actions/workflows/nodejs.yml/badge.svg)\n[![types](https://img.shields.io/npm/types/@substrate-system/wavy-hr?style=flat-square)](README.md)\n[![module](https://img.shields.io/badge/module-ESM%2FCJS-blue?style=flat-square)](README.md)\n[![install size](https://packagephobia.com/badge?p=@substrate-system/wavy-hr)](https://packagephobia.com/result?p=@substrate-system/wavy-hr)\n[![dependencies](https://img.shields.io/badge/dependencies-zero-brightgreen.svg?style=flat-square)](package.json)\n[![semantic versioning](https://img.shields.io/badge/semver-2.0.0-blue?logo=semver\u0026style=flat-square)](https://semver.org/)\n[![license](https://img.shields.io/badge/license-MIT-brightgreen.svg?style=flat-square)](LICENSE)\n\nAn `hr` tag with style. Be sure to copy the file `./dist/wave.svg` into the root public folder on your web server. The CSS depends on that file.\n\n[See a live demo](https://substrate-system.github.io/wavy-hr/)\n\n\u003c!-- toc --\u003e\n\n- [install](#install)\n- [API](#api)\n  * [ESM](#esm)\n  * [Common JS](#common-js)\n- [CSS](#css)\n  * [Import CSS](#import-css)\n- [use](#use)\n  * [JS](#js)\n  * [HTML](#html)\n  * [pre-built JS](#pre-built-js)\n\n\u003c!-- tocstop --\u003e\n\n## install\n\n```sh\nnpm i -S @substrate-system/wavy-hr\n```\n\n## API\nESM and common JS via [package.json `exports` field](https://nodejs.org/api/packages.html#exports).\n\n### ESM\n```js\nimport '@substrate-system/wavy-hr'\n```\n\n### Common JS\n```js\nrequire('@substrate-system/wavy-hr')\n```\n\n## CSS\n\n### Import CSS\n\n```js\nimport '@substrate-system/wavy-hr/css'\n```\n\nOr minified:\n```js\nimport '@substrate-system/wavy-hr/css/min'\n```\n\n## use\nThis calls the global function `customElements.define`. Just import, then use\nthe tag in your HTML.\n\n### JS\n```js\nimport '@substrate-system/wavy-hr'\n```\n\n### HTML\n```html\n\u003cdiv\u003e\n    \u003cwavy-hr\u003e\u003c/wavy-hr\u003e\n\u003c/div\u003e\n```\n\n### pre-built JS\nThis package exposes minified JS files too. Copy them to a location that is\naccessible to your web server, then link to them in HTML.\n\n#### copy\n```sh\ncp ./node_modules/@substrate-system/wavy-hr/dist/index.min.js ./public/wavy-hr.min.js\n```\n\n#### HTML\n```html\n\u003cscript type=\"module\" src=\"./wavy-hr.min.js\"\u003e\u003c/script\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubstrate-system%2Fwavy-hr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsubstrate-system%2Fwavy-hr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsubstrate-system%2Fwavy-hr/lists"}