{"_id":"rehype-sort-attributes","_rev":"16-868b6744f76fd3c5b56e73bb9bcbc682","name":"rehype-sort-attributes","dist-tags":{"latest":"5.0.1"},"versions":{"1.0.0":{"name":"rehype-sort-attributes","version":"1.0.0","keywords":["rehype","hast","attribute","sort"],"author":{"url":"http://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"rehype-sort-attributes@1.0.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/wooorm/rehype-minify/issues"},"dist":{"shasum":"b3ae8f578553c75ff4b29302d51a29ad202610e7","tarball":"https://registry.npmjs.org/rehype-sort-attributes/-/rehype-sort-attributes-1.0.0.tgz","integrity":"sha512-PwZRZMlNgPaYj7F9+09J9Cyh8881Ja8P/nZb6YG5O6CHaMoXldTwAwLRQCEpPj58WfwHU7Pweq3ikitnSuKnhg==","signatures":[{"sig":"MEQCIFA8+RVDK+Q8afGuQpZBmgZmtaZUdPQIi2Cbg5zEhW4/AiA7Vr09hNM8PhppDCEP97pJVW109zVOmWMULXnEjz1+Dw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"_from":".","files":["index.js"],"_shasum":"b3ae8f578553c75ff4b29302d51a29ad202610e7","scripts":{},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/wooorm/rehype-minify/tree/master/packages/rehype-sort-attributes","type":"git"},"_npmVersion":"3.10.6","description":"Reorder attributes based on how often they occur","directories":{},"_nodeVersion":"6.3.0","dependencies":{"has":"^1.0.1","unist-util-visit":"^1.0.0","hast-util-has-property":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-sort-attributes-1.0.0.tgz_1473340417425_0.07400984596461058","host":"packages-12-west.internal.npmjs.com"}},"1.0.1":{"name":"rehype-sort-attributes","version":"1.0.1","keywords":["rehype","hast","attribute","sort"],"author":{"url":"http://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"rehype-sort-attributes@1.0.1","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/wooorm/rehype-minify/issues"},"xo":false,"dist":{"shasum":"b70a631025f1d43cd85c0ec99f37e0452a0e24cf","tarball":"https://registry.npmjs.org/rehype-sort-attributes/-/rehype-sort-attributes-1.0.1.tgz","integrity":"sha512-6N1Ur835b6lfj7AWEhZHu/JX0VX3PzRtwmalmcKOE/iPbaHKU/B3E6y8KfXUEygr+oad0BfOF59D8NuclqyVcw==","signatures":[{"sig":"MEYCIQDiRwsO6nRdLGw9CRahb5d3Drannjk30oIzoAa/qBjp/AIhAOVFIGNChuXUDh5G2Na/E6UtoUO26FR1iLJUEl5Kx6f7","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}]},"files":["index.js"],"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/wooorm/rehype-minify/tree/master/packages/rehype-sort-attributes","type":"git"},"_npmVersion":"5.0.3","description":"Reorder attributes based on how often they occur","directories":{},"_nodeVersion":"8.1.2","dependencies":{"unist-util-visit":"^1.0.0","hast-util-has-property":"^1.0.0"},"_npmOperationalInternal":{"tmp":"tmp/rehype-sort-attributes-1.0.1.tgz_1497958136893_0.13293269323185086","host":"s3://npm-registry-packages"}},"2.0.0":{"name":"rehype-sort-attributes","version":"2.0.0","keywords":["rehype","hast","attribute","sort"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"rehype-sort-attributes@2.0.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"dc4060cca02df734ed1e19cdb94fd4496bbc4a74","tarball":"https://registry.npmjs.org/rehype-sort-attributes/-/rehype-sort-attributes-2.0.0.tgz","fileCount":3,"integrity":"sha512-GiezrmdHtSnVKaeHkffQjy9RRVhzDHxxz47UURDiP8qXDCnqPHky90xQgnz6o+SgO2vuvItt2YPdXjbvR3uR4A==","signatures":[{"sig":"MEUCICjtWo5l5g8gWLKOueElJXXJahFpwbyTw3IJlxT5SFd0AiEA/jm5oJRWMdxtFycWfQ8fXP51u0xdEplZYL+C2ebgUtQ=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":3168,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb8FtsCRA9TVsSAnZWagAA3NEP/1hOaVxzALCz8LqGy/tL\nfJOA0HqEhwPt99Wjd02LLQ96mxa8l9oJXFI/SqI75REcH1toHMQyNwdrmklC\nRAm5xInh2LoKOMvuuLq5VivMtPWNAqJjustIIStTpJfKS5JsxHgNgLsQjJia\nTxRG3LU2fajp5XPISc8BTpnAjKZSKPU7WAAcXeuf3J/6D3W4rdSkllEIGew7\nU8f3BFluSF1h7/BelEOqhnpo6XEIqkyyXs/gsuugoQHnXRn/j1TmM7MmkUdc\nIP1UtUygPnzcQ2DVZkllvW14Ca3mF+7bLNZ1n2Uf0yNGjrALr6itWimeien1\n1gGsE6oyJg5UHXi3iC66SS+afDir6jylJT1hvbm14c1YcDXF0XGDYmiRfR3l\n62w00XN+Gi/w+VIRWPLHjABKzKmv0QZFiJXqUyv7TbP5hUoVs2R85WThGxKp\nm1XPj0HfDmlmgNqZkaEYUxpzkCwjDMXutqgIX73fu0U+WR+TLAspTL+uvSL/\na3H5ldJvbOM5TaSe0Qlc6sJehbUAOJlkhsXD3Pi7PSTfz6d7SJGk1JP/GzoQ\nelRmOarTfRHHFulMSyMc8X3kTs7hjkFh4L0AiKlpc768cNM4bVk3usW6tlMz\n8S1N5Dki2zlwa5Xbxpp4UFyyVqqNwhe5V7PxKolsyb0Q2ODeIvRrDxuqyxjF\n87Cc\r\n=jwcq\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/rehypejs/rehype-minify/tree/master/packages/rehype-sort-attributes","type":"git"},"_npmVersion":"6.4.1","description":"Reorder attributes based on how often they occur","directories":{},"_nodeVersion":"11.0.0","dependencies":{"unist-util-visit":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rehype-sort-attributes_2.0.0_1542478699738_0.7245524904098473","host":"s3://npm-registry-packages"}},"2.0.1":{"name":"rehype-sort-attributes","version":"2.0.1","keywords":["unified","rehype","hast","attribute","sort"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"rehype-sort-attributes@2.0.1","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"acf5189e0b2611b55ef9cbf475f74c361ed09ae8","tarball":"https://registry.npmjs.org/rehype-sort-attributes/-/rehype-sort-attributes-2.0.1.tgz","fileCount":3,"integrity":"sha512-zj3s3WcunfmOLupc62QrpXyvK1psaZC/EDmIBymEwf5qIHBrBCK+KggfCC/Esrvtx0qPdkMwjr0K/31s/+otuw==","signatures":[{"sig":"MEQCIB+/Gr+wfqsb+k0qg2m6cmRT26EXSZQWs8eEYPiVGzKLAiAL5GvSbBx1Gp2WJ3OAq/y1/lfDRryhHBGCtch3UrOcJg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5023,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJc8oDhCRA9TVsSAnZWagAAQX8QAJWp38MDvMNxgg4V/fYh\nQmVXhQvBCeoBHjN7dCRLRwY4/EjfLBfUF49f7pOa35snr7c81RMUSqXIO9hL\nkE5XHmqF4CWiF0t6ibK2nXLr4YWK/4vBg74dRf8XvDSln0z2/XBnmfqA0hnC\nqCxDZWXokoiOMzVRwFxOalXs7W21AUo/CD9oiZBeLo+yDJrjUDQoLxLUHhon\nxpd134jSut8USGDZ0pVRgyyo+OyHqo/zeb7NY60iRrLIPqlBe+mi/d+L0AFz\nMiRaSbOdgJJG58zjYju7myetaLxaVsN2fddQD8h9D5Igmr5RjTVKlXdNWnSI\nPlldVl7mo0Whq7GudL2zK5iuGZxFmAS9xDHBzMphdb9Tr1v0ofn9AB62c8Oi\n9h8tnwyv8bRcrRMcdA95qVKyw+/uSD5rmFUkAkHfd0CIOYdnqGkscf8c05at\nZiMWa3dUAUD+thL0pRtOyRMJZHf+1YYsfMTIKHWRl8LrveHIledaVsqhC/aB\nUG8RN8o0CcAyke5OFS1w9iB+1TMghZl01NaH+3VooTOrNX2P6rI0EJYMVBGL\ne8Q6CnZeKtFbPOgrq2GA/7qS9QGrEaa4aExstic+RqY4VA5CzESbVsGfb1bg\nVc0dnid58Coi2woRDx/yyiwgOyLQ4LN5rKKR2bkrx8IMTPPjDcVtNSve3X8O\n38iV\r\n=3Pf+\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/rehypejs/rehype-minify/tree/master/packages/rehype-sort-attributes","type":"git"},"_npmVersion":"6.9.0","description":"rehype plugin to reorder attributes based on how often they occur","directories":{},"_nodeVersion":"12.2.0","dependencies":{"unist-util-visit":"^1.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rehype-sort-attributes_2.0.1_1559396576988_0.24625443951163795","host":"s3://npm-registry-packages"}},"3.0.0":{"name":"rehype-sort-attributes","version":"3.0.0","keywords":["unified","rehype","hast","attribute","sort"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"rehype-sort-attributes@3.0.0","maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"904c405ecc6cca969ee9016037991d21493e4e60","tarball":"https://registry.npmjs.org/rehype-sort-attributes/-/rehype-sort-attributes-3.0.0.tgz","fileCount":3,"integrity":"sha512-RC4Dx4PmZulhnhh72+SJpeAFHrxLqfbiVn4KQDa6N/QDgsBxc1Gic9tFlZZyX7UpO+BEdSY44mmXrt03leVgFg==","signatures":[{"sig":"MEQCIFVsRpvaPBthoxld4YoS+tCWgAmw4b9YBBEBjrE3c8MoAiBKb1EQS7WXezTMLAVWdainRmMvb/mTBn0XgD93tF2Ktw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5023,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJdd3kGCRA9TVsSAnZWagAAPeMP/AjEPDGhrQN9NSiMyffO\nTdm7zzX/PZxAP8o2NDIIS0K3/70+fQESBXsAc/WG/mr7m7W5rC1X7GeOaB16\nUMrKPwnR1GDu0QsBnymE25Pv9pE4B14seUWRnFvnlvlZeJHs2Z7b7FVf1ual\nwh3TH+PtvkYnfblZDSl3g0wksJS01WpEIPeCkmS5+7oWp9Iw/ZM/vdtNpEoC\nc0bZ4tkvX8iXm7mP515BEX+Kv/PuSnhu+5vksOsySQIqxZSnc+si+b7iV+e7\nXHEvus5D+I4cFJ9WStM99r++DVQqXKecrReC2beFFnqBNiAi45zR+WFaE9fP\n17+1oGbU4TlvHqqFxTg3yaV+suVx1S1HUOLGP+Ck+ArJLTsHxlYulMJ4dNlJ\nH+w2vTeGI8kTZV3HaHHdOnskfHNUXDEx1AIqVHGjQdgoF3diWlZB/nDQO3qy\nmKSXWIIxXtbGch+O+FOsI5dO8NbKs+TaBkr9gKEue1OTEeRsyQqFVpLWAcFB\nAzJA5F6+Iv8EOkl+YzToDehzBrzAJLLwHP7fgETjkDL9/ipWeGnJRBoshgWQ\nshoftR8HmepHEau3Oabf5abVUGsDF4J4KldIpGUkoGKiP3q4j3nRn8iO6xfj\nLejzG2TxqFvQy4DKDxZcdCSqRL/wRuT6RGAmUXMNqezx9cF0bTIEbLkE+xrn\nXaCv\r\n=ogtZ\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/rehypejs/rehype-minify/tree/master/packages/rehype-sort-attributes","type":"git"},"_npmVersion":"6.11.2","description":"rehype plugin to reorder attributes based on how often they occur","directories":{},"_nodeVersion":"12.2.0","dependencies":{"unist-util-visit":"^2.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rehype-sort-attributes_3.0.0_1568110853812_0.40791136937748296","host":"s3://npm-registry-packages"}},"3.0.1":{"name":"rehype-sort-attributes","version":"3.0.1","keywords":["unified","rehype","rehype-plugin","plugin","html","minify","mangle","attribute","sort"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"rehype-sort-attributes@3.0.1","maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"e20d35304a47e7118703ed31d97fbbbaf53968c2","tarball":"https://registry.npmjs.org/rehype-sort-attributes/-/rehype-sort-attributes-3.0.1.tgz","fileCount":3,"integrity":"sha512-6axA4MHGDMioNRUSVnPDa029JInAxqFhMDZrEhFESugOIKrMKuRbnQWKka96oeuGA2YHSuA7TtkLVtsBpmzvMg==","signatures":[{"sig":"MEUCIQC3ySP/meVPPsCIeVQSPdnqvuBRNjUC4NgxbD3kqtkd3wIgMPBTvhIWCZ2VMmOwXYleVQX3tB8vOoTfOR4gT89CgXE=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5161,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJedl0pCRA9TVsSAnZWagAAdoEP/jJUu8wdoOZpAl8OraRY\nlB0XvnaY5isJEpk3vM/6hn5INtUGCFETRHMa7t7Pv8MKfMBT4t4jglJJefso\nUjDpIdBYNOvblCll2PnoxTVfQbXSzQv/sHsH7idS9wJlYQlyeySNBZ4n7Xn8\n/XKhm+LW1v0t/cgOAJUbqKsqSWwfc0UaZU5RKKsvaxl7U4j4J9VENPf3syTw\nvEH60zcmVG+w3rE5Fx2T5tAAedtEaBD+i5aMbkznIHRKeKl43/fj5mXnnNYA\ntuzWXxMLl460QASmjFIo0mJykKi7OMBouXxmgV/l0EYe0SCiwBsu6fvys9+A\nFYs5KYQFIrbdpGqL7DaI3qyEAgcdDQpcf5PhFE62aEDjNSwv3mddmyp0oh2Y\n5V7r1Gumf3ZZbXLcKvqw3OCbnOnSPFLM6lPCmjffxUYB7I1l6yl+zwiUBNap\nYSNQn23c8LUAdZGzFaVV315VqdmJ9VXhpO4CPNrj08kZVzbtlMCoLXw2ac9j\nOBv1lP+yCyPRCnjBTmD5KYKrfSyXvBe/fqsL7Bdr2M1ILyxZflI09jEh5oqv\nUcw8EeYbCLp8HvRoWLkBiSkCDZYUFoMpEs/eA/KslNEvrNH6Z/RdAAHMreq5\nj4FdGd8/UKmQ38rvelu0RokQ1Q+zMtfhD9uIgn7FOvGfncfBT3gbx+g+1iLg\nwH/0\r\n=e6KL\r\n-----END PGP SIGNATURE-----\r\n"},"funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/rehypejs/rehype-minify/tree/master/packages/rehype-sort-attributes","type":"git"},"_npmVersion":"6.14.3","description":"rehype plugin to reorder attributes based on how often they occur","directories":{},"_nodeVersion":"13.10.1","dependencies":{"unist-util-visit":"^2.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rehype-sort-attributes_3.0.1_1584815400880_0.6647189284797925","host":"s3://npm-registry-packages"}},"3.0.2":{"name":"rehype-sort-attributes","version":"3.0.2","keywords":["unified","rehype","rehype-plugin","plugin","html","minify","mangle","attribute","sort"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"rehype-sort-attributes@3.0.2","maintainers":[{"name":"kmck","email":"keith@mcknig.ht"},{"name":"wooorm","email":"tituswormer@gmail.com"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"18c7e86b34de4b0222d0d54412e860333bd74b7e","tarball":"https://registry.npmjs.org/rehype-sort-attributes/-/rehype-sort-attributes-3.0.2.tgz","fileCount":3,"integrity":"sha512-roPtOHX6BfLXge161TnxOh+jr8JhZwUDVdqYI/qobYpfAkXgBfnftpWlwcShdsExa+nbUd5zU7z9A0nHBi35+A==","signatures":[{"sig":"MEUCIQDreRT+Q56nhzm2C4pyjyfmTetLkFIWN32UOXyn1OunQAIgSCvnKiKn7liLlpShhdiUuExj589Olge17EAwqRJI3q0=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":5151,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe/cGXCRA9TVsSAnZWagAAJbsP/0NL+hJMQKdrEVfIbpU3\nU7cCkclGfspQ3qho9+2cxPtt8MqxH6usce+pDsQM372GVtTcgQAnUpwdeMwr\nPxqtJ3762cXfA6V5Um1lXWPGJk5nAkHIuP/xh+tKrd2RsdKiZPNtGLZFTvLW\nRPcclFYY/Yx1LaduetA0ENNiDAwdKLKgH5RArDN2pJwPh0UAld5TZbnzrHL/\nkrBrAsKy8w9eanKTJG9x7EwCxAgLV6X7+Q6hlJxcIaA6M16buEeGJpuFvusq\nNffj51cetHKrJNUyl867NZSYh8RlHfbf25xjWv900deFq02bO49Gsr2jSqxN\nXuFrvQf9NG5qbvXeJVKsHxIvCCaW1sMyx6ChRghsB3bz9iGHN8dLe5QKLvvN\nBJtbOxa5XTSU0Wkv5MmvA17cJjYNK77SZnTz5OzK/r017fDjZhJacGJ3Vklo\nKMFS5jLpzseqhgOL8L+tgoaY6/fNtixqL2nAAjbb0kgMQ4u45Ev/kOQPjm8N\n/EWdd0BMgkdrlOWyIvfWBd2Y7bEW7lQr902FIq40Z/82pD6tBzD1+N2K9eMy\ngpw3iPVNfZ9xyG/PPLCEqdk2hOXLy3UQOBeW6YLRurumIXYuQCh/MMqJ9vKW\nIDq4Vr5nWN/+21DTmXvE36pzlk81udK5lYexw99vtLPAMAQSOSOA1IqRt+kl\nULzi\r\n=bYa2\r\n-----END PGP SIGNATURE-----\r\n"},"funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"https://github.com/rehypejs/rehype-minify/tree/main/packages/rehype-sort-attributes","type":"git"},"_npmVersion":"6.14.5","description":"rehype plugin to reorder attributes based on how often they occur","directories":{},"_nodeVersion":"14.0.0","dependencies":{"unist-util-visit":"^2.0.0"},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rehype-sort-attributes_3.0.2_1593688471160_0.21552907073795868","host":"s3://npm-registry-packages"}},"4.0.0":{"name":"rehype-sort-attributes","version":"4.0.0","keywords":["unified","rehype","rehype-plugin","plugin","html","minify","mangle","attribute","sort"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"rehype-sort-attributes@4.0.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/rehypejs/rehype-minify/tree/main#readme","bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"b7766c864a370a07dd8ffa93b02c98322c20fe67","tarball":"https://registry.npmjs.org/rehype-sort-attributes/-/rehype-sort-attributes-4.0.0.tgz","fileCount":4,"integrity":"sha512-sCT58e12F+fJL8ZmvpEP2vAK7cpYffUAf0cMQjNfLIewWjMHMGo0Io+H8eztJoI1S9dvEm2XZT5zzchqe8gYJw==","signatures":[{"sig":"MEUCIBhldjNKeUXzIY71XpO49RlJh6BlsZAP+uNNbvKdbRXbAiEAz9unsqbj+SqO8vpTKFhqIiTjlmEW4r3YJNDE1t3sCDM=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":7695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhBvDxCRA9TVsSAnZWagAAFuYP/0YvQ/Opu7iTMFxPaksc\nW0d1XY8kG7D4b97trJYmC1CoBoTZX96S1Y05LyVIYjO2ceSK71AKuHZM0bIn\nStq+EB1TQ5gB06YMe+hLeSZpWChZiTGOoPzYMa7qdIpCsc+j04gLxpT8TeVS\n+cvfzySU7W6Kyr/1w1sQy60uTC1mfnvzcIZDP7jdWODOSuKzti2U0LsT5iTW\nDEbbbZMoI/AkWitQAaS/kseeggin9uy9i7zrJs3R4awoBS8ibi2nV3+MkEbC\nKBzhL/xLKbyhPc7eL4vjsC0eNXhQ1mv8Z3TnzQ3p7Xm59kb/2WNjLOf8c2dJ\nOyrRGyqAgqLspqKk/xJ40KHP1VLoXimaNXYFF6bVsuBvU4hFgjS0rViJb309\nwVgKybcP/wLhEdFwsV3au0MxF75AZLNp+Nhfmk2WxNnYAkBZXXeSgB9G7aRg\nv1B5xAyGsOB+/64eIFbL+sns/OdbdsJyMbIOAVSsbXIxGzaXE04EQVnF11MQ\n1jHqbAFnz+MzSw8hsHZkasQumrCoKs6sNp6YZYGl+M781aRaHNO3Ly9KNZyD\nWntetKqEow9P9fG5gCKAEtMKnbxXsu6iqUP1qftTmlaeP/OEbduqhkdlGocM\n5/P1LmLYVacHfXbFF6wAW2AgS4hD0IDF71a8rS3YzxI7dlYvaY9MhLlxfYPy\n4b/6\r\n=dxMi\r\n-----END PGP SIGNATURE-----\r\n"},"main":"index.js","type":"module","types":"index.d.ts","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"scripts":{"test":"node --conditions development test.js","build":"rimraf \"*.d.ts\" && tsc && type-coverage"},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"git+https://github.com/rehypejs/rehype-minify.git#main","type":"git"},"_npmVersion":"7.18.1","description":"rehype plugin to reorder attributes based on how often they occur","directories":{},"sideEffects":false,"_nodeVersion":"16.2.0","dependencies":{"unified":"^10.0.0","@types/hast":"^2.0.0","unist-util-visit":"^4.0.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rehype-sort-attributes_4.0.0_1627844848996_0.4040014519899422","host":"s3://npm-registry-packages"}},"5.0.0":{"name":"rehype-sort-attributes","version":"5.0.0","keywords":["attribute","html","mangle","minify","plugin","rehype","rehype-plugin","sort","unified"],"author":{"url":"https://wooorm.com","name":"Titus Wormer","email":"tituswormer@gmail.com"},"license":"MIT","_id":"rehype-sort-attributes@5.0.0","maintainers":[{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"homepage":"https://github.com/rehypejs/rehype-minify/tree/main#readme","bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"xo":false,"dist":{"shasum":"59e7f976d27001682373ac080774cd1386eb446b","tarball":"https://registry.npmjs.org/rehype-sort-attributes/-/rehype-sort-attributes-5.0.0.tgz","fileCount":6,"integrity":"sha512-6tJUH4xHFcdO85CZRwAcEtHNCzjZ9V9S0VZLgo1pzbN04qy8jiVCZ3oAxDmBVG3Rth5b1xFTDet5WG/UYZeJLQ==","signatures":[{"sig":"MEYCIQCBIo7TyjCrOHTyLAbsrZRpu2n9W9bja/Qfp/uJZPTQmgIhAKoGNJ5yIEKBzWNA+iY6mN4xrHGscf+AIedY1NAqaPDN","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":10143},"type":"module","types":"./index.d.ts","exports":"./index.js","funding":{"url":"https://opencollective.com/unified","type":"opencollective"},"gitHead":"142a16cf75ea59ab9a32b1a38e02cc42cdca3f6d","scripts":{},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"repository":{"url":"git+https://github.com/rehypejs/rehype-minify.git#main","type":"git"},"_npmVersion":"9.8.0","description":"rehype plugin to reorder attributes based on how often they occur","directories":{},"sideEffects":false,"_nodeVersion":"20.5.1","dependencies":{"@types/hast":"^3.0.0","unist-util-visit":"^5.0.0"},"typeCoverage":{"detail":true,"strict":true,"atLeast":100,"ignoreCatch":true},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/rehype-sort-attributes_5.0.0_1693408890915_0.5866094349033699","host":"s3://npm-registry-packages"}},"5.0.1":{"name":"rehype-sort-attributes","version":"5.0.1","description":"rehype plugin to reorder attributes based on how often they occur","license":"MIT","keywords":["attribute","html","mangle","minify","plugin","rehype","rehype-plugin","sort","unified"],"repository":{"type":"git","url":"git+https://github.com/rehypejs/rehype-minify.git#main"},"bugs":{"url":"https://github.com/rehypejs/rehype-minify/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"}],"sideEffects":false,"type":"module","exports":"./index.js","dependencies":{"@types/hast":"^3.0.0","unist-util-visit":"^5.0.0"},"scripts":{},"typeCoverage":{"atLeast":100,"detail":true,"ignoreCatch":true,"strict":true},"xo":{"prettier":true,"rules":{"capitalized-comments":"off","unicorn/prefer-code-point":"off"}},"_id":"rehype-sort-attributes@5.0.1","gitHead":"79383ba769010ff52c547c57850d2dd3ecb815a9","types":"./index.d.ts","homepage":"https://github.com/rehypejs/rehype-minify/tree/main#readme","_nodeVersion":"22.7.0","_npmVersion":"10.8.3","dist":{"integrity":"sha512-Bxo+AKUIELcnnAZwJDt5zUDDRpt4uzhfz9d0PVGhcxYWsbFj5Cv35xuWxu5r1LeYNFNhgGqsr9Q2QiIOM/Qctg==","shasum":"750daa9aa57c30b8e571c2c8a8a30e47f9d6d2cd","tarball":"https://registry.npmjs.org/rehype-sort-attributes/-/rehype-sort-attributes-5.0.1.tgz","fileCount":9,"unpackedSize":11579,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDAtOqk4lXyw7c+VnmVo+mj6f7BuDpg5Sg/ICJBteoXUwIgHqq/+0kFcx2+oIvhE+5JD2YpA5KVEbA7n0wYKlwG+SY="}]},"_npmUser":{"name":"wooorm","email":"tituswormer@gmail.com"},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"},{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/rehype-sort-attributes_5.0.1_1727437869239_0.22824127025536"},"_hasShrinkwrap":false}},"time":{"created":"2016-09-08T13:13:38.906Z","modified":"2024-09-27T11:51:09.671Z","1.0.0":"2016-09-08T13:13:38.906Z","1.0.1":"2017-06-20T11:28:57.870Z","2.0.0":"2018-11-17T18:18:19.906Z","2.0.1":"2019-06-01T13:42:57.146Z","3.0.0":"2019-09-10T10:20:53.994Z","3.0.1":"2020-03-21T18:30:01.006Z","3.0.2":"2020-07-02T11:14:31.303Z","4.0.0":"2021-08-01T19:07:29.156Z","5.0.0":"2023-08-30T15:21:31.164Z","5.0.1":"2024-09-27T11:51:09.401Z"},"bugs":{"url":"https://github.com/rehypejs/rehype-minify/issues"},"author":{"name":"Titus Wormer","email":"tituswormer@gmail.com","url":"https://wooorm.com"},"license":"MIT","homepage":"https://github.com/rehypejs/rehype-minify/tree/main#readme","keywords":["attribute","html","mangle","minify","plugin","rehype","rehype-plugin","sort","unified"],"repository":{"type":"git","url":"git+https://github.com/rehypejs/rehype-minify.git#main"},"description":"rehype plugin to reorder attributes based on how often they occur","contributors":[{"name":"Titus Wormer","email":"tituswormer@gmail.com"}],"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"},{"name":"wooorm","email":"tituswormer@gmail.com"},{"name":"kmck","email":"keith@mcknig.ht"}],"readme":"<!--This file is generated-->\n\n# rehype-sort-attributes\n\n[![Build][build-badge]][build]\n[![Coverage][coverage-badge]][coverage]\n[![Downloads][downloads-badge]][downloads]\n[![Size][size-badge]][size]\n[![Sponsors][funding-sponsors-badge]][funding]\n[![Backers][funding-backers-badge]][funding]\n[![Chat][chat-badge]][chat]\n\n**[rehype][]** plugin to sort attributes.\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  * [`unified().use(rehypeSortAttributeValues)`](#unifieduserehypesortattributevalues)\n* [Example](#example)\n* [Syntax](#syntax)\n* [Syntax tree](#syntax-tree)\n* [Types](#types)\n* [Compatibility](#compatibility)\n* [Security](#security)\n* [Contribute](#contribute)\n* [License](#license)\n\n## What is this?\n\nThis package is a plugin that sorts attributes based on how frequent they\noccur, which optimizes for repetition-based compression (such as GZip).\n\n## When should I use this?\n\nYou can use this plugin when you want to improve the transfer size of HTML\ndocuments.\n\n## Install\n\nThis package is [ESM only][esm].\nIn Node.js (version 16+), install with [npm][]:\n\n```sh\nnpm install rehype-sort-attributes\n```\n\nIn Deno with [`esm.sh`][esm-sh]:\n\n```js\nimport rehypeSortAttributes from 'https://esm.sh/rehype-sort-attributes@5'\n```\n\nIn browsers with [`esm.sh`][esm-sh]:\n\n```html\n<script type=\"module\">\n  import rehypeSortAttributes from 'https://esm.sh/rehype-sort-attributes@5?bundle'\n</script>\n```\n\n## Use\n\nOn the API:\n\n```js\nimport rehypeParse from 'rehype-parse'\nimport rehypeSortAttributes from 'rehype-sort-attributes'\nimport rehypeStringify from 'rehype-stringify'\nimport {read} from 'to-vfile'\nimport {unified} from 'unified'\n\nconst file = await unified()\n  .use(rehypeParse)\n  .use(rehypeSortAttributes)\n  .use(rehypeStringify)\n  .process(await read('index.html'))\n\nconsole.log(String(file))\n```\n\nOn the CLI:\n\n```sh\nrehype input.html --use rehype-sort-attributes --output output.html\n```\n\nOn the CLI in a config file (here a `package.json`):\n\n```diff\n …\n \"rehype\": {\n   \"plugins\": [\n     …\n+    \"rehype-sort-attributes\",\n     …\n   ]\n }\n …\n```\n\n## API\n\nThis package exports no identifiers.\nThe default export is `rehypeSortAttributes`.\n\n### `unified().use(rehypeSortAttributeValues)`\n\nSort attributes.\n\n###### Returns\n\nTransform ([`Transformer`](https://github.com/unifiedjs/unified#transformer)).\n\n## Example\n\n###### In\n\n```html\n<div id=\"foo\">bar</div>\n<div class=\"baz\" id=\"qux\">quux</div>\n```\n\n###### Out\n\n```html\n<div id=\"foo\">bar</div>\n<div id=\"qux\" class=\"baz\">quux</div>\n```\n\n## Syntax\n\nHTML is parsed according to WHATWG HTML (the living standard), which is also\nfollowed by all browsers.\n\n## Syntax tree\n\nThe syntax tree used is [hast][].\n\n## Types\n\nThis package is fully typed with [TypeScript][].\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,\n`rehype-sort-attributes@^5`,\ncompatible with Node.js 16.\n\n## Security\n\nAs **rehype** works on HTML and improper use of HTML can open you up to a\n[cross-site scripting (XSS)][xss] attack, use of rehype can also be unsafe.\nUse [`rehype-sanitize`][rehype-sanitize] to make the tree safe.\n\n## Contribute\n\nSee [`contributing.md`][contributing] in [`rehypejs/.github`][health] for ways\nto 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[author]: https://wooorm.com\n\n[build]: https://github.com/rehypejs/rehype-minify/actions\n\n[build-badge]: https://github.com/rehypejs/rehype-minify/workflows/main/badge.svg\n\n[chat]: https://github.com/rehypejs/rehype/discussions\n\n[chat-badge]: https://img.shields.io/badge/chat-discussions-success.svg\n\n[coc]: https://github.com/rehypejs/.github/blob/main/code-of-conduct.md\n\n[contributing]: https://github.com/rehypejs/.github/blob/main/contributing.md\n\n[coverage]: https://codecov.io/github/rehypejs/rehype-minify\n\n[coverage-badge]: https://img.shields.io/codecov/c/github/rehypejs/rehype-minify.svg\n\n[downloads]: https://www.npmjs.com/package/rehype-sort-attributes\n\n[downloads-badge]: https://img.shields.io/npm/dm/rehype-sort-attributes.svg\n\n[esm]: https://gist.github.com/sindresorhus/a39789f98801d908bbc7ff3ecc99d99c\n\n[esm-sh]: https://esm.sh\n\n[funding]: https://opencollective.com/unified\n\n[funding-backers-badge]: https://opencollective.com/unified/backers/badge.svg\n\n[funding-sponsors-badge]: https://opencollective.com/unified/sponsors/badge.svg\n\n[hast]: https://github.com/syntax-tree/hast\n\n[health]: https://github.com/rehypejs/.github\n\n[license]: https://github.com/rehypejs/rehype-minify/blob/main/license\n\n[npm]: https://docs.npmjs.com/cli/install\n\n[rehype]: https://github.com/rehypejs/rehype\n\n[rehype-sanitize]: https://github.com/rehypejs/rehype-sanitize\n\n[size]: https://bundlejs.com/?q=rehype-sort-attributes\n\n[size-badge]: https://img.shields.io/bundlejs/size/rehype-sort-attributes\n\n[support]: https://github.com/rehypejs/.github/blob/main/support.md\n\n[typescript]: https://www.typescriptlang.org\n\n[xss]: https://en.wikipedia.org/wiki/Cross-site_scripting\n","readmeFilename":"readme.md"}