{"name":"is-svg","version":"5.0.1","description":"Check if a string is SVG","license":"MIT","repository":{"type":"git","url":"git+https://github.com/sindresorhus/is-svg.git"},"funding":"https://github.com/sponsors/sindresorhus","author":{"name":"Sindre Sorhus","email":"sindresorhus@gmail.com","url":"https://sindresorhus.com"},"type":"module","exports":{"types":"./index.d.ts","default":"./index.js"},"sideEffects":false,"engines":{"node":">=14.16"},"scripts":{"//test":"xo && ava && tsd","test":"ava && tsd"},"keywords":["svg","vector","graphics","image","picture","type","detect","check","is","string"],"dependencies":{"fast-xml-parser":"^4.1.3"},"devDependencies":{"@types/node":"^18.14.2","ava":"^5.2.0","time-span":"^5.1.0","tsd":"^0.25.0","xo":"^0.53.1"},"_id":"is-svg@5.0.1","gitHead":"e51ff5c763caf863b74da76c17ebca130122be26","types":"./index.d.ts","bugs":{"url":"https://github.com/sindresorhus/is-svg/issues"},"homepage":"https://github.com/sindresorhus/is-svg#readme","_nodeVersion":"22.1.0","_npmVersion":"10.6.0","dist":{"integrity":"sha512-mLYxDsfisQWdS4+gSblAwhATDoNMS/tx8G7BKA+aBIf7F0m1iUwMvuKAo6mW4WMleQAEE50I1Zqef9yMMfHk3w==","shasum":"3d5ab95614716d238363ac865800dece43198fc6","tarball":"http://registry-npm.ywwl.com/is-svg/download/is-svg-5.0.1.tgz","fileCount":5,"unpackedSize":3275,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIC5oDLRedqGT1PCdHrkUkEpEWWMC0wzv1p5Pa61UF2CqAiATcBuHmHFhFYyQNgSz+qIMr3sVALFuQ/hSQ2KFVgUtjA=="}],"size":1816,"noattachment":false,"key":"/is-svg/-/is-svg-5.0.1.tgz"},"_npmUser":{"name":"sindresorhus","email":"sindresorhus@gmail.com"},"directories":{},"maintainers":[{"name":"sindresorhus","email":"sindresorhus@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/is-svg_5.0.1_1715691034849_0.9855385215689105"},"_hasShrinkwrap":false,"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","publish_time":1715691035007,"_cnpm_publish_time":1715691035007,"dist-tags":{"latest":"6.1.0"}}