{"id":13568339,"url":"https://github.com/UniversalDataTool/udt-to-svg","last_synced_at":"2025-04-04T04:30:59.118Z","repository":{"id":105784789,"uuid":"289518079","full_name":"UniversalDataTool/udt-to-svg","owner":"UniversalDataTool","description":"Convert Universal Data Tool files to SVGs for easy viewing.","archived":false,"fork":false,"pushed_at":"2020-08-22T16:11:42.000Z","size":88,"stargazers_count":0,"open_issues_count":0,"forks_count":2,"subscribers_count":5,"default_branch":"master","last_synced_at":"2024-10-29T18:41:26.684Z","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/UniversalDataTool.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}},"created_at":"2020-08-22T15:48:10.000Z","updated_at":"2020-08-22T16:11:44.000Z","dependencies_parsed_at":null,"dependency_job_id":"65d90697-759f-4623-93d6-e04392684cb3","html_url":"https://github.com/UniversalDataTool/udt-to-svg","commit_stats":{"total_commits":3,"total_committers":1,"mean_commits":3.0,"dds":0.0,"last_synced_commit":"c321bd9f0c8eb04857f72e29e2e0fcecd902e33d"},"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fudt-to-svg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fudt-to-svg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fudt-to-svg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/UniversalDataTool%2Fudt-to-svg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/UniversalDataTool","download_url":"https://codeload.github.com/UniversalDataTool/udt-to-svg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247123072,"owners_count":20887259,"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-08-01T14:00:23.741Z","updated_at":"2025-04-04T04:30:54.527Z","avatar_url":"https://github.com/UniversalDataTool.png","language":"JavaScript","funding_links":[],"categories":["Converters"],"sub_categories":[],"readme":"# UDT to SVG\n\nThis project converts UDT samples to SVGs, this makes them viewable in a wide\nvariety of environments without loading the entire Universal Data Tool as a\nJavascript library.\n\nThe main goal of this library is comprehensive support of the UDT format. For\nthe most part, it should remain lightweight.\n\nIf you run `node example.js`, you'll get a file that looks like this.\n\n![](https://user-images.githubusercontent.com/1910070/90960162-b3f57e80-e46d-11ea-8340-3694e0949fd8.png)\n\n## Usage\n\nTo install: `npm install udt-to-svg`\n\n```javascript\nimport { sampleToSvg } from \"udt-to-svg\"\n\nsampleToSvg(udtDataset.samples[0], { width: 400, height: 300 })\n// Outputs: \u003csvg width=\"400\" height=\"300\"\u003e....\u003c/svg\u003e\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FUniversalDataTool%2Fudt-to-svg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FUniversalDataTool%2Fudt-to-svg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FUniversalDataTool%2Fudt-to-svg/lists"}