{"id":19505933,"url":"https://github.com/morlay/svg2jsx","last_synced_at":"2025-02-25T22:15:51.504Z","repository":{"id":65503727,"uuid":"52074851","full_name":"morlay/svg2jsx","owner":"morlay","description":null,"archived":false,"fork":false,"pushed_at":"2016-07-29T11:30:13.000Z","size":8,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-10T19:54:22.968Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/morlay.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}},"created_at":"2016-02-19T08:57:55.000Z","updated_at":"2016-02-19T09:03:40.000Z","dependencies_parsed_at":"2023-01-26T11:15:25.589Z","dependency_job_id":null,"html_url":"https://github.com/morlay/svg2jsx","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morlay%2Fsvg2jsx","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morlay%2Fsvg2jsx/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morlay%2Fsvg2jsx/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/morlay%2Fsvg2jsx/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/morlay","download_url":"https://codeload.github.com/morlay/svg2jsx/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":240754364,"owners_count":19852189,"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-11-10T22:35:02.823Z","updated_at":"2025-02-25T22:15:51.463Z","avatar_url":"https://github.com/morlay.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## svg2jsx\n\ntransform svg to jsx constants elements.\n\n[![Build Status](https://img.shields.io/travis/morlay/svg2jsx.svg?style=flat-square)](https://travis-ci.org/morlay/svg2jsx)\n[![NPM](https://img.shields.io/npm/v/svg2jsx.svg?style=flat-square)](https://npmjs.org/package/svg2jsx)\n[![Dependencies](https://img.shields.io/david/morlay/svg2jsx.svg?style=flat-square)](https://david-dm.org/morlay/svg2jsx)\n[![License](https://img.shields.io/npm/l/svg2jsx.svg?style=flat-square)](https://npmjs.org/package/svg2jsx)\n\nsee more in examples, default use in webpack.\n\n### Options\n\n#### `pragma` \n\nsame as \u003chttp://babeljs.io/docs/plugins/transform-react-jsx/\u003e\n\n#### `jsxWrapper(jsxString)` \n\nwrapper of jsx string, must be result a `string`\n\n#### `svgProcessor($svgElm, $)`\n \nprocessor for svgElm, `$` is an instance of \u003chttps://github.com/cheeriojs/cheerio\u003e \nmust remove or transform attrs like `xmlns:xlink` in xml","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorlay%2Fsvg2jsx","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmorlay%2Fsvg2jsx","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmorlay%2Fsvg2jsx/lists"}