• SVG vector फ़ाइलों की अनावश्यक जानकारी को अपने-आप हटाने वाली Node.js आधारित library और CLI टूल
  • vector editor में सेव की गई SVG फ़ाइलों में शामिल metadata, comments, hidden elements, default values आदि जैसे rendering पर असर न डालने वाले हिस्सों को हटाकर/रूपांतरित करके फ़ाइल का आकार कम करता है
  • command/script/library सहित कई तरीकों से इस्तेमाल किया जा सकता है
    • single file प्रोसेसिंग: svgo one.svg two.svg -o one.min.svg two.min.svg
    • पूरे folder की recursive प्रोसेसिंग: svgo -rf path/to/directory_with_svgs -o path/to/output_directory
  • यह plugin संरचना पर काम करता है, और आप खुद plugin जोड़ सकते हैं या बारीक व्यवहार को customize कर सकते हैं
    • 33 plugins preset-default में शामिल हैं और क्रम से चलते हैं
    • removeDoctype, cleanupAttrs, inlineStyles, removeUselessStrokeAndFill, convertPathData, mergePaths आदि जैसे सहज नाम दिए गए हैं
    • svgo.config.mjs config फ़ाइल के जरिए कई plugins को enable/disable किया जा सकता है और व्यवहार को बारीकी से नियंत्रित किया जा सकता है
  • ओपन सोर्स होने के कारण इसे Node.js प्रोजेक्ट में embed किया जा सकता है या automation pipeline आदि में स्वतंत्र रूप से इस्तेमाल किया जा सकता है

अभी कोई टिप्पणी नहीं है.

अभी कोई टिप्पणी नहीं है.