{"id":19054950,"url":"https://github.com/monospaced/porg","last_synced_at":"2025-04-24T03:33:02.605Z","repository":{"id":136298640,"uuid":"117095030","full_name":"monospaced/porg","owner":"monospaced","description":"Convert SVG to JSX","archived":false,"fork":false,"pushed_at":"2018-04-05T16:44:11.000Z","size":59,"stargazers_count":5,"open_issues_count":1,"forks_count":1,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-18T12:18:09.447Z","etag":null,"topics":["cli","jsx","nodejs","react","svg"],"latest_commit_sha":null,"homepage":"","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/monospaced.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}},"created_at":"2018-01-11T12:04:54.000Z","updated_at":"2019-11-01T13:49:13.000Z","dependencies_parsed_at":"2023-07-24T07:00:20.815Z","dependency_job_id":null,"html_url":"https://github.com/monospaced/porg","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/monospaced%2Fporg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monospaced%2Fporg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monospaced%2Fporg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/monospaced%2Fporg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/monospaced","download_url":"https://codeload.github.com/monospaced/porg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250557392,"owners_count":21450162,"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":["cli","jsx","nodejs","react","svg"],"created_at":"2024-11-08T23:40:45.184Z","updated_at":"2025-04-24T03:33:02.600Z","avatar_url":"https://github.com/monospaced.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Porg\n\nConvert SVG to JSX\n\n![porg.svg](porg.svg)\n\nFrom `.svg`\n\n```html\n\u003csvg xmlns=\"http://www.w3.org/2000/svg\"\u003e\n  \u003cg\u003e…\u003c/g\u003e\n\u003c/svg\u003e\n```\n\nTo `.js`\n\n```js\nimport React from \"react\";\n\nexport default = (\n  \u003csvg xmlns=\"http://www.w3.org/2000/svg\"\u003e\n    \u003cg\u003e…\u003c/g\u003e\n  \u003c/svg\u003e\n);\n```\n\n## Usage\n\n```\n$ porg [options] \u003cpath\u003e\n\nOptions:\n\n    -d, --delete     delete source file(s)\n    -r, --recursive  process folders recursively\n    -V, --version    output the version number\n    -h, --help       output usage information\n```\n\n## Dependencies\n\ngit | node 8 | npm\n\nyarn `brew install yarn --without-node`\n\n## Installation\n\n```\n$ git clone git@github.com:monospaced/porg.git\n$ cd porg\n$ yarn \u0026\u0026 yarn link\n```\n\n## Examples\n\n### File\n\n```\n$ porg ./test/test.svg\n\n./test/test.js\n```\n\n### Directory\n\n```\n$ porg ./test\n\n./test/test.js\n./test/etc.js\n…\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonospaced%2Fporg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmonospaced%2Fporg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmonospaced%2Fporg/lists"}