{"id":18553697,"url":"https://github.com/websemantics/svg-smart","last_synced_at":"2025-06-13T13:07:34.200Z","repository":{"id":57375562,"uuid":"55555365","full_name":"websemantics/svg-smart","owner":"websemantics","description":"A Node.js module that generates all your svg, png, icon and svg sprites needs using a data-driven svg template system","archived":false,"fork":false,"pushed_at":"2016-08-10T17:48:51.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-13T11:03:24.593Z","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":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/websemantics.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG","contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2016-04-05T21:40:31.000Z","updated_at":"2021-01-13T19:49:29.000Z","dependencies_parsed_at":"2022-09-14T09:10:41.151Z","dependency_job_id":null,"html_url":"https://github.com/websemantics/svg-smart","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/websemantics/svg-smart","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/websemantics%2Fsvg-smart","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/websemantics%2Fsvg-smart/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/websemantics%2Fsvg-smart/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/websemantics%2Fsvg-smart/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/websemantics","download_url":"https://codeload.github.com/websemantics/svg-smart/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/websemantics%2Fsvg-smart/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259650958,"owners_count":22890385,"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-06T21:18:01.368Z","updated_at":"2025-06-13T13:07:34.178Z","avatar_url":"https://github.com/websemantics.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"```\n   ______      __________            ____  __  ___  ___     ___    ______\n  / _____ |   /  _  ____/           / __/ /  |/  / / _ |   / _ \\  /_  __/\n  \\ \\   | |  / / / / __    ____    _\\ \\  / /|_/ / / __ |  / , _/   / /\n   \\ \\  | | / / / / / /   /___/   /___/ /_/  /_/ /_/ |_| /_/|_|   /_/\n  __\\ \\ | |/ / / (_/ /          \n/____/  |___/  \\____/  Automate \u0026 optimize your graphic assets.\n\n```\n\u003e Updated : April 8, 2016\n\n[![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg)](http://standardjs.com/)\n[![NPM version](https://badge.fury.io/js/svg-smart.svg)](http://badge.fury.io/js/svg-smart)\n\n\nA Node.js module that generates all your svg, png, icon and svg sprites needs using a data─driven svg template system.\n\nThis Module was designed to be used with a build system, i.e. http://gulpjs.com/, http://gruntjs.com/ etc.\n\nFor Gulp projects, use [Gulp SVG Smart](https://github.com/websemantics/gulp-svg-smart)\n\n\n## Workflow\n\n```\u003csmall\u003e\n          (1) SVG /    (2) PNG                   (3) ICON              (4) HTML\n              SPRITE\nDATA ═════╦════════════╦═════════════════════════╦════════════════════════════╗\n          │            │                         │                            │\n┌─────────v────┐       │                         │                 ┌──────────v────┐\n│ SVG TEMPLATE │       │                         │                 | HTML TEMPLATE │\n└───┬──────────┘       v                         v                 └──────────┬────┘\n    │                                                                         │\n    ├─ logo.svg ───────┬─ logo─w164.png  ────────┬─ favicon.ico               │\n    │                  ├─ logo─w164@2x.png       ├─ favicon─32x32.png         │\n    │                  ├─ logo─h32.png           ├─ android─chrome─36x36.png  │\n    │                  └─ logo─h32@2x.png        ├─ apple─touch─icon.png      │\n    │                  ┆                         ┆                            │\n    │                                                                         │\n    ├─ logo─text.svg ──┬─ logo─text+w125.png                                  │\n    │                  ├─ logo─text+w125@2x.png                               │\n    ┆                  ├─ logo─text+h32.png                                   │\n                       └─ logo─text+h32@2x.png   ┆                            │\n    │                  ┆                         │                            │\n    ├─ sprite.svg                                │                            │\n    ├─ sprite.css      ┆                         │                            │\n    │                  │                         │                            │\n┌───v──────────────────v─────────────────────────v────────────────────────────v─┐\n│ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒     index.html    ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ ▒ │\n└───────────────────────────────────────────────────────────────────────────────┘\n```\n\nThe `smart.json` file contains the data used to drive the media generation process.\n\n#### Data\n\nList of values that can be referenced in the media list.\n\n#### Development\n\n1- Install Release-it\n\n```\nnpm install release-it -g\n```\n\n2- Run it, to git commit and publish to npm\n\n```\nrelease-it\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebsemantics%2Fsvg-smart","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fwebsemantics%2Fsvg-smart","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fwebsemantics%2Fsvg-smart/lists"}