{"name":"is-svg","version":"6.0.0","keywords":["svg","vector","graphics","image","picture","type","detect","check","is","string"],"author":{"url":"https://sindresorhus.com","name":"Sindre Sorhus","email":"sindresorhus@gmail.com"},"license":"MIT","_id":"is-svg@6.0.0","maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"homepage":"https://github.com/sindresorhus/is-svg#readme","bugs":{"url":"https://github.com/sindresorhus/is-svg/issues"},"dist":{"shasum":"e03ff43cb14d5de1254642d70d879f49534e4fb8","tarball":"http://registry-npm.ywwl.com/is-svg/download/is-svg-6.0.0.tgz","fileCount":5,"integrity":"sha512-dGyV+26JXUyoWF8Su3LfFS9tcmrR/uYYSyABE66iv4zJnS77y8T3PZB0nWRKOJJiU1lelGMGuYMylqrFu8D7yQ==","signatures":[{"sig":"MEQCIHxQIEuzPUZySq0QvSGi9l71oJxfik8tnU9X80UaBuOyAiAMHW1+PaBhIEsZFpLNRDlI2vsVrb+bjaSYNCrkQizOQw==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":2988,"size":1683,"noattachment":false,"key":"/is-svg/-/is-svg-6.0.0.tgz"},"type":"module","types":"./index.d.ts","engines":{"node":">=20"},"exports":{"types":"./index.d.ts","default":"./index.js"},"funding":"https://github.com/sponsors/sindresorhus","gitHead":"61a51ace851133b1fb7c0046605269abb7c8db54","scripts":{"test":"xo && ava && tsd"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"repository":{"url":"git+https://github.com/sindresorhus/is-svg.git","type":"git"},"_npmVersion":"10.9.2","description":"Check if a string is SVG","directories":{},"sideEffects":false,"_nodeVersion":"23.6.1","dependencies":{"@file-type/xml":"^0.4.3"},"_hasShrinkwrap":false,"devDependencies":{"xo":"^0.60.0","ava":"^6.2.0","tsd":"^0.32.0","time-span":"^5.1.0","@types/node":"^22.15.3"},"_npmOperationalInternal":{"tmp":"tmp/is-svg_6.0.0_1745923788617_0.4904862703495154","host":"s3://npm-registry-packages-npm-production"},"readme":"# is-svg\n\n> Check if a string is [SVG](https://en.wikipedia.org/wiki/Scalable_Vector_Graphics)\n\n## Install\n\n```sh\nnpm install is-svg\n```\n\n## Usage\n\n```js\nimport isSvg from 'is-svg';\n\nisSvg('<svg xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"#00CD9F\"/></svg>');\n//=> true\n```\n\n## API\n\n### isSvg(string, options?)\n\n#### options\n\nType: `object`\n\n##### validate\n\nType: `boolean`\\\nDefault: `true`\n\nWhether to validate the SVG as proper XML.\n\nTurning this off can improve performance significantly.\n","publish_time":1745923788806,"_cnpm_publish_time":1745923788806,"dist-tags":{"latest":"6.1.0"}}