{"_id":"xast-util-to-xml","_rev":"11-8a1491a4eba841f33d9bf8b24c158a96","name":"xast-util-to-xml","dist-tags":{"latest":"4.0.0"},"versions":{"1.0.0":{"name":"xast-util-to-xml","version":"1.0.0","description":"xast utility to serialize to XML","license":"MIT","keywords":["xast","util","xml","unist","util","utility"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/xast-util-to-xml.git"},"bugs":{"url":"https://github.com/syntax-tree/xast-util-to-xml/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"dependencies":{"ccount":"^1.0.0","stringify-entities":"^2.0.0"},"devDependencies":{"browserify":"^16.0.0","nyc":"^15.0.0","prettier":"^1.0.0","remark-cli":"^7.0.0","remark-preset-wooorm":"^6.0.0","tape":"^4.0.0","tinyify":"^2.0.0","unist-builder":"^2.0.0","xastscript":"^1.0.0","xo":"^0.25.0"},"scripts":{"format":"remark . -qfo && prettier --write \"**/*.js\" && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test":"npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"guard-for-in":"off","no-control-regex":"off","unicorn/prefer-includes":"off"}},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"4838065fd174191ea536cd27b64623d81a43d6b5","homepage":"https://github.com/syntax-tree/xast-util-to-xml#readme","_id":"xast-util-to-xml@1.0.0","_nodeVersion":"13.0.1","_npmVersion":"6.13.4","dist":{"integrity":"sha512-nPQAtr5gWCjyD0DaVGuqvZNMbJIMjEDwUskB/+R9emq6Hx4IH+mXdlXRLzjErU282AXxyk0vU7lHKPvbKlkyBg==","shasum":"8dcd6e1e7b78214cac78954a9134002dbd728d8f","tarball":"https://registry.npmjs.org/xast-util-to-xml/-/xast-util-to-xml-1.0.0.tgz","fileCount":17,"unpackedSize":12762,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJeDNZgCRA9TVsSAnZWagAAQxwP/jeFScC+kPfiJt/zcVrr\nxyUQgrzKG03ggfpqhKsJvKK5pUD4aSzufQBHEHGaiJCZDB0BaA6tFsJsz/Vi\ntQFI04Sz9gNJc4vi+cseuQZZ3+7DVCVWBq7l7k3i2lbRkxtzH7C3nZh4wB/S\njYvVudg14QHq6p0qr2cjUKO9ehIMDFCdYxuQTivrXfYkUwMU1/i46q73mgj9\nMC/ZEP9gfmCZ9+1E19Dk9Ou1cHCZVNWQMkXwfarp7S2PfUiu9pQ3ROHQs0Uo\n6ijMnCUBEoDeyaivk0legpJ4Vj7q6hgnZzPG4Iv+i+Db+aSiVQ43U71873rI\nxu0Pp8+Vm0OGwEkSW6LS64G0DwPCmORzf8V8r372fwMh7PSRnOD9NY6YkDEa\nLfBZh63EVYagbhJrq0EpKlrOkq9RwQVP56RGtQ58bJlzPJc7nY1DKzPw6Dbg\nKUGXjxX59JEl7x0uF//LiedVaYe/I4+1AMcBRQALyKFAJrtioQBV2516Qhfw\nzKqH/GTdzF1ERzI8PukyOTsFkqqXo62Ch+Mm52N3oyOuCY+b7RvZull7Qwh5\nyxpA4ZM+144Q0W4t0MXeZocVKH60MqVy9Mb0IESwMAHyzPy9wdhRP0GyDOb+\nFVYFf5eQNohl6pNoo+6VqZQCXTlQ2xq7zES/hygoqqW0mNBxhHeb/aMqPO3J\nsOQf\r\n=ZUjA\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDJo6J6VBc7HXrb8VlO6ir4Ox+ifbVMKJS6B42MWbQpiQIhAMCWE7JN+CC1TzwM1X+G8mpvqU+yqgELegzVbSxltcJy"}]},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xast-util-to-xml_1.0.0_1577899615802_0.2817877095031409"},"_hasShrinkwrap":false},"2.0.0":{"name":"xast-util-to-xml","version":"2.0.0","description":"xast utility to serialize to XML","license":"MIT","keywords":["unist","xast","xast-util","util","utility","xml"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/xast-util-to-xml.git"},"bugs":{"url":"https://github.com/syntax-tree/xast-util-to-xml/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"types":"types","dependencies":{"@types/xast":"^1.0.0","ccount":"^1.0.0","stringify-entities":"^3.0.0"},"devDependencies":{"browserify":"^16.0.0","dtslint":"^4.0.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^8.0.0","remark-preset-wooorm":"^7.0.0","tape":"^5.0.0","tinyify":"^3.0.0","unist-builder":"^2.0.0","xastscript":"^2.0.0","xo":"^0.33.0"},"scripts":{"format":"remark . -qfo && prettier . --write && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test-types":"dtslint types","test":"npm run format && npm run test-coverage && npm run test-types"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-includes":"off","unicorn/prefer-number-properties":"off","guard-for-in":"off","no-control-regex":"off"}},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"178681ffa6c946c5ccc5ec6fd76370d6ef7ae066","homepage":"https://github.com/syntax-tree/xast-util-to-xml#readme","_id":"xast-util-to-xml@2.0.0","_nodeVersion":"14.8.0","_npmVersion":"6.14.8","dist":{"integrity":"sha512-/vhslN9cYBvkkD+EBJXqKW0jrKRt1Lr94HLzhPz2w9obgqf84Oz6p827m1xoERSJhcIzmA/ivyospZ7d6CI6fw==","shasum":"eb915820cd44a795fc700350609f4a0fcc808f44","tarball":"https://registry.npmjs.org/xast-util-to-xml/-/xast-util-to-xml-2.0.0.tgz","fileCount":18,"unpackedSize":14635,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfeWr3CRA9TVsSAnZWagAAHfMQAI1raJNzBlZLHM4i+6lN\nM9/QvW6ekgPdej3H44kygh4SSP99SbZeNcV0zi8uSBdl7t7HrrDpRM7QUDWp\n9uCmvNtVmQYoNfNqaj16u8ELMkVzwHFJalbzvlZX7lm/ZWST/rCM/jU88ay/\nyAN9Vj0ehQEFiGn+8M42SMXEoK0vYXOe9pa7lAazoJltbbHsHVps+lHoIC4G\nNFlqVPxFpBg/j86EX7v6ASgUVxmmtUsHlECo3u4qzsLyBY1E/kvodKsyL7xS\nhmFMti7KvdwJO0y5v8dHxTtDSPjGjXBtrdFLU2mW55JI+l/2ilR+1nSPR3um\nKg775qKsg4B6pzkhxj67NFaJhnz4PAa7V9VwflwariaGbOJpqFXI1YNRMnJ6\nq6kJLNXw5qyK2uvZDpN8KXSu3ZHu58Ha5x7bXelbJZajkQoQ2jNfgfsyRIRJ\njQWeY2EADD5s/NSBVbjTukKxMP72rOFBAvn3qoovvwaf18stKsOW/uhy+0ZM\n5++5mn5Lq9+9YcLmzAzdEwRygaJi695QypyTC4m2F1QNcsf9Ev/TiY+S6zL8\nPp2MqjCGT6DX1IdbGDhcPpEkwtY06QRSqcXQJ4nIh2VPzl9uM5iBm/MrZA7q\nmLXuGEkbLOj3ti+9i7WrXLk6VqEWrxRzlUur2GMQy4tKNo9uFyyqBr2m6Yhz\nyhqL\r\n=kOjv\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFobykCSDNRLB6ugCxUc+b4TtGkYu6JkMfQKeMtBRTnIAiA+9h4d4LnRGOglPUZigS3lvDh4aBZebtXv+BZ3goZijQ=="}]},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xast-util-to-xml_2.0.0_1601792758718_0.9132370182933152"},"_hasShrinkwrap":false},"2.0.1":{"name":"xast-util-to-xml","version":"2.0.1","description":"xast utility to serialize to XML","license":"MIT","keywords":["unist","xast","xast-util","util","utility","xml"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/xast-util-to-xml.git"},"bugs":{"url":"https://github.com/syntax-tree/xast-util-to-xml/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"types":"types","dependencies":{"@types/xast":"^1.0.0","ccount":"^1.0.0","stringify-entities":"^3.1.0"},"devDependencies":{"dtslint":"^4.0.0","nyc":"^15.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","tape":"^5.0.0","unist-builder":"^2.0.0","xastscript":"^2.0.0","xo":"^0.34.0"},"scripts":{"format":"remark . -qfo && prettier . --write && xo --fix","test-api":"node test","test-coverage":"nyc --reporter lcov tape test/index.js","test-types":"dtslint types","test":"npm run format && npm run test-coverage && npm run test-types"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"esnext":false,"rules":{"unicorn/prefer-includes":"off","unicorn/prefer-number-properties":"off","guard-for-in":"off","no-control-regex":"off"}},"nyc":{"check-coverage":true,"lines":100,"functions":100,"branches":100},"remarkConfig":{"plugins":["preset-wooorm"]},"gitHead":"da74595e55bf1667a607d1665503f3a27b2cc5b8","homepage":"https://github.com/syntax-tree/xast-util-to-xml#readme","_id":"xast-util-to-xml@2.0.1","_nodeVersion":"14.13.1","_npmVersion":"6.14.8","dist":{"integrity":"sha512-XG4/kd4SSvg6P5a6Zltq9xb34KSZJg8O/UDcyR7SSEAhIpbGUhZEr3osPAzkQBSFLeVYO7lbSnEcch6Tw983ew==","shasum":"0d2f471fc0d5f380cf7fc860aadda6720ed6e730","tarball":"https://registry.npmjs.org/xast-util-to-xml/-/xast-util-to-xml-2.0.1.tgz","fileCount":18,"unpackedSize":14587,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJfjV5ACRA9TVsSAnZWagAAhZQQAIDcBd5MBQcVEs2+eGwG\nhUF4fAC919r+X6gW4f74JW+8if6qsig0kDqGe1QzG2c5wecYfDS4NxbFd7VC\nsjnup3cUvaXwbn1oieMo0oePozDwDAu9aNxQbR7tSsq5RebRyfEg6eD9aHuQ\nIpr2Ykv7mc1uO2IOTrmZeEKbgxcNmTIo+TuRYOYsBxVG/i5hBlzX20D+ZsUu\noTVFB9hpQ0AkGHA7xpZIly++XbuFai8/gSA101tfNpMa9iMTHNAIRMMLmqy6\nME6UAcZ0NSzHEYV099Cj2NUY4CeR6+PCVf/3lo/fy/I56gPowkbzqeGlkpxc\nGY91pizdeKMPx1EUxGv8iaNcoz4XxcfidcpfYv6KvqikQl8JaC8V4qcSX/Ke\npIhkW0B79q1t8xEKTXjSaesqNP6LA/K2GRwvCr+2Eq9ImeCRVcntQzYzhtHU\ncQkYHhVL1O5iETvJlh0V3qxOt4MrgVenFRJRaZbdUqk/s7szRKMsHw0UMeOC\nxILIa8M9W/5B7VX7IqMJi4Xd4tKUDAIYTErYUmoMi6romtIOz86ZdmzrEzJP\nOQ7NXJzzXa/twpDUvQmrc1hpzAQbxtr8Wdy3BtGDrh4B9leeyk76q8krVRcF\n7/5zJMWSt4FDDzz9mR4N1nmBdvXPYw9hz9L2XWxn91BvLWbl82dL4KuIaf2x\nwJxi\r\n=Y+xj\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDNX0/8OSuNcW5nGzLPAwkXQsbmyhlQeaQF/ELwa9TBYQIgV6ZQM1IuUcllM39gce8D3yIQ8dRhWTI0dlb0jA3oYLE="}]},"maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xast-util-to-xml_2.0.1_1603100223977_0.5797724097514303"},"_hasShrinkwrap":false},"3.0.0":{"name":"xast-util-to-xml","version":"3.0.0","description":"xast utility to serialize to XML","license":"MIT","keywords":["unist","xast","xast-util","util","utility","xml"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/xast-util-to-xml.git"},"bugs":{"url":"https://github.com/syntax-tree/xast-util-to-xml/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/xast":"^1.0.0","ccount":"^2.0.0","stringify-entities":"^4.0.0"},"devDependencies":{"@types/tape":"^4.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^9.0.0","remark-preset-wooorm":"^8.0.0","rimraf":"^3.0.0","tape":"^5.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","xastscript":"^2.0.0","xo":"^0.39.0"},"scripts":{"prepack":"npm run build && npm run format","build":"rimraf \"{lib/**,test/**,}*.d.ts\" && tsc && type-coverage","format":"remark . -qfo && prettier . --write --loglevel warn && xo --fix","test-api":"node test/index.js","test-coverage":"c8 --check-coverage --branches 100 --functions 100 --lines 100 --statements 100 --reporter lcov node test/index.js","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true,"rules":{"no-control-regex":"off","no-var":"off","prefer-arrow-callback":"off"}},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"e9b5f0c750e700cd45f4002a075b8d97062bc453","homepage":"https://github.com/syntax-tree/xast-util-to-xml#readme","_id":"xast-util-to-xml@3.0.0","_nodeVersion":"15.11.0","_npmVersion":"7.11.1","dist":{"integrity":"sha512-lhyPSdXoHkr92kkMxuwfd6UVfEXUuAYIzSzdJPmlX//BVRTaXFQLWA7iOxMKLg2+mkcCsKl4GtpXCMIxNHJb3Q==","shasum":"06896db0cce30b399696daa06b0e9a8fe439e2c3","tarball":"https://registry.npmjs.org/xast-util-to-xml/-/xast-util-to-xml-3.0.0.tgz","fileCount":31,"unpackedSize":21900,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgkBLbCRA9TVsSAnZWagAAB2YQAJlYRv63DlSgWbN2HTSI\nP13AiWxndLs2YMMFETMqX9pdWLFFAYTkVV4f7RlL1yCA14/Dai97UFH/8Lko\nxo164gCUzPKHJ/ciISyI8p6HBq/hd4EasSR6mo6Cr+5l6mW6Nu++1Cd4zpfk\nHlj7bR7SJDasFW95+z3RoxSmY4i7IFO2f9AoUHhiZTGVFvA1LFzVxdELGz0G\nGkR+8oMd89icn0AxXGsfW3Xbdu8O6/rzbAqAJMKxoCI79uKsEtIFOs0iuf6P\napMnBVV6PE4Rf6SomwBM5qgyGgwozdVjMtGp9Qw00kLYjltAmIiZtGHyoxna\nOx+QESktw/G6Y61fSEb45DIvki6SXDHyz3Dpa+xemzgUHlnO4pgzBDodgdao\nsMDB0a94ewpN4R1fxj8OLXu1/jC/yuI/lONstRKCEtIUEMI1OU5xtlAHjIoH\neWAzvBgwn+Pr0HpiWQAodqDknmqwi+SjN2qz1Zn2SMn9RSzEfC+yn/CAydfZ\n4AzhVd9zEyTl2Acz0yQ/ulK5Al7a7SCVkUEFILk40zqP21pb4N5dmb4jpfDS\nByaXQBpH2pc2zKNTcognE3b8yPvruZMlXd06QzIlFxXSgOvZriY9eJsJGIYC\n+00tYkIwfkLNW0WPK0YKhRdZ2YUIb+PWx+wms9ByAICSeVquNDEOqjqp6/KV\ndr57\r\n=pT4q\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDzePE7e2cDJKJjfiQlRISuUynDgs2O34bNtPabjuEZugIhAM+JCoid4wcn0qrv+wsmvqpkCkSyTjPRITSy6pttSaJV"}]},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xast-util-to-xml_3.0.0_1620054747096_0.8812643045927118"},"_hasShrinkwrap":false},"3.0.1":{"name":"xast-util-to-xml","version":"3.0.1","description":"xast utility to serialize to XML","license":"MIT","keywords":["unist","xast","xast-util","util","utility","xml"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/xast-util-to-xml.git"},"bugs":{"url":"https://github.com/syntax-tree/xast-util-to-xml/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/xast":"^1.0.0","ccount":"^2.0.0","stringify-entities":"^4.0.0"},"devDependencies":{"@types/node":"^18.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","xastscript":"^3.0.0","xo":"^0.53.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test/index.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"81eaf3abf334eb686ca14651fbc8ade3f51042fb","homepage":"https://github.com/syntax-tree/xast-util-to-xml#readme","_id":"xast-util-to-xml@3.0.1","_nodeVersion":"19.3.0","_npmVersion":"9.2.0","dist":{"integrity":"sha512-L0Hp9QMbjDQKpTiMlYrCTcYmrLByIbh5b8aSW1Kc/DzFdJHXtD2uJqSk+L3qtbcltGD1sIZsl5pmU0AxvHZW1Q==","shasum":"8417e0c6c7dbe8c10e0e9b0e0e8d74b434bf5c16","tarball":"https://registry.npmjs.org/xast-util-to-xml/-/xast-util-to-xml-3.0.1.tgz","fileCount":31,"unpackedSize":26638,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBAPAZioK8BXS9tVf8X3KOZso2XrJkish/VNDUx/8YOLAiAJuLhHxJCx1qc/afks7ItKnaNTsFYRGkP9f9WF1wKBjA=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjxqDdACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmqSMQ//aQmLAgbBnC0MMXDeyZ56+oiuSKrVlGwuoLNLr5IzzlB2QPyO\r\nN+M0ZraZn1tD3ie3xxjcMVIPktsy1302uakYHFAKpu8N75q/hOCj3lF8KH1Z\r\nD91i2m/B4Ewfgzd+dG9/n9q+mAk5VPlCnDTbTVYOAdMwmu/qlz5xC6mSaUOp\r\nSkbCqCL8EMdpEHaUh2F9866aNXQ4NhqYmrKSmsLraLRV+KU65ko2qUevg7Mn\r\n8YoSxU0UrkVYaeMmUMf9Qd5Ud8OzfbyCvKDW4K3PXjSOXfqAf3Eda/dDKFmY\r\nTCNO/wboNUyAtEourXic9i9K8+wPGGrTT7ulfykIzSvvaVxFnV2roCZYr10D\r\nbbeClRIZsqFE7DxmMaXF8Ybsa3YeWj//gcDhPWE6hEsIl71KP6wJg807ymVr\r\nLXYsB1P82NR4EEW2PJiB86WVarHsgRxcIz6xrleRXg6UW3Iesxa+p7b5XCXz\r\nCAKuMfVRceKC0WnIczgW3CIIFPCC6VlkwD9aWYFByKXr/57qKyoWO7Ap/aCI\r\neGB8kP28inpEjUemGWM0K/57ESCgDAnEZaN2QxRj3HpguCZ/E34gRnvvE3UX\r\nyT7PBn+SfKoF3kAnK6QPMdgjOo1ApRUJb8xt1OED2mkHkXCsENWOqAGyVlW0\r\nX3/nUx9gPqW3HQ/Wdb+gpZWi23MsvQuUPvk=\r\n=+xVf\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xast-util-to-xml_3.0.1_1673961693087_0.33249818837742895"},"_hasShrinkwrap":false},"3.0.2":{"name":"xast-util-to-xml","version":"3.0.2","description":"xast utility to serialize to XML","license":"MIT","keywords":["unist","xast","xast-util","util","utility","xml"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/xast-util-to-xml.git"},"bugs":{"url":"https://github.com/syntax-tree/xast-util-to-xml/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","main":"index.js","types":"index.d.ts","dependencies":{"@types/xast":"^1.0.0","ccount":"^2.0.0","stringify-entities":"^4.0.0"},"devDependencies":{"@types/node":"^18.0.0","c8":"^7.0.0","prettier":"^2.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","type-coverage":"^2.0.0","typescript":"^4.0.0","unist-builder":"^3.0.0","xastscript":"^3.0.0","xo":"^0.53.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --loglevel warn && xo --fix","test-api":"node --conditions development test/index.js","test-coverage":"c8 --check-coverage --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"tabWidth":2,"useTabs":false,"singleQuote":true,"bracketSpacing":false,"semi":false,"trailingComma":"none"},"xo":{"prettier":true},"remarkConfig":{"plugins":["preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"strict":true},"gitHead":"3b9d676d8fb789d7ba74e71c387b20f9d323091f","homepage":"https://github.com/syntax-tree/xast-util-to-xml#readme","_id":"xast-util-to-xml@3.0.2","_nodeVersion":"19.3.0","_npmVersion":"9.6.0","dist":{"integrity":"sha512-lbnJEVui7Lk9W/TydInkin5OnOyTAr2b4OpK5YjXo94qqoXaR6mFE/evXfOrBev9EnD91r0FOPxrLfTT0qLITQ==","shasum":"018b4a7bb06771d845218816caf8e0f54fe4e2ee","tarball":"https://registry.npmjs.org/xast-util-to-xml/-/xast-util-to-xml-3.0.2.tgz","fileCount":29,"unpackedSize":26213,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEi/2+pR53f9SQSl1aaIUwzWvUaQ7iAag4gPMswCXKUVAiBpBjzBPnVZTxBLkSz9Enqvv8avFqkTUAwcg4OvpPMNfw=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJkC0wCACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2Vmre/BAAod+NGvShOQyXUAFakEdT62R8mvQxj5sixhoy343JLgsJ9Fly\r\nikZgrmHPeCmDoyg5XAXLpON9cZctvRrkhjZ1Z1/dApOC2KrYJhRa1bY8ZBRb\r\nA82LA/diGPHEpnqR3x5zdaQl0R1chRSeGaVtEzuxdzaPNrDMePJV2TwCk8Lk\r\nvk7hU/4Djexf02Iufz/j3p37dbOEQaeRn3zTfVaNvRCnbeKC0FAU0sdszXK/\r\noKiuzdg7LTxx+HLYQXw3T/3XZJ/69RQUzI6HLgrdyhszDICMU22vyt4/g/4h\r\nSvXQ4rSkEOZCd9SvxV9ZV1uY4BftdEoJNyiB0JIjyrnsO48nCTFFLwYGTfS7\r\nknsX00pt/vKvp/cXoIpOZM53wfp1a2TvTWBqEw7fk8kA7ajhiWN3v7P7lBMG\r\ndZCj+fgaT7KvKJJoSeSU9S2zldH8mu7euUfo8wvRCmX4q9N41kYYgT3wBouU\r\nIfIGesH2nXhpImyDVlLbwsAXMofuimsc+QBiHdEPOZ6FrWzzE7lCr8q6XEzV\r\nQvu7MhYSE6jS2d61okiLw2Xnu6OhkM/lXiVwvsoXtljxiOsdXvrkjjB5EXnK\r\nGJSFVeCuMhyz9WRiX7gL48ve5OQYVNGrJWm6Ly7jbXo615PtVztZsA5m/k9R\r\nRFrptEy0dS2+UXF/yrenazBoiKhdJeTcMYk=\r\n=6s9b\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xast-util-to-xml_3.0.2_1678461953877_0.7384337900592501"},"_hasShrinkwrap":false},"4.0.0":{"name":"xast-util-to-xml","version":"4.0.0","description":"xast utility to serialize to XML","license":"MIT","keywords":["unist","xast","xast-util","util","utility","xml"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/xast-util-to-xml.git"},"bugs":{"url":"https://github.com/syntax-tree/xast-util-to-xml/issues"},"funding":{"type":"opencollective","url":"https://opencollective.com/unified"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/xast":"^2.0.0","ccount":"^2.0.0","stringify-entities":"^4.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^8.0.0","prettier":"^3.0.0","remark-cli":"^11.0.0","remark-preset-wooorm":"^9.0.0","type-coverage":"^2.0.0","typescript":"^5.0.0","unist-builder":"^4.0.0","xastscript":"^4.0.0","xo":"^0.55.0"},"scripts":{"prepack":"npm run build && npm run format","build":"tsc --build --clean && tsc --build && type-coverage","format":"remark . -qfo && prettier . -w --log-level warn && xo --fix","test-api":"node --conditions development test/index.js","test-coverage":"c8 --100 --reporter lcov npm run test-api","test":"npm run build && npm run format && npm run test-coverage"},"prettier":{"bracketSpacing":false,"semi":false,"singleQuote":true,"tabWidth":2,"trailingComma":"none","useTabs":false},"remarkConfig":{"plugins":["remark-preset-wooorm"]},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"xo":{"overrides":[{"files":["**/*.ts"],"rules":{"@typescript-eslint/consistent-type-definitions":"off"}}],"prettier":true,"rules":{"unicorn/prefer-string-replace-all":"off"}},"gitHead":"ffb71c1457fa04c452fd714a35da954cd491d758","types":"./index.d.ts","homepage":"https://github.com/syntax-tree/xast-util-to-xml#readme","_id":"xast-util-to-xml@4.0.0","_nodeVersion":"20.0.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-r1euIWS5yZJUNpfN+ReE4m7Vld2iytaOPJtuXVuRQacRZwqRN1MAb+dv0aGLrdXOZrpGLyvUFf1Upyrb3R5qBg==","shasum":"14a01a7fb00c5ca6e213d492e34a979b6f490384","tarball":"https://registry.npmjs.org/xast-util-to-xml/-/xast-util-to-xml-4.0.0.tgz","fileCount":29,"unpackedSize":27414,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCrrAxi1ryPpiqMrdeAVn8rvZy2kcVGusgeqzoijG927AIhALv7ibYeVJJSPRzotnNfzKv1heszH4XbT7gOe19vqdvj"}]},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/xast-util-to-xml_4.0.0_1689690637322_0.18751629416407578"},"_hasShrinkwrap":false}},"time":{"created":"2020-01-01T17:26:55.802Z","1.0.0":"2020-01-01T17:26:55.900Z","modified":"2023-07-18T14:30:37.843Z","2.0.0":"2020-10-04T06:25:58.868Z","2.0.1":"2020-10-19T09:37:04.096Z","3.0.0":"2021-05-03T15:12:27.240Z","3.0.1":"2023-01-17T13:21:33.263Z","3.0.2":"2023-03-10T15:25:54.033Z","4.0.0":"2023-07-18T14:30:37.517Z"},"maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"description":"xast utility to serialize to XML","homepage":"https://github.com/syntax-tree/xast-util-to-xml#readme","keywords":["unist","xast","xast-util","util","utility","xml"],"repository":{"type":"git","url":"git+https://github.com/syntax-tree/xast-util-to-xml.git"},"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"}],"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"bugs":{"url":"https://github.com/syntax-tree/xast-util-to-xml/issues"},"license":"MIT","readme":"# xast-util-to-xml\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n[![Sponsors][sponsors-badge]][collective]\n[![Backers][backers-badge]][collective]\n[![Chat][chat-badge]][chat]\n\n[xast][] utility to serialize as XML.\n\n## Contents\n\n*   [What is this?](#what-is-this)\n*   [When should I use this?](#when-should-i-use-this)\n*   [Install](#install)\n*   [Use](#use)\n*   [API](#api)\n    *   [`toXml(tree[, options])`](#toxmltree-options)\n    *   [`Options`](#options)\n    *   [`Quote`](#quote-1)\n    *   [`Raw`](#raw)\n*   [Types](#types)\n*   [Compatibility](#compatibility)\n*   [Security](#security)\n*   [Related](#related)\n*   [Contribute](#contribute)\n*   [License](#license)\n\n## What is this?\n\nThis package is a utility that turns a xast tree into a string of XML.\n\n## When should I use this?\n\nYou can use this utility when you want to get the serialized XML that is\nrepresented by the syntax tree, either because you’re done with the syntax tree,\nor because you’re integrating with another tool that does not support syntax\ntrees.\n\nThis utility has options to configure how the XML is serialized.\nThese options help when building tools that make output pretty (such as\nformatters) or ugly (such as minifiers).\n\nThe utility [`xast-util-from-xml`][xast-util-from-xml] does the inverse of this\nutility.\nIt turns XML into xast.\n\nThe utility [`hast-util-to-html`][hast-util-to-html] does the same as this\nutility but for HTML: it turns [hast][] into HTML.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install xast-util-to-xml\n```\n\nIn Deno with [`esm.sh`][esmsh]:\n\n```js\nimport {toXml} from 'https://esm.sh/xast-util-to-xml@4'\n```\n\nIn browsers with [`esm.sh`][esmsh]:\n\n```html\n<script type=\"module\">\n  import {toXml} from 'https://esm.sh/xast-util-to-xml@4?bundle'\n</script>\n```\n\n## Use\n\n```js\nimport {u} from 'unist-builder'\nimport {x} from 'xastscript'\nimport {toXml} from 'xast-util-to-xml'\n\nconst tree = u('root', [\n  u('instruction', {name: 'xml'}, 'version=\"1.0\" encoding=\"utf-8\"'),\n  u('text', '\\n'),\n  x('ncx', {xmlns: 'http://www.daisy.org/z3986/2005/ncx/', version: '2005-1'}, [\n    u('text', '\\n  '),\n    x('head', [\n      u('text', '\\n    '),\n      x('meta', {name: 'dtb:uid', content: 'urn:isbn:9781234567891'}),\n      u('text', '\\n  ')\n    ]),\n    u('text', '\\n  '),\n    x('docTitle', [x('text', 'A Christmas Carol')]),\n    u('text', '\\n  '),\n    x('docAuthor', [x('text', 'Charles Dickens')]),\n    u('text', '\\n')\n  ])\n])\n\nconsole.log(toXml(tree))\n```\n\nYields:\n\n```xml\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\n<ncx xmlns=\"http://www.daisy.org/z3986/2005/ncx/\" version=\"2005-1\">\n  <head>\n    <meta name=\"dtb:uid\" content=\"urn:isbn:9781234567891\"></meta>\n  </head>\n  <docTitle><text>A Christmas Carol</text></docTitle>\n  <docAuthor><text>Charles Dickens</text></docAuthor>\n</ncx>\n```\n\n## API\n\nThis package exports the identifier [`toXml`][api-to-xml].\nThere is no default export.\n\n### `toXml(tree[, options])`\n\nSerialize a xast tree to XML.\n\n###### Parameters\n\n*   `tree` ([`Array<Node>`][node] or `Node`)\n    — xast node(s) to serialize\n*   `options` ([`Options`][api-options], optional)\n    — configuration\n\n###### Returns\n\nSerialized XML (`string`).\n\n### `Options`\n\nConfiguration (TypeScript type).\n\n##### Fields\n\n###### `allowDangerousXml`\n\nAllow `raw` nodes and insert them as raw XML (`boolean`, default: `false`).\n\nWhen `false`, `Raw` nodes are encoded.\n\n> ⚠️ **Danger**: only set this if you completely trust the content.\n\n###### `closeEmptyElements`\n\nClose elements without any content with slash (`/`) on the opening tag instead\nof an end tag: `<circle />` instead of `<circle></circle>` (`boolean`, default:\n`false`).\n\nSee `tightClose` to control whether a space is used before the slash.\n\n###### `quote`\n\nPreferred quote to use ([`Quote`][api-quote], default: `'\"'`).\n\n###### `quoteSmart`\n\nUse the other quote if that results in less bytes (`boolean`, default:\n`false`).\n\n###### `tightClose`\n\nDo not use an extra space when closing self-closing elements: `<circle/>`\ninstead of `<circle />` (`boolean`, default: `false`).\n\n> 👉 **Note**: only used if `closeEmptyElements: true`.\n\n### `Quote`\n\nXML quotes for attribute values (TypeScript type).\n\n###### Type\n\n```ts\ntype Quote = '\"' | \"'\"\n```\n\n### `Raw`\n\nRaw (TypeScript type).\n\n###### Type\n\n```ts\nimport type {Data, Literal} from 'xast'\n\ninterface Raw extends Literal {\n  type: 'raw'\n  data?: RawData | undefined\n}\n\nexport interface RawData extends Data {}\n```\n\n## Types\n\nThis package is fully typed with [TypeScript][].\nIt exports the additional types [`Options`][api-options], [`Quote`][api-quote],\nand [`Raw`][api-raw].\n\nIt also registers the node type with `@types/xast`.\nIf you’re working with the syntax tree, make sure to import this utility\nsomewhere in your types, as that registers the new node types in the tree.\n\n```js\n/**\n * @typedef {import('xast-util-to-xml')}\n */\n\nimport {visit} from 'unist-util-visit'\n\n/** @type {import('xast').Root} */\nconst tree = getXastNodeSomeHow()\n\nvisit(tree, function (node) {\n  // `node` can now be a raw node.\n})\n```\n\n## Compatibility\n\nProjects maintained by the unified collective are compatible with maintained\nversions of Node.js.\n\nWhen we cut a new major release, we drop support for unmaintained versions of\nNode.\nThis means we try to keep the current release line, `xast-util-to-xml@^4`,\ncompatible with Node.js 16.\n\n## Security\n\nXML can be a dangerous language: don’t trust user-provided data.\n\n## Related\n\n*   [`xast-util-from-xml`](https://github.com/syntax-tree/xast-util-from-xml)\n    — parse from xml\n*   [`hast-util-to-xast`](https://github.com/syntax-tree/hast-util-to-xast)\n    — transform hast (html, svg) to xast (xml)\n*   [`xastscript`](https://github.com/syntax-tree/xastscript)\n    — create xast trees\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`syntax-tree/.github`][health] for\nways to get started.\nSee [`support.md`][support] for ways to get help.\n\nThis project has a [code of conduct][coc].\nBy interacting with this repository, organization, or community you agree to\nabide by its terms.\n\n## License\n\n[MIT][license] © [Titus Wormer][author]\n\n<!-- Definitions -->\n\n[build-badge]: https://github.com/syntax-tree/xast-util-to-xml/workflows/main/badge.svg\n\n[build]: https://github.com/syntax-tree/xast-util-to-xml/actions\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/syntax-tree/xast-util-to-xml.svg\n\n[coverage]: https://codecov.io/github/syntax-tree/xast-util-to-xml\n\n[downloads-badge]: https://img.shields.io/npm/dm/xast-util-to-xml.svg\n\n[downloads]: https://www.npmjs.com/package/xast-util-to-xml\n\n[size-badge]: https://img.shields.io/badge/dynamic/json?label=minzipped%20size&query=$.size.compressedSize&url=https://deno.bundlejs.com/?q=xast-util-to-xml\n\n[size]: https://bundlejs.com/?q=xast-util-to-xml\n\n[sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[collective]: https://opencollective.com/unified\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[chat]: https://github.com/syntax-tree/unist/discussions\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esmsh]: https://esm.sh\n\n[typescript]: https://www.typescriptlang.org\n\n[license]: license\n\n[author]: https://wooorm.com\n\n[health]: https://github.com/syntax-tree/.github\n\n[contributing]: https://github.com/syntax-tree/.github/blob/main/contributing.md\n\n[support]: https://github.com/syntax-tree/.github/blob/main/support.md\n\n[coc]: https://github.com/syntax-tree/.github/blob/main/code-of-conduct.md\n\n[xast]: https://github.com/syntax-tree/xast\n\n[node]: https://github.com/syntax-tree/xast#nodes\n\n[hast]: https://github.com/syntax-tree/hast\n\n[xast-util-from-xml]: https://github.com/syntax-tree/xast-util-from-xml\n\n[hast-util-to-html]: https://github.com/syntax-tree/hast-util-to-html\n\n[api-to-xml]: #toxmltree-options\n\n[api-options]: #options\n\n[api-quote]: #quote-1\n\n[api-raw]: #raw\n","readmeFilename":"readme.md","users":{"flumpus-dev":true}}