{"_id":"@file-type/xml","_rev":"17-b4fd3d5a1d1a6f6c6f9e7ec2101b2c1d","name":"@file-type/xml","dist-tags":{"latest":"1.2.0"},"versions":{"0.1.1":{"name":"@file-type/xml","version":"0.1.1","keywords":["file-type","detection","detector","XML","SVG","XHTML","RSS","KML"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"@file-type/xml@0.1.1","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/file-type-xml#readme","bugs":{"url":"https://github.com/Borewit/file-type-xml/issues"},"dist":{"shasum":"247d058faa0aa99b657c3ca4313d6a7290300e79","tarball":"https://registry.npmjs.org/@file-type/xml/-/xml-0.1.1.tgz","fileCount":3,"integrity":"sha512-qsMFarLc7ewCQANaGa7GAchBMKMbF5gOXmibt5tdsk2tswHOdr4aFtAcME/80uCr8QjBzw8aicYWDEn2v9/q1g==","signatures":[{"sig":"MEYCIQDR4YfUiJguQLSFreJ6KjajyI2rpYgzsSMClBfmKrENPQIhAOshzAkeXRmy7fMuUIrThwiEg2Ov7rY8BzFMX5e9iTe4","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":4889},"type":"module","exports":"./lib/index.js","gitHead":"1183f34f51462d4e81f0f7494ccc7bba6786ba13","scripts":{"test":"mocha"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/file-type-xml.git","type":"git"},"_npmVersion":"10.8.2","description":"XML detection plugin","directories":{},"_nodeVersion":"20.17.0","dependencies":{"sax":"^1.4.1","strtok3":"^10.0.1"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.3","devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1"},"_npmOperationalInternal":{"tmp":"tmp/xml_0.1.1_1734521269543_0.8713474355268451","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@file-type/xml","version":"0.2.0","keywords":["file-type","detect","detection","detector","XML","signature","namespace","SVG","XHTML","RSS","KML","GML","MusicXML"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"@file-type/xml@0.2.0","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/file-type-xml#readme","bugs":{"url":"https://github.com/Borewit/file-type-xml/issues"},"dist":{"shasum":"24526c33c647ab60c18d891194d6702779107aff","tarball":"https://registry.npmjs.org/@file-type/xml/-/xml-0.2.0.tgz","fileCount":3,"integrity":"sha512-A7FLAcXbn041ux1NRIdlWY+SVLYRIx5JiLgM1AETKsWKhiKqoAEHLRf7fS+GECqk+vnLo/en+4CTkbH34vte6A==","signatures":[{"sig":"MEQCIAZjCDO/jE1xOjQUZkgg7bjgv0D/VB6o5RekZK41RkYlAiBTzpBETtLo+s6lXjrRgXM6FUYsVvyuBCL4ixEvWEuEMw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6714},"type":"module","exports":"./lib/index.js","gitHead":"803e16d8009634646d4851883b95ea35123e6a02","scripts":{"test":"mocha"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/file-type-xml.git","type":"git"},"_npmVersion":"10.8.2","description":"XML detection plugin","directories":{},"_nodeVersion":"20.17.0","dependencies":{"sax":"^1.4.1","strtok3":"^10.0.1"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.3","devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1"},"_npmOperationalInternal":{"tmp":"tmp/xml_0.2.0_1734639360854_0.5086854820885987","host":"s3://npm-registry-packages-npm-production"}},"0.2.1":{"name":"@file-type/xml","version":"0.2.1","keywords":["file-type","detect","detection","detector","XML","signature","namespace","SVG","XHTML","RSS","KML","GML","MusicXML"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"@file-type/xml@0.2.1","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/file-type-xml#readme","bugs":{"url":"https://github.com/Borewit/file-type-xml/issues"},"dist":{"shasum":"85ed71fdc07a1660f3fa3ec4a0c8152de53aa200","tarball":"https://registry.npmjs.org/@file-type/xml/-/xml-0.2.1.tgz","fileCount":3,"integrity":"sha512-1xx7nxYLTCvEyFAEQzrguFL66QHTJbNNHXxhLW4UpBEqbM+MCE0If7sV/kpQ/4JalpHQTJ8SdDLDn73n2j65nQ==","signatures":[{"sig":"MEYCIQDY8PnnQko7tuyqTO34gsdfsroo7EDeAOFwa4UtVFMDUgIhALqArpw8MjV+9f+IQLdc3PEToHMkZTU/UeUAQ9baXroO","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":6935},"type":"module","exports":"./lib/index.js","gitHead":"2f99fbff3ba52927b998d50a5355aac6431f1b87","scripts":{"test":"mocha"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/file-type-xml.git","type":"git"},"_npmVersion":"10.8.2","description":"XML detection plugin","directories":{},"_nodeVersion":"20.17.0","dependencies":{"sax":"^1.4.1","strtok3":"^10.0.1"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.3","devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1"},"_npmOperationalInternal":{"tmp":"tmp/xml_0.2.1_1734697996806_0.8988649422498269","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@file-type/xml","version":"0.3.0","keywords":["file-type","detect","detection","detector","XML","signature","namespace","SVG","XHTML","RSS","KML","GML","MusicXML"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"@file-type/xml@0.3.0","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/file-type-xml#readme","bugs":{"url":"https://github.com/Borewit/file-type-xml/issues"},"dist":{"shasum":"896df58d26477b8ef19d419b0493adf0fe12aea1","tarball":"https://registry.npmjs.org/@file-type/xml/-/xml-0.3.0.tgz","fileCount":4,"integrity":"sha512-t7O978pt1/ynmP5pUbMtX9EeU5EgCsta1oX+LNsLq4TvNj2wtsf4CuyO98L721RPxRANOZeHoRt0qDG4uvSJSA==","signatures":[{"sig":"MEUCIQDtf4wjWNN6dnF+TA25d1d098jkGUKExVoB8hMKwwM3OgIgG1CaK+aTBOgSw4jUWkXsVdTJ6ZYBCG3PegLakc4pMOw=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":8440},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"b768f301db1d9e5239f80de814005a349e9e1b4e","scripts":{"test":"mocha","build":"yarn run clean && yarn compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'src/**/*.d.ts'","compile":"yarn run  compile-src","compile-src":"tsc -p lib"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/file-type-xml.git","type":"git"},"_npmVersion":"10.8.2","description":"XML detection plugin","directories":{},"_nodeVersion":"20.17.0","dependencies":{"sax":"^1.4.1","strtok3":"^10.0.1"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.3","devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1","del-cli":"^6.0.0","file-type":"^19.6.0","@types/sax":"^1.2.7","typescript":"^5.7.2"},"_npmOperationalInternal":{"tmp":"tmp/xml_0.3.0_1735586640991_0.6163405159187827","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@file-type/xml","version":"0.4.0","keywords":["file-type","detect","detection","detector","XML","signature","namespace","SVG","XHTML","RSS","KML","GML","MusicXML"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"@file-type/xml@0.4.0","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/file-type-xml#readme","bugs":{"url":"https://github.com/Borewit/file-type-xml/issues"},"dist":{"shasum":"f9f168b8cc6fcd3e2ff008c731658aace627ebfb","tarball":"https://registry.npmjs.org/@file-type/xml/-/xml-0.4.0.tgz","fileCount":4,"integrity":"sha512-ZbI3HsjFzOnvi4UZg7gwbVEzfQNKrd0/XVxm+1w4BlkSliYkpOxYkh9/JQXX+2/mZy9gT06KpXo1PRdNv8USuQ==","signatures":[{"sig":"MEYCIQDUWvbfy/SFvnJvbHnAMbsNh5iAWdRObzHXeUNLk5dSCwIhAIjyyJwzZd3r8i79p3Ta5IUH4U0iDFXsokN7LHdr+Jl6","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7996},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"94288acb8ca3a38fbb07ed362d1396ec38fd1092","scripts":{"test":"mocha","build":"yarn run clean && yarn compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'src/**/*.d.ts'","compile":"yarn run  compile-src","compile-src":"tsc -p lib"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/file-type-xml.git","type":"git"},"_npmVersion":"10.9.2","description":"XML detection plugin","directories":{},"_nodeVersion":"22.13.0","dependencies":{"sax":"^1.4.1","strtok3":"^10.0.1"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.3","devDependencies":{"chai":"^5.1.2","mocha":"^11.0.1","del-cli":"^6.0.0","file-type":"^20.0.0","@types/sax":"^1.2.7","typescript":"^5.7.3"},"_npmOperationalInternal":{"tmp":"tmp/xml_0.4.0_1737050278543_0.517957442216749","host":"s3://npm-registry-packages-npm-production"}},"0.4.1":{"name":"@file-type/xml","version":"0.4.1","keywords":["file-type","detect","detection","detector","XML","signature","namespace","SVG","XHTML","RSS","KML","GML","MusicXML"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"@file-type/xml@0.4.1","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/file-type-xml#readme","bugs":{"url":"https://github.com/Borewit/file-type-xml/issues"},"dist":{"shasum":"2e11176c4cddd3e3190809afbc97d65de842d8e8","tarball":"https://registry.npmjs.org/@file-type/xml/-/xml-0.4.1.tgz","fileCount":4,"integrity":"sha512-yrXsOf+OP0jRa1Piaktvne6kriPy+J1q1jz5jdkBX6O5dt54GoUbHHJCAqTRCDghN66B568Z3/i2iz7ewX76pQ==","signatures":[{"sig":"MEYCIQDd3Ss66nwOplbGXWsy7YLeZD0vMpCa88kGeNGG+ECmEAIhAPqcr4cJKW/SztcYUsRFnBEWHRikL8H4iHWlVkEuDI37","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":8126},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"8b7bca0d78396ef9df77041a517d85babdce8c0c","scripts":{"test":"mocha","build":"yarn run clean && yarn compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'src/**/*.d.ts'","compile":"yarn run  compile-src","lint-ts":"biome check","compile-src":"tsc -p lib"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/file-type-xml.git","type":"git"},"_npmVersion":"10.9.0","description":"XML detection plugin for file-type","directories":{},"_nodeVersion":"22.11.0","dependencies":{"sax":"^1.4.1","strtok3":"^10.2.1"},"_hasShrinkwrap":false,"packageManager":"yarn@4.6.0","devDependencies":{"chai":"^5.1.2","mocha":"^11.1.0","del-cli":"^6.0.0","file-type":"^20.1.0","@types/sax":"^1.2.7","typescript":"^5.7.3","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/xml_0.4.1_1739180873833_0.9404167291834313","host":"s3://npm-registry-packages-npm-production"}},"0.4.2":{"name":"@file-type/xml","version":"0.4.2","keywords":["file-type","detect","detection","detector","XML","signature","namespace","SVG","XHTML","RSS","KML","GML","MusicXML"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"@file-type/xml@0.4.2","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/file-type-xml#readme","bugs":{"url":"https://github.com/Borewit/file-type-xml/issues"},"dist":{"shasum":"2a656f248122c8ce65ec8c77065f0ed231d6c1d6","tarball":"https://registry.npmjs.org/@file-type/xml/-/xml-0.4.2.tgz","fileCount":4,"integrity":"sha512-tMGkPvPb6qyekBpdhHYK3MMOq1Chl/58Won4toJfjlY/mQlBPd3wHsNOiqQc5s7rek/bazUKrKLdwRt3Z9SnDQ==","signatures":[{"sig":"MEUCIQDGMpSlLdrcPe3FVoKBg0f7QlsLsYySnWy75yc7THTWWAIgczWmWR9p7ftirpAQXZs2NY8QhPGBDl1YexrNFGf6FYk=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9057},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"8f76e51e91f2e8e3c4d9b7738fba20c5d20819cd","scripts":{"test":"mocha","build":"yarn run clean && yarn compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'src/**/*.d.ts'","compile":"yarn run  compile-src","lint-ts":"biome check","compile-src":"tsc -p lib","prepublishOnly":"yarn run build"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/file-type-xml.git","type":"git"},"_npmVersion":"10.9.2","description":"XML detection plugin for file-type","directories":{},"_nodeVersion":"22.13.0","dependencies":{"sax":"^1.4.1","strtok3":"^10.2.2"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"chai":"^5.2.0","mocha":"^11.1.0","del-cli":"^6.0.0","file-type":"^20.4.1","@types/sax":"^1.2.7","typescript":"^5.8.3","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/xml_0.4.2_1745493314631_0.8915811322994676","host":"s3://npm-registry-packages-npm-production"}},"0.4.3":{"name":"@file-type/xml","version":"0.4.3","keywords":["file-type","detect","detection","detector","XML","signature","namespace","SVG","XHTML","RSS","KML","GML","MusicXML"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"@file-type/xml@0.4.3","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/file-type-xml#readme","bugs":{"url":"https://github.com/Borewit/file-type-xml/issues"},"dist":{"shasum":"96b8824bb5f839c75a1a189d0b2fb1346cd526a7","tarball":"https://registry.npmjs.org/@file-type/xml/-/xml-0.4.3.tgz","fileCount":4,"integrity":"sha512-pGRmkHf+NofNy/52r06HOTsEwdNnBsFEhN6U95s33P+ezuoxZEyBTV9lOB1/Zr0So6/9vDVfWZXLpgd0fy8cOQ==","signatures":[{"sig":"MEYCIQDOluZCasqycIxShoTd8lxLeXOc1nAc21/RursuZJQG8wIhAKELIQ+HOdvCXtvqhlbPXBtE1car9dIqPLyKnaGQxqLa","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":9265},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"eb5397e1449121b2d7f3cb3b23524aa907e026ac","scripts":{"test":"mocha","build":"yarn run clean && yarn compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'src/**/*.d.ts'","compile":"yarn run  compile-src","lint-ts":"biome check","compile-src":"tsc -p lib","prepublishOnly":"yarn run build"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/file-type-xml.git","type":"git"},"_npmVersion":"10.9.2","description":"XML detection plugin for file-type","directories":{},"_nodeVersion":"22.13.0","dependencies":{"sax":"^1.4.1","strtok3":"^10.2.2"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"chai":"^5.2.0","mocha":"^11.1.0","del-cli":"^6.0.0","file-type":"^20.4.1","@types/sax":"^1.2.7","typescript":"^5.8.3","@biomejs/biome":"^1.9.4"},"_npmOperationalInternal":{"tmp":"tmp/xml_0.4.3_1745495695558_0.9656339552053426","host":"s3://npm-registry-packages-npm-production"}},"0.4.4":{"name":"@file-type/xml","version":"0.4.4","keywords":["file-type","detect","detection","detector","XML","signature","namespace","SVG","XHTML","RSS","KML","GML","MusicXML"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"@file-type/xml@0.4.4","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/file-type-xml#readme","bugs":{"url":"https://github.com/Borewit/file-type-xml/issues"},"dist":{"shasum":"3b3efda7f12cbcfca26dcf5aebcf37a8ff882ade","tarball":"https://registry.npmjs.org/@file-type/xml/-/xml-0.4.4.tgz","fileCount":5,"integrity":"sha512-NhCyXoHlVZ8TqM476hyzwGJ24+D5IPSaZhmrPj7qXnEVb3q6jrFzA3mM9TBpknKSI9EuQeGTKRg2DXGUwvBBoQ==","signatures":[{"sig":"MEUCIQCcl40TOIiOFj5Cvu72q6JEvlL1CazYSSls2UbbdrHnSAIgaMczX4jqkP5A3BTfsQbrvF+GswCuBUt9nKuwXUnxr0E=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10555},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"f1c8a88f4b40e3bc4db26e2539c6e9dc54492a48","scripts":{"test":"mocha","build":"yarn run clean && yarn compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'src/**/*.d.ts'","compile":"yarn run  compile-src","lint:ts":"biome check","compile-src":"tsc -p lib","update-biome":"yarn add -D --exact @biomejs/biome && npx @biomejs/biome migrate --write","prepublishOnly":"yarn run build"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/file-type-xml.git","type":"git"},"_npmVersion":"11.4.2","description":"XML detection plugin for file-type","directories":{},"_nodeVersion":"22.17.0","dependencies":{"sax":"^1.4.1","strtok3":"^10.3.4"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"chai":"^6.0.1","mocha":"^11.7.1","del-cli":"^6.0.0","file-type":"^21.0.0","@types/sax":"^1.2.7","typescript":"^5.9.2","@biomejs/biome":"2.2.2"},"_npmOperationalInternal":{"tmp":"tmp/xml_0.4.4_1756670388614_0.7899308783397763","host":"s3://npm-registry-packages-npm-production"}},"0.5.0":{"name":"@file-type/xml","version":"0.5.0","keywords":["file-type","detect","detection","detector","XML","signature","namespace","SVG","XHTML","RSS","KML","GML","MusicXML"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"@file-type/xml@0.5.0","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/file-type-xml#readme","bugs":{"url":"https://github.com/Borewit/file-type-xml/issues"},"dist":{"shasum":"5757c05bce9c346e3b084b8cf168299a3ec734b2","tarball":"https://registry.npmjs.org/@file-type/xml/-/xml-0.5.0.tgz","fileCount":5,"integrity":"sha512-vYb9zcnAfcFyirCNSrSxFF6dmHDFFM9NVMuIFXZ9XOm6ar6+az4vpC4pPgqcPUgPV0N71xlYaIdqo79sLKbsPw==","signatures":[{"sig":"MEUCIQCwwu/Kcgo9N6grQmWQ2DRGXGfIA6eemsDYSZxhgVi3yQIgHdMrgK8D0lbtIL6chl0WBwvK17oWHFDJ6jf4WTA8TC8=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":10588},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"48fd844b0c6dc3e0c3aa623f0d7ebdb718d5658f","scripts":{"test":"mocha","build":"yarn run clean && yarn compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'src/**/*.d.ts'","compile":"yarn run  compile-src","lint:ts":"biome check","compile-src":"tsc -p lib","update-biome":"yarn add -D --exact @biomejs/biome && npx @biomejs/biome migrate --write","prepublishOnly":"yarn run build"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/file-type-xml.git","type":"git"},"_npmVersion":"10.9.4","description":"XML detection plugin for file-type","directories":{},"_nodeVersion":"22.21.1","dependencies":{"sax":"^1.4.4","strtok3":"^10.3.4"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"chai":"^6.2.2","mocha":"^11.7.1","del-cli":"^6.0.0","file-type":"^21.3.0","@types/sax":"^1.2.7","typescript":"^5.9.3","@biomejs/biome":"2.3.15"},"_npmOperationalInternal":{"tmp":"tmp/xml_0.5.0_1771005898595_0.7058391961313868","host":"s3://npm-registry-packages-npm-production"}},"1.0.0":{"name":"@file-type/xml","version":"1.0.0","keywords":["file-type","detect","detection","detector","XML","signature","namespace","SVG","XHTML","RSS","KML","GML","MusicXML","plist","property list","xliff","xlf","docbook","tei"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"@file-type/xml@1.0.0","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/file-type-xml#readme","bugs":{"url":"https://github.com/Borewit/file-type-xml/issues"},"dist":{"shasum":"edc2093a9af708da49f4a2db64c939448858d8b8","tarball":"https://registry.npmjs.org/@file-type/xml/-/xml-1.0.0.tgz","fileCount":7,"integrity":"sha512-EK4IQlhamzP5Br3gJrN0jAOxATo8v4Zx6AJH3NDz8JGJV1n6I+S6NdxR/Gm+oYW+DMNm4AsNKCPGfWCXi/kzyw==","signatures":[{"sig":"MEQCIGHF7RgBSS6LAgj9JSN9WgNJ0oml0Mu9kEgG07SUbDSoAiA0jCnBHFc21NpAsqVa5bgoJZk/IEgdj6aISoG16uDRnQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":16101},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"1424bea268d7ea03c5d8ed7bb7581577ad8ea64f","scripts":{"test":"mocha","build":"yarn run clean && yarn compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'src/**/*.d.ts'","compile":"yarn run  compile-src","lint:ts":"biome check","compile-src":"tsc -p lib","update-biome":"yarn add -D --exact @biomejs/biome && npx @biomejs/biome migrate --write","prepublishOnly":"yarn run build"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/file-type-xml.git","type":"git"},"_npmVersion":"10.9.4","description":"XML detection plugin for file-type","directories":{},"_nodeVersion":"22.21.1","dependencies":{"sax":"^1.4.4","strtok3":"^10.3.4"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"chai":"^6.2.2","mocha":"^11.7.5","del-cli":"^6.0.0","file-type":"^21.3.0","@types/sax":"^1.2.7","typescript":"^5.9.3","@biomejs/biome":"2.3.15"},"_npmOperationalInternal":{"tmp":"tmp/xml_1.0.0_1771082124435_0.7283634879670464","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@file-type/xml","version":"1.1.0","keywords":["file-type","detect","detection","detector","XML","signature","namespace","SVG","XHTML","RSS","KML","GML","MusicXML","plist","property list","xliff","xlf","docbook","TEI","x3d","atom","TTML","SMIL","OPML","MathML","GPX"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"@file-type/xml@1.1.0","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/file-type-xml#readme","bugs":{"url":"https://github.com/Borewit/file-type-xml/issues"},"dist":{"shasum":"4e06f03336ca9b67db7a0a767f89acbdfe43c702","tarball":"https://registry.npmjs.org/@file-type/xml/-/xml-1.1.0.tgz","fileCount":7,"integrity":"sha512-g3e5bPb3ZmZ+yNMiiXRhLJSsJO3ERHt8n5/6Ix+E6LnAHZTXIX6RS1MQdu23JgmHeA38NhMOzvI6g2blYXgxGQ==","signatures":[{"sig":"MEQCIBnqOJ3Lh6kvwv6wavaWYQhWM6VniqJ5wx+fnIi12EemAiBR+BQ5bhOMrzcBrjaKG5Gf6Ss2HlCyUuSxEKS92f0YYA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17169},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"01e132261c132160f70f56738b98ca478c9ed41c","scripts":{"test":"mocha","build":"yarn run clean && yarn compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'src/**/*.d.ts'","compile":"yarn run  compile-src","lint:ts":"biome check","compile-src":"tsc -p lib","update-biome":"yarn add -D --exact @biomejs/biome && npx @biomejs/biome migrate --write","prepublishOnly":"yarn run build"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/file-type-xml.git","type":"git"},"_npmVersion":"10.9.4","description":"XML detection plugin for file-type","directories":{},"_nodeVersion":"22.21.1","dependencies":{"sax":"^1.4.4","strtok3":"^10.3.4"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"chai":"^6.2.2","mocha":"^11.7.5","del-cli":"^6.0.0","file-type":"^21.3.0","@types/sax":"^1.2.7","typescript":"^5.9.3","@biomejs/biome":"2.3.15"},"_npmOperationalInternal":{"tmp":"tmp/xml_1.1.0_1771167454997_0.8328575886125356","host":"s3://npm-registry-packages-npm-production"}},"1.1.1":{"name":"@file-type/xml","version":"1.1.1","keywords":["file-type","detect","detection","detector","XML","signature","namespace","SVG","XHTML","RSS","KML","GML","MusicXML","plist","property list","xliff","xlf","docbook","TEI","x3d","atom","TTML","SMIL","OPML","MathML","GPX"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"@file-type/xml@1.1.1","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/file-type-xml#readme","bugs":{"url":"https://github.com/Borewit/file-type-xml/issues"},"dist":{"shasum":"2b6893ccec6fd66fe9506305800d4684633e1ffd","tarball":"https://registry.npmjs.org/@file-type/xml/-/xml-1.1.1.tgz","fileCount":7,"integrity":"sha512-kBGlafpgT5n6Uv3eUhrbyX9Lm85Lbwd7IWrOlsWxGCzUSkG17xsr/fO4CU4AUnYgeEZJqmAFX2eshlU3RDZ55g==","signatures":[{"sig":"MEQCIGjJak4YrYqg8FZ9Aqf0VtVbBeyHoVj1ef9xBH2j26ZNAiBnTOqHCcVFQB8dJEbo6rrRJLKdayw5fKeTSj7pWvtAxg==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":17106},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"b1b9482c0993d7a3852e05376a5d3c57e03d577d","scripts":{"test":"mocha","build":"yarn run clean && yarn compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'src/**/*.d.ts'","compile":"yarn run  compile-src","lint:ts":"biome check","compile-src":"tsc -p lib","update-biome":"yarn add -D --exact @biomejs/biome && npx @biomejs/biome migrate --write","prepublishOnly":"yarn run build"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/file-type-xml.git","type":"git"},"_npmVersion":"10.9.4","description":"XML detection plugin for file-type","directories":{},"_nodeVersion":"22.21.1","dependencies":{"sax":"^1.6.0","strtok3":"^10.3.5"},"_hasShrinkwrap":false,"packageManager":"yarn@4.9.1","devDependencies":{"chai":"^6.2.2","mocha":"^11.7.5","del-cli":"^6.0.0","file-type":"^21.3.4","@types/sax":"^1.2.7","typescript":"^6.0.3","@biomejs/biome":"2.4.14"},"_npmOperationalInternal":{"tmp":"tmp/xml_1.1.1_1777835752479_0.9314591273724337","host":"s3://npm-registry-packages-npm-production"}},"1.2.0":{"name":"@file-type/xml","version":"1.2.0","keywords":["file-type","detect","detection","detector","XML","signature","namespace","SVG","XHTML","RSS","KML","GML","MusicXML","plist","property list","xliff","xlf","docbook","TEI","x3d","atom","TTML","SMIL","OPML","MathML","GPX"],"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","_id":"@file-type/xml@1.2.0","maintainers":[{"name":"borewit","email":"borewit@xs4all.nl"}],"homepage":"https://github.com/Borewit/file-type-xml#readme","bugs":{"url":"https://github.com/Borewit/file-type-xml/issues"},"dist":{"shasum":"279c7839b6771695d5b86fe19977bcf0ef3f84ab","tarball":"https://registry.npmjs.org/@file-type/xml/-/xml-1.2.0.tgz","fileCount":7,"integrity":"sha512-cXNWElVkCTOS0mZan1y42hZgG4iD/enZFmnV2cPmjPlgPfEsNGSTlt+1DTi+GqhW2Wj0lzGvwWTn0XiL9HvHKA==","signatures":[{"sig":"MEUCIQDDCJ2oKEbtN3ntdnUJcb7mUqq112yjGJ00+X4V7Hz2kQIgE1rZAlrdfStQ62XElKcMVHnGNbyqh4dCFU4iFJCkgQc=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"sig":"MEUCIEQYbhU/6ciCNLIM5moAKd5Vwo9ozY27XZINecOHg/DcAiEAiHV9fNdIPjsomRM5TtA6b1IqdcfrAwFHj3OnZLLv0v4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":21162},"type":"module","types":"./lib/index.d.ts","exports":"./lib/index.js","gitHead":"eae53f2f5edc372dc30996dbc2006bd0d8f77cc0","scripts":{"test":"mocha","build":"yarn run clean && yarn compile","clean":"del-cli 'lib/**/*.js' 'lib/**/*.js.map' 'lib/**/*.d.ts' 'src/**/*.d.ts'","compile":"yarn run  compile-src","lint:ts":"biome check","compile-src":"tsc -p lib","update-biome":"yarn add -D --exact @biomejs/biome && npx @biomejs/biome migrate --write","prepublishOnly":"yarn run build"},"_npmUser":{"name":"borewit","email":"borewit@xs4all.nl"},"repository":{"url":"git+https://github.com/Borewit/file-type-xml.git","type":"git"},"_npmVersion":"10.9.2","description":"XML detection plugin for file-type","directories":{},"_nodeVersion":"22.14.0","dependencies":{"sax":"^1.6.1","strtok3":"^10.3.5"},"_hasShrinkwrap":false,"packageManager":"yarn@4.18.1","devDependencies":{"chai":"^6.3.0","mocha":"^12.0.3","del-cli":"^7.0.0","file-type":"^22.1.1","@types/sax":"^1.2.7","typescript":"^7.0.2","@biomejs/biome":"2.4.14"},"_npmOperationalInternal":{"tmp":"tmp/xml_1.2.0_1791220495748_0.6634372642771251","host":"s3://npm-registry-packages-npm-production"}}},"time":{"created":"2024-12-17T23:33:16.684Z","modified":"2026-10-24T11:54:32.144Z","0.1.0":"2024-12-17T23:33:16.978Z","0.1.1":"2024-12-18T11:27:49.716Z","0.2.0":"2024-12-19T20:16:01.004Z","0.2.1":"2024-12-20T12:33:16.993Z","0.3.0":"2024-12-30T19:24:01.168Z","0.4.0":"2025-01-16T17:57:58.724Z","0.4.1":"2025-02-10T09:47:54.021Z","0.4.2":"2025-04-24T11:15:14.794Z","0.4.3":"2025-04-24T11:54:55.738Z","0.4.4":"2025-08-31T19:59:48.801Z","0.5.0":"2026-02-13T18:04:58.744Z","1.0.0":"2026-02-14T15:15:24.576Z","1.1.0":"2026-02-15T14:57:35.140Z","1.1.1":"2026-05-03T19:15:52.624Z","1.2.0":"2026-10-05T17:14:55.823Z"},"bugs":{"url":"https://github.com/Borewit/file-type-xml/issues"},"author":{"url":"https://github.com/Borewit","name":"Borewit"},"license":"MIT","homepage":"https://github.com/Borewit/file-type-xml#readme","keywords":["file-type","detect","detection","detector","XML","signature","namespace","SVG","XHTML","RSS","KML","GML","MusicXML","plist","property list","xliff","xlf","docbook","TEI","x3d","atom","TTML","SMIL","OPML","MathML","GPX"],"repository":{"url":"git+https://github.com/Borewit/file-type-xml.git","type":"git"},"description":"XML detection plugin for file-type","maintainers":[{"email":"borewit@xs4all.nl","name":"borewit"},{"email":"sindresorhus@gmail.com","name":"sindresorhus"}],"readme":"[![NPM version](https://img.shields.io/npm/v/@file-type/xml.svg)](https://npmjs.org/package/@file-type/xml)\n[![Node.js CI](https://github.com/Borewit/file-type-xml/actions/workflows/nodejs-ci.yml/badge.svg)](https://github.com/Borewit/file-type-xml/actions/workflows/nodejs-ci.yml)\n[![npm downloads](http://img.shields.io/npm/dm/@file-type/xml.svg)](https://npmcharts.com/compare/@file-type/xml?start=365)\n\n# @file-type/xml\n\nDetector plugin for [file-type](https://github.com/sindresorhus/file-type) for XML files.\n\n## Installation\n\n```bash\nnpm install @file-type/xml\n```\n\n## Usage\n\nThe following example shows how to add the XML detector to [file-type](https://github.com/sindresorhus/file-type).\n```js\nimport {FileTypeParser} from 'file-type';\nimport {detectXml} from '@file-type/xml';\n\nconst parser = new FileTypeParser({customDetectors: [detectXml]});\nconst fileType = await parser.fromFile('example.kml');\nconsole.log(fileType);\n```\n\nWith `file-type` 22, Node.js 22 or newer is required. For stream detection, pass a\nweb `ReadableStream` to `parser.fromStream()`. Convert a Node.js `Readable` with\n`Readable.toWeb()`:\n\n```js\nimport {createReadStream} from 'node:fs';\nimport {Readable} from 'node:stream';\n\nconst fileType = await parser.fromStream(Readable.toWeb(createReadStream('example.kml')));\n```\n\nThe detector inspects at most 16 KiB, including any byte order mark. To change this\nlimit, create a detector with a `sampleSize` in bytes:\n\n```js\nimport {FileTypeParser} from 'file-type';\nimport {createXmlDetector} from '@file-type/xml';\n\nconst parser = new FileTypeParser({\n    customDetectors: [createXmlDetector({sampleSize: 64 * 1024})]\n});\n```\n\nThe limit applies to both prolog detection and XML parsing. If no XML signature is\nfound within the sample, the detector returns `undefined` without consuming input.\nIf XML is recognized but its specific format cannot be determined within the sample,\nit returns `application/xml`. `sampleSize` must be a positive safe integer.\nThe `file-type` stream sampling option is separate; when using `fileTypeStream`, set\nits `sampleSize` as well if you want a larger sample.\n\nYou can also use the XML detector outside [file-type](https://github.com/sindresorhus/file-type):\n```js\nimport {XmlTextDetector} from '@file-type/xml';\n\nconst xmlTextDetector = new XmlTextDetector();\nxmlTextDetector.write('<svg xmlns=\"http://www.w3.org/2000/svg\"><path fill=\"#00CD9F\"/></svg>');\nconst fileType = xmlTextDetector.fileType;\nconsole.log(JSON.stringify(fileType)); // Outputs: {\"ext\":\"svg\",\"mime\":\"image/svg+xml\"}\n```\n\n## Support file formats\n\n- [XML](https://en.wikipedia.org/wiki/XML) (default for XML, unless a more specific format was detected)\n- [Apple Property list, `.plist`](https://en.wikipedia.org/wiki/Property_list)\n- [Atom](<https://en.wikipedia.org/wiki/Atom_(web_standard)>)\n- [DocBook](https://en.wikipedia.org/wiki/DocBook)\n- [GML (Geography Markup Language)](https://en.wikipedia.org/wiki/Geography_Markup_Language)\n- [GPX (GPS Exchange Format)](https://en.wikipedia.org/wiki/GPS_Exchange_Format)\n- [KML (Keyhole Markup Language)](https://en.wikipedia.org/wiki/Keyhole_Markup_Language)\n- [MathML (Mathematical Markup Language)](https://en.wikipedia.org/wiki/MathML)\n- [MusicXML, Uncompressed](https://en.wikipedia.org/wiki/MusicXML)\n- [OPML (Outline Processor Markup Language)](https://en.wikipedia.org/wiki/OPML)\n- [RSS (RDF Site Summary or Really Simple Syndication)](https://en.wikipedia.org/wiki/RSS)\n- [SMIL: (Synchronized Multimedia Integration Language)](https://en.wikipedia.org/wiki/Synchronized_Multimedia_Integration_Language)\n- [SVG: (Scalable Vector Graphics)](https://en.wikipedia.org/wiki/SVG)\n- [TEI, Text Encoding Initiative](https://en.wikipedia.org/wiki/Text_Encoding_Initiative)\n- [TTML: (Timed Text Markup Language)](https://en.wikipedia.org/wiki/Timed_Text_Markup_Language)\n- [X3D (Extensible 3D)](https://en.wikipedia.org/wiki/X3D)\n- [XHTML](https://en.wikipedia.org/wiki/XHTML)\n- [XLIFF (XML Localization Interchange File Format)](https://en.wikipedia.org/wiki/XLIFF)\n\n## Licence\n\nThis project is licensed under the [MIT License](LICENSE.txt). Feel free to use, modify, and distribute as needed.\n","readmeFilename":"README.md"}