{"id":19935049,"url":"https://github.com/nickersoft/svg-pathgen","last_synced_at":"2026-01-25T00:03:01.777Z","repository":{"id":239508184,"uuid":"799717130","full_name":"Nickersoft/svg-pathgen","owner":"Nickersoft","description":"A declarative generator for SVG path strings ⚒️","archived":false,"fork":false,"pushed_at":"2026-01-10T08:00:06.000Z","size":34,"stargazers_count":2,"open_issues_count":4,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-11T02:26:24.658Z","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":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Nickersoft.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"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,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2024-05-13T00:21:10.000Z","updated_at":"2025-11-16T01:42:38.000Z","dependencies_parsed_at":"2024-05-13T01:27:56.860Z","dependency_job_id":"c080ef86-c77b-439b-b61a-aa46f2978012","html_url":"https://github.com/Nickersoft/svg-pathgen","commit_stats":null,"previous_names":["nickersoft/svg-pathbuilder"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Nickersoft/svg-pathgen","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nickersoft%2Fsvg-pathgen","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nickersoft%2Fsvg-pathgen/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nickersoft%2Fsvg-pathgen/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nickersoft%2Fsvg-pathgen/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Nickersoft","download_url":"https://codeload.github.com/Nickersoft/svg-pathgen/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Nickersoft%2Fsvg-pathgen/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28739321,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-24T22:12:27.248Z","status":"ssl_error","status_checked_at":"2026-01-24T22:12:10.529Z","response_time":89,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":"2024-11-12T23:18:37.203Z","updated_at":"2026-01-25T00:03:01.761Z","avatar_url":"https://github.com/Nickersoft.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n\u003cimg src=\"logo.svg\" width=\"400px\" /\u003e\n\u003c/div\u003e\n\n---\n\nPathGen is a tiny, zero-dependency path generator based on the [now outdated path generator library](https://github.com/mathisonian/svg-path-generator) by [Matthew Conlen](https://github.com/mathisonian). It aims to provide a declarative way to write SVG paths, as the SVG [`d` commands](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/d) can be pretty hard to read at a glance.\n\nThis library has full TypeScript support and should be fairly intuitive to use.\n\nYou can use it as follows:\n\n```typescript\nconst path = new Path(\"M 20 30\")\n  .moveTo(10, 25)\n  .lineTo(10, 75)\n  .lineTo(60, 75)\n  .lineTo(10, 25)\n  .close()\n  .end();\n\nconsole.log(path); // M 20 30 10 25 L 10 75 60 75 10 25 Z\n```\n\nYou can install it via your favorite NPM package manager:\n\n```\n$ npm install svg-pathgen\n$ bun add svg-pathgen\n$ pnpm add svg-pathgen\n$ yarn add svg-pathgen\n```","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickersoft%2Fsvg-pathgen","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnickersoft%2Fsvg-pathgen","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnickersoft%2Fsvg-pathgen/lists"}