{"id":20548610,"url":"https://github.com/natescarlet/svg-variable-width-line","last_synced_at":"2025-04-14T10:53:27.115Z","repository":{"id":42803092,"uuid":"202735238","full_name":"NateScarlet/svg-variable-width-line","owner":"NateScarlet","description":"Create svg path with each point can have variable width.","archived":false,"fork":false,"pushed_at":"2025-02-13T16:41:48.000Z","size":810,"stargazers_count":16,"open_issues_count":11,"forks_count":3,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-05T00:02:23.881Z","etag":null,"topics":["path","stroke","svg"],"latest_commit_sha":null,"homepage":"","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/NateScarlet.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":"2019-08-16T13:46:26.000Z","updated_at":"2025-03-29T23:27:28.000Z","dependencies_parsed_at":"2023-11-07T02:25:26.601Z","dependency_job_id":"deb16924-58c8-49f3-ba06-a977719869a0","html_url":"https://github.com/NateScarlet/svg-variable-width-line","commit_stats":{"total_commits":265,"total_committers":2,"mean_commits":132.5,"dds":0.06792452830188678,"last_synced_commit":"bd36a5b0737d4d1edc26e1c462d332ccd9513534"},"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NateScarlet%2Fsvg-variable-width-line","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NateScarlet%2Fsvg-variable-width-line/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NateScarlet%2Fsvg-variable-width-line/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NateScarlet%2Fsvg-variable-width-line/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NateScarlet","download_url":"https://codeload.github.com/NateScarlet/svg-variable-width-line/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248868773,"owners_count":21174756,"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":["path","stroke","svg"],"created_at":"2024-11-16T02:14:01.601Z","updated_at":"2025-04-14T10:53:27.093Z","avatar_url":"https://github.com/NateScarlet.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# SVG Variable width line\n\n[![npm package](https://img.shields.io/npm/v/svg-variable-width-line)](https://www.npmjs.com/package/svg-variable-width-line)\n[![Build Status](https://img.shields.io/circleci/project/github/NateScarlet/svg-variable-width-line.svg)](https://circleci.com/gh/NateScarlet/svg-variable-width-line)\n\nCreate svg `path` with each point can have variable width.\n\nCan create line with `PointerEvent.pressure`.\n\n[Demo](https://natescarlet.github.io/svg-variable-width-line/)\n\n```javascript\nimport * as svgVariableWidthLine from 'svg-variable-width-line';\n\nsvgVariableWidthLine.compute({\n  points: [{ x: 0, y: 0, w: 1 }, { x: 1, y: 0, w: 0 }],\n});\n// { d: '\u003cWill be path `d` data\u003e' }\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatescarlet%2Fsvg-variable-width-line","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnatescarlet%2Fsvg-variable-width-line","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnatescarlet%2Fsvg-variable-width-line/lists"}