{"library":"tinysvg-js","type":"library","category":null,"description":"A Web3-inspired SVG transpiler that minimizes SVG code for blockchain/NFT use, version 1.4.0. It converts SVG into a compact token format (tinySVG) suitable for smart contract storage, with optional LZ compression. Key differentiators: designed for NFT contracts (InfinityMint), separates colors from paths, allows programmatic whitelist/blacklist of SVG tags. Aims to reduce gas costs. Also supports converting tinySVG back to SVG. Ships TypeScript types. Release history sparse; primarily maintained by 0x0zAgency.","language":"javascript","status":"active","version":"1.4.0","tags":["javascript","svg","typescript"],"last_verified":"Fri May 01","install":[{"cmd":"npm install tinysvg-js","imports":["import { tinySVG } from 'tinysvg-js'","import { tinySVG } from 'tinysvg-js'; const result = tinySVG.toTinySVG(svgString);","import { tinySVG } from 'tinysvg-js'; const result = tinySVG.toSVG(tinySvgString);"]},{"cmd":"yarn add tinysvg-js","imports":[]},{"cmd":"pnpm add tinysvg-js","imports":[]}],"homepage":null,"github":"https://github.com/0x0zAgency/TinySVG-JS","docs":null,"changelog":null,"pypi":null,"npm":"https://www.npmjs.com/package/tinysvg-js","openapi_spec":null,"status_page":null,"smithery":null,"compatibility":null}