{"_id":"@aduh95/toml-prettifier","_rev":"7-f0952871a7a95e618dac1a9fbbb28a23","name":"@aduh95/toml-prettifier","dist-tags":{"latest":"1.1.1"},"versions":{"1.0.0":{"name":"@aduh95/toml-prettifier","version":"1.0.0","description":"Opinionated TOML code formatter","main":"index.js","exports":{".":"./index.js"},"scripts":{"test":"node --experimental-top-level-await test.js"},"repository":{"type":"git","url":"git+https://github.com/aduh95/toml-prettifier.git"},"keywords":["toml","prettify","formatter"],"author":{"name":"Antoine du Hamel","email":"duhamelantoine1995@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/aduh95/toml-prettifier/issues"},"homepage":"https://github.com/aduh95/toml-prettifier#readme","type":"module","dependencies":{"@aduh95/toml":"^0.2.1"},"engines":{"node":"^12.17.0 || >=13.2.0"},"gitHead":"7ff70579dd5104949bdaf66069f5399bc03eb1e7","_id":"@aduh95/toml-prettifier@1.0.0","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-vukJfaKZggBWr7mwuOwojXi7uVWj61oyiE1hcy46JCxT968zCSaOx+FkmUn7QASS1ndaZ3lKy0btaNTpeazaYg==","shasum":"9346bba43bbcbf9ec1ca14d3ccacfeb23cbf9ebd","tarball":"https://registry.npmjs.org/@aduh95/toml-prettifier/-/toml-prettifier-1.0.0.tgz","fileCount":9,"unpackedSize":18344,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezUaGCRA9TVsSAnZWagAAzzoP/3YlVAHWkDkhdVIycxHs\nzKF9NMOXrhX9ovZYU11zqAaLp/DRiv4G5HYp2cpiYr36ziUHjz0cHd4FfsGF\nRxmbYUZPFcj1KKQO2ijzUnC2lT4zKjd+fKPdORTa/PoryQMM9KLLQGfbj43y\ngv8p9rbTSLJotJEgToUnZppOeI9sr3Iz2tx9Bm4qMaoQ4JEmgxWeMmg8alwK\nnbjNYGPKcRdqf8+E6mMOeWx9D7JNl9j2UW15C3VxuvbSbaZbF05PmgZ3vBXh\nwYUiCVwRc6o/KqxGjaEI3oyCrZkT69TrExUgsHWL7Z3o0JE2uDLj+4Yd0IAe\njyTeYdZIoEK6TX0X9Kzj2dDYLYvjFFNyIsS6FQW1Pfy1OCQUw1WB1V9yQg+D\n4QbYLQs+VN4qNpJNvOhHwKGSXA3bi6R02w0teLbehcIw1hedvUdXbtrd++Ob\n/MPNvWwSvs4qRfLIITLB0K6RvrC2jwIcH7vQ+7npk0SxKorHIWez1bez8lU+\nq87vOrcIoMQBBxZwQA7JmWFXdYktRH6nfcT6W9kjBEYN1WOErhUOSWQ0Kzeb\nn7u/PwOoTpau6PmRa/Tc/j4v2TLYdsYbp/UhC6DXCuG7DOXI2fyRxXPceAcp\nCZheAUQ6tcf8kYjyjIYF7MfzqFEoQkB208TM+JbTMVHepjxpr/nTcqa+TmSC\nXtti\r\n=MoVJ\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAm+zXIsoi+/pc3TJXO+c5KTazirSjdELdd91octEtYZAiA+tMgfwi/mrqfBus48WV9s9KVIsmH/CVAyfjlHdKcUWA=="}]},"maintainers":[{"name":"aduh95","email":"duhamelantoine1995@gmail.com"}],"_npmUser":{"name":"aduh95","email":"duhamelantoine1995@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toml-prettifier_1.0.0_1590511237810_0.2678798966146829"},"_hasShrinkwrap":false},"1.0.1":{"name":"@aduh95/toml-prettifier","version":"1.0.1","description":"Opinionated TOML code formatter","main":"index.js","types":"index.d.ts","exports":{".":"./index.js"},"scripts":{"test":"node --experimental-top-level-await test.js"},"repository":{"type":"git","url":"git+https://github.com/aduh95/toml-prettifier.git"},"keywords":["toml","prettify","formatter"],"author":{"name":"Antoine du Hamel","email":"duhamelantoine1995@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/aduh95/toml-prettifier/issues"},"homepage":"https://github.com/aduh95/toml-prettifier#readme","type":"module","dependencies":{"@aduh95/toml":"^0.2.1"},"engines":{"node":"^12.17.0 || >=13.2.0"},"gitHead":"fe657ccb29f8ed7cf49651ab5d0823de8bd62e10","_id":"@aduh95/toml-prettifier@1.0.1","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-QN2FbLyRqWd55MeSgJQTkLvHHBT5mqwghS4rI0+flMZkpfg37N8JyLpfBTBw66hhmHSNsWkdVhGbJP7Uxzteug==","shasum":"f46db9bb1ef05109e4f6ebde6a9dad30e9d802ed","tarball":"https://registry.npmjs.org/@aduh95/toml-prettifier/-/toml-prettifier-1.0.1.tgz","fileCount":11,"unpackedSize":18574,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJezUr3CRA9TVsSAnZWagAAzgwP/irkx/2cdeiSJ5kQPvy6\nqmbeibOphWqOm5tLcJk8kHElQVLHuDafgqyHtDYsZ/K9ModMDlAD6/N2Wl8b\nLsheprmKk7CpCzucrEjsT/4j27e8n3L9NxTUGwQjc3wRPNlKVnf+p4bWjH80\nnEposQWMpnp7fyM2+LsbaoDyexmlzrDjOD6XgFdnMqHbKia9ztlF9EzF+NUA\nnGfDawRKalDHbj1hdv5OTAapNSf2S7GhaYOKztNG2QVXQQ5B9hFTPZlzSPsS\neY5sAYdVpSIRDTSB3jQvWBEqAgJowmkXH1aZiWk8QtU3haGs/kPtPgEvUBeC\nyPHvfe5/5jLUg+oAoaQWVONzLCpc4dXPvQL950kMD8DJ8x6n2a59WLNuFPAs\nQ5/tsYQbE+kmcO88rOIqZ5at/tiPw7VCccm95k3mmlJItt8msbNjNj1dwAcw\nLeuIyUMYt9PtUg9Wxyg5peaeYxgOlpEi3/+sjvcW09nsEdcyNLgFB7KwXhmL\na/w79U28vB8f7xUdmjBb1Ns6b1a147IeqqZXYi89zHErg+2bm1ho/1LthLVh\nN4VNH9JXsjFouGE8MYmtm514r1adiZQRoaKJNgd3TEa2HG7Pg5XkxMUolCuy\nvCoMM4ubC+e4ajDdt/VWIrzHU3203EwqpFi2ivvEXFnwbq/iTuH4K1y4Jtti\n1bNY\r\n=ou1L\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHtJhrgatzIsvw0fm3nJuvc5NFBDF5506DImBx1e6BoOAiEAiGgI6TGRSccdSrU6OUInaolpVb//kITdV6zmXJrGQIw="}]},"maintainers":[{"name":"aduh95","email":"duhamelantoine1995@gmail.com"}],"_npmUser":{"name":"aduh95","email":"duhamelantoine1995@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toml-prettifier_1.0.1_1590512375174_0.38884488957271324"},"_hasShrinkwrap":false},"1.0.2":{"name":"@aduh95/toml-prettifier","version":"1.0.2","description":"Opinionated TOML code formatter","main":"index.js","types":"index.d.ts","exports":{".":"./index.js"},"scripts":{"test:node":"node --experimental-top-level-await tests/node.js","test:deno":"deno test --allow-read --allow-net --unstable --importmap ./tests/importmap.json tests/deno.ts","test":"npm run test:node && npm run test:deno"},"repository":{"type":"git","url":"git+https://github.com/aduh95/toml-prettifier.git"},"keywords":["toml","prettify","formatter"],"author":{"name":"Antoine du Hamel","email":"duhamelantoine1995@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/aduh95/toml-prettifier/issues"},"homepage":"https://github.com/aduh95/toml-prettifier#readme","type":"module","dependencies":{"@aduh95/toml":"^0.3.2"},"engines":{"node":"^12.17.0 || >=13.2.0"},"gitHead":"7530b7c13eefac16facd23fc6f0a4772badd4783","_id":"@aduh95/toml-prettifier@1.0.2","_nodeVersion":"12.16.3","_npmVersion":"6.14.4","dist":{"integrity":"sha512-2tUuwDy8nMAYj+JynYQ4b6HycbR+ukwVn7IwKuCmmi8SQF7TxsdPvHW1DrgRWlvJlr9XuwZ/pZHc7bCu0jRMZA==","shasum":"50407d58585e4eca68376a68f1a4aaace57bb6bb","tarball":"https://registry.npmjs.org/@aduh95/toml-prettifier/-/toml-prettifier-1.0.2.tgz","fileCount":13,"unpackedSize":23084,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJe1pmHCRA9TVsSAnZWagAA1VoP/249h8olhJjmy2pMgSTl\nLgfQV5osVbrrLH6b5NDHxbh9X3/XFicGRG9ih2lWGRZ5l2s6aYKSsbXhBPQf\nGSWgGPWhlVGq3lU+KChd22KsxYrfv1N71YCnq4RUgQf0Uf4ViuphWWW6c61z\nRDgbTLnEJ55/pns+QQCxXJwgV0hTZd3ZDoRD98k6wUmKHr+x3Yu/Nurk+izp\nAaGm11Wi2GYHKeoWBaFznl3IjR3BX5PKSsymgVUxdLltOL4z1VJULjl0tj5b\n8Q6h1nnsgslc5fNVxPDxdXyR7T6Zh9LMmeTbheth3aywYwR+iI5gwqXTobXa\nYc5W7Meo/Tzu0opaPYyETUV2ZOrjtNnCccTbEVPqRcRPqRdO0BbF0gPeJQ2v\npAAZ/zncAauKujr+zFRPSuvaRgqfLPOr0z53kpABGoICenF9+NJDLS44iCL3\nne7iO00vAM7yX3nwTh3h1vMHa2fvgbBqdYh3nvBNdRFY2gUXN+hbhv6ebIDk\n8/LqsSA5Lewc6sqKRu/PadJ9HXdWHW+nribwbq4zL6kNiCx5u2NfQSvheiMJ\n+4d0fl8gAWGjyq4EtIYXBkeXELqQe2UlvwdXo/a/rQCMpvE+N9T37zgZuCte\n96bOAPoe0PCD/pPpVXl5GELeEUxnHKe6KXJaG6RQNXKQz7dbe0ip1QNdRVr+\nli8W\r\n=bwol\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIATVOidb/YAu8Lb0oouwv1jeJbaCz+cswu9bhLqe268vAiEA95GEBiXIb0PCqOygWiMGhL7G23LVYjLly/Tqit1ZvSM="}]},"maintainers":[{"name":"aduh95","email":"duhamelantoine1995@gmail.com"}],"_npmUser":{"name":"aduh95","email":"duhamelantoine1995@gmail.com"},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toml-prettifier_1.0.2_1591122311225_0.8656441127273877"},"_hasShrinkwrap":false},"1.1.0":{"name":"@aduh95/toml-prettifier","version":"1.1.0","description":"Opinionated TOML code formatter","main":"index.js","types":"index.d.ts","exports":{".":"./index.js"},"scripts":{"test:node":"node --experimental-top-level-await tests/node.js","test:deno":"deno test --allow-read --allow-net --unstable --importmap ./tests/importmap.json tests/deno.ts","test":"npm run test:node && npm run test:deno"},"repository":{"type":"git","url":"git+https://github.com/aduh95/toml-prettifier.git"},"keywords":["toml","prettify","formatter"],"author":{"name":"Antoine du Hamel","email":"duhamelantoine1995@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/aduh95/toml-prettifier/issues"},"homepage":"https://github.com/aduh95/toml-prettifier#readme","type":"module","dependencies":{"@aduh95/toml":"^0.3.2"},"engines":{"node":"^12.17.0 || >=13.2.0"},"licenseText":"Copyright (c) 2020 aduh95\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@aduh95/toml-prettifier@1.1.0","dist":{"shasum":"10620ff501d1ba25fc4fa53ca92d6f5a83338d49","integrity":"sha512-1QRH+0XTx589ojTtu0N2bomgX+Ye35p2BNVyJE4DHrGlFmADbRcovFgbZsUQxS5+d+jT0yxVmH6w/1E48YKotA==","tarball":"https://registry.npmjs.org/@aduh95/toml-prettifier/-/toml-prettifier-1.1.0.tgz","fileCount":18,"unpackedSize":33937,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJf/s85CRA9TVsSAnZWagAAGIgP/0+uSvNzNGtPqgJ0h991\nOSMHhO7JSeWz42OMbarSfai+XHR8oss1LfFNAt9sZHbGLWZy5Qp8HGVCHXvB\nkb0Q93N6OeuL5ccDL+VhAvz5saVaZHRtCR5HMTDwP+WayYK+85TucHXXJax0\nWpy640iGCVqKECUeyDUzsn5zsgGV4UwiFuHzsPlqjbYciqjpdolsNPQ+Kcsd\noJ9lYzdHJ2VbuNsrch1LfRKTT0gYTIZjQ4XqbvkZU5EoROJMmnCa69ieIqDr\nZfOI4W91iXtKFfz6XjurJE/YOrrKaK9BBiQhTk9viG7U88u530xvxXYlUpLD\n/m2tGe4apf1s+Ec2O6L3bdgB026F/T01YkbK+Z5u/absHhRHGLSixVmxzo4z\nYEOZMDM4eOJgE/YILDZsLa9dme5MTWVA4OrfucSS8JSYOUjuG7HBkYLTwY1M\n0nuMGtNNf/rudTb5przpMNZ+Si17rFnMP+LnkEML+KPFFX4QJ6mcfjvrjlHS\n2AycBGchHP1Cro/c4bjMvybiRDZzhtaIwsHCk2zNbZAbj1JXPP6avbJOarjS\n7QBgwpjrrWEMu2XvbSb0ZGUMOVRqd1k3Dhk608oRJsMmH6A5GMm+HJulBHdb\nsnbKWsuiQcbsgBJaT0tixq1Igzx03xc2rO6rmdy42fkRac8FSSbQm1PMuCGU\nz+7C\r\n=I7W2\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDvIBFMFLLnREd1TgMqsIvTg06RoZd+mx8puXzJf7aB2gIgAWe0mO5ptUNIhTQi5ogJQ8X0LZG3ZJwkweXog2SyA7g="}]},"_npmUser":{"name":"aduh95","email":"duhamelantoine1995@gmail.com"},"directories":{},"maintainers":[{"name":"aduh95","email":"duhamelantoine1995@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toml-prettifier_1.1.0_1610534713222_0.44731560175458496"},"_hasShrinkwrap":false},"1.2.0":{"name":"@aduh95/toml-prettifier","version":"1.2.0","description":"Opinionated TOML code formatter","main":"index.js","types":"index.d.ts","exports":{".":"./index.js"},"scripts":{"test:node":"node --experimental-top-level-await tests/node.js","test:deno":"deno test --allow-read --allow-net --unstable --importmap ./tests/importmap.json tests/deno.ts","test":"npm run test:node && npm run test:deno"},"repository":{"type":"git","url":"git+https://github.com/aduh95/toml-prettifier.git"},"keywords":["toml","prettify","formatter"],"author":{"name":"Antoine du Hamel","email":"duhamelantoine1995@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/aduh95/toml-prettifier/issues"},"homepage":"https://github.com/aduh95/toml-prettifier#readme","type":"module","devDependencies":{"@aduh95/toml":"^0.4.0"},"peerDependencies":{"@aduh95/toml":"*"},"engines":{"node":"^12.17.0 || >=13.2.0"},"licenseText":"Copyright (c) 2020 aduh95\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@aduh95/toml-prettifier@1.2.0","dist":{"shasum":"1d07e60895df65b3819d2fbd277ab4f59513348c","integrity":"sha512-Deyv4fIiuIrEwXSxC1TavoUUYn89JbzX3t6JtjIcvOgUx4DCo5l9NNtBFr6bXeJgLCSLgcp0DwhaZQWgcCsyGw==","tarball":"https://registry.npmjs.org/@aduh95/toml-prettifier/-/toml-prettifier-1.2.0.tgz","fileCount":18,"unpackedSize":34377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCy9lCRA9TVsSAnZWagAAhp8QAKMWT5QskNJQ4RdezmHt\nhARytEIieEiAgBRF9ZJCl6in1htuVeRDDZ1iWztsqCqGYbS4QEqp6koPRXk4\njsWGyDuOY3Wy9n5908FXgAni0Ni+szgsTct2SS2PONmBZQQ9/qDhjgQMN/ga\n+05ohzPvf/YwLHEAddxHg0aZvZxrPQ8VVtc5iyoTusXxg9GbhdxJTsNPW86m\ndc7x9sr7JeIAwKTjwinx4K++l9MvcoKSyn2PZEFWNPyz20+XRx3wFHKUYeiq\n5bk8AuxoLHLnuBtcKDvY4S1YhoNefXqeeYhUBd9Al2/7DL0oz54op+tYSkrH\nwW+FZy+eJnIgcm+oZAZ/METIDzJNRr55008hnx2gr/26x5RkHft2nYvjOF8e\nXJsB45gPsIzD3blH816kpwNNsoTEjzRcm6W9OmqLI83dIeFwKFS2qFczbDjN\nPN9ZXrKSa8is+BaNl4rHIRWgFq00KSNGyHt1N8MtEbcU67I5yAtCLThGJJPP\nvGWmrnAWQul3qonSstTI2kDikcdyF1gHJqePGhZTmfwdBDCKuJYZ43Ix/F9P\n7HLHfFaUAAjP8J3Yoz0amkGf3PUJ0pIIXBavp/lUBaXpc2EqqrmL8HYKooMJ\nG4k3WpK49y5ttqAnWRXb7E+gGktrvDTqrSOJli4fULpyPW8w5Fdonj5yqTLG\n3bX/\r\n=cXbu\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7Mymjk14HZj2XvMvdkoNkfCN9fT33Duis9cZw2P2grgIgEzrUD3KwWKS+Y7XfBwR1N51qPZ4XiYco0wHQ/2Jks6s="}]},"_npmUser":{"name":"aduh95","email":"duhamelantoine1995@gmail.com"},"directories":{},"maintainers":[{"name":"aduh95","email":"duhamelantoine1995@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toml-prettifier_1.2.0_1611345764347_0.7387143680289319"},"_hasShrinkwrap":false},"1.2.1":{"name":"@aduh95/toml-prettifier","version":"1.2.1","description":"Opinionated TOML code formatter","main":"index.js","types":"index.d.ts","exports":{".":"./index.js"},"scripts":{"test:node":"node --experimental-top-level-await tests/node.js","test:deno":"deno test --allow-read --allow-net --unstable --importmap ./tests/importmap.json tests/deno.ts","test":"npm run test:node && npm run test:deno"},"repository":{"type":"git","url":"git+https://github.com/aduh95/toml-prettifier.git"},"keywords":["toml","prettify","formatter"],"author":{"name":"Antoine du Hamel","email":"duhamelantoine1995@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/aduh95/toml-prettifier/issues"},"homepage":"https://github.com/aduh95/toml-prettifier#readme","type":"module","devDependencies":{"@aduh95/toml":"^0.4.0"},"peerDependencies":{"@aduh95/toml":"*"},"engines":{"node":"^12.17.0 || >=13.2.0"},"licenseText":"Copyright (c) 2020 aduh95\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@aduh95/toml-prettifier@1.2.1","dist":{"shasum":"a6cff87e7977b60a69a3be36151207d25731b069","integrity":"sha512-3InNuNwPMWb/15z80ref2i45LPcXt7Z3DqP/a41uxe1/h2W4y/r+PNmOCmYNIQPJYu07lA+L/nOuHslnITEU8g==","tarball":"https://registry.npmjs.org/@aduh95/toml-prettifier/-/toml-prettifier-1.2.1.tgz","fileCount":18,"unpackedSize":34377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCy9yCRA9TVsSAnZWagAAJiIP/0YcD56l+LDJ4lm7MdZJ\n868Vyo1d1S0/q+iz/wlE4sT4q3GXluS4VWHjSoG4R6DjFL5gQCzFH0/CIMJ3\nM8oRHraPt+DHTbkh4f4pbITFY0XfxcuVDldxwnGkg63ygxtYAyARhqwn/Pmf\nk3K4lVJnd7Rk48rrfhyWxUbh5KAP7e+7v71BjKSMo2a15iMUmiUj7Qj47AcI\n74GQx2xkTogy5AmtHi1DlAmQ/PgQhG8At0NH7DkfIdplWoFNdMQ+d61jcwM+\n9EUHb1a7piJPq23QsOVL2z0UsbmMxBqGWMw8oef0qYW93rUkuMt+84NxPdWj\nf2cMTeC+Yp0p+kaoeCgA11o7q5AAQB99F4UiiyNGnTNMkg2GdDvCTGI9sZNw\nUp2RfPPmFqFC4ckssSGHJ2XQpAVtrePQ/0ntjPHFZ+V7nd9MYUJY9gDujbqs\npLct/bJ85iy3U4ZzxmA67XqC4KI8gdqlUtPMJwR2jijEj9SNY3wvAQXqbF2x\nR4FbPTiqcQrnNdcMG7nkwUyaTs8LXh+woQYsq9t6xEij6huM7TqHxbweLk/2\nKLHQt9a0LFvJ8Oh9ejJwGfrd9OBLrzi0Czr8kEvjzryeMhjspUsaJsD+Smu/\nzmDtU10cAy1HC/Wk7evmsMQYpE1KCw8R8fmXGEtZe+LbmM6+HMagu33kPtmt\nR/KJ\r\n=5wuq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC9WmhPA3wLCs1xa0Ok+dcXJqD4TD1XO+5YXQBGN/XDOQIhAKaCaHUgGl8jK+RBNNtD4QWMJw4zZR9lhWyuuG74hkTz"}]},"_npmUser":{"name":"aduh95","email":"duhamelantoine1995@gmail.com"},"directories":{},"maintainers":[{"name":"aduh95","email":"duhamelantoine1995@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toml-prettifier_1.2.1_1611345778090_0.5203316729564424"},"_hasShrinkwrap":false},"1.1.1":{"name":"@aduh95/toml-prettifier","version":"1.1.1","description":"Opinionated TOML code formatter","main":"index.js","types":"index.d.ts","exports":{".":"./index.js"},"scripts":{"test:node":"node --experimental-top-level-await tests/node.js","test:deno":"deno test --allow-read --allow-net --unstable --importmap ./tests/importmap.json tests/deno.ts","test":"npm run test:node && npm run test:deno"},"repository":{"type":"git","url":"git+https://github.com/aduh95/toml-prettifier.git"},"keywords":["toml","prettify","formatter"],"author":{"name":"Antoine du Hamel","email":"duhamelantoine1995@gmail.com"},"license":"MIT","bugs":{"url":"https://github.com/aduh95/toml-prettifier/issues"},"homepage":"https://github.com/aduh95/toml-prettifier#readme","type":"module","devDependencies":{"@aduh95/toml":"^0.4.0"},"peerDependencies":{"@aduh95/toml":"*"},"engines":{"node":"^12.17.0 || >=13.2.0"},"licenseText":"Copyright (c) 2020 aduh95\n\nPermission is hereby granted, free of charge, to any person obtaining a copy\nof this software and associated documentation files (the \"Software\"), to deal\nin the Software without restriction, including without limitation the rights\nto use, copy, modify, merge, publish, distribute, sublicense, and/or sell\ncopies of the Software, and to permit persons to whom the Software is\nfurnished to do so, subject to the following conditions:\n\nThe above copyright notice and this permission notice shall be included in all\ncopies or substantial portions of the Software.\n\nTHE SOFTWARE IS PROVIDED \"AS IS\", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR\nIMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,\nFITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE\nAUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER\nLIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,\nOUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE\nSOFTWARE.\n","_id":"@aduh95/toml-prettifier@1.1.1","dist":{"shasum":"9f6887fdefd5c1efde14b8a3e15d59af777c7cf5","integrity":"sha512-9Azxa3DQ9t+Eg9/GnSIHZIqj+QOnzT6o5VRwLZG/Vopdm8uqf3yNXS0WIzbJazMERC6Hz1vKxRqVsaRO+uhrdg==","tarball":"https://registry.npmjs.org/@aduh95/toml-prettifier/-/toml-prettifier-1.1.1.tgz","fileCount":18,"unpackedSize":34377,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgCy/ECRA9TVsSAnZWagAAbeIP/2HQ+7sm4JrLJVaxZOlf\nrwUoJfHVhsunHxgJpVnraYAZvwMku62SKrEifKED4Vm1PU+JV5B+meqmnz0L\nXTt+7AagQYNwupSO9+WhI1CZ4GHoRk1NjBz0fOVII5Tgpj2qjOCAvtGZK7bS\nGUL2GNIeyN667zGC1PDwCV8yS7Hj7/lZPE4I5ZaBlUlepWbpO/J9uJFMai37\n2czoll0olur2OMV0vDttybTfAQZ/rxZXBo95JbJ5wk3rwcLaVhVscWV1OWX1\niVQSh5Uyx0K7LXrGbp5SOQ6zkS5wRXulg6YIVtbpAJ4SCxMHiuWbDlvK2zn4\n0gC2/zbyoiDauIS0qVvbTQBMxRYTO2RBkx9ZPQWNDRpVDLgzsuVIU68Nx5+5\n2SXaF/nEH+OI75gWpOc8Mp5YiLh9XNVHuI+uSMIKVmzpce4igyHfgHNbr0yk\ny7Tnrz3as1lAmfembFGRNof59V8pZDGYTRyufpOoUdfO3vzpYqrDtZhklXG+\n1N87oeA/9yJkHHN8DnXxRvVGZk/1sLNtNwosHIaM27Yq0+E1Lf/xp4OUUkad\nVp/EcSV5PLOL98v55yQZOTs67HnTgZE6J2QPwzoVoyV7Ha2thSMsi0fnIAWX\nkCz1yWg//YPy2tMqxG7qbFs2DvV/xGcv5+PTUQVo0mli3E9XrpBVZEOWRVuk\njItU\r\n=ljoN\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD1TZQc0dz25GZEUO5hXFjEE+8nV79YTU851uk2iftqsQIgQYvMlPp2N6CKu+ameHLG/MDMtaZvVCRJ3j3/XQDqX/o="}]},"_npmUser":{"name":"aduh95","email":"duhamelantoine1995@gmail.com"},"directories":{},"maintainers":[{"name":"aduh95","email":"duhamelantoine1995@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/toml-prettifier_1.1.1_1611345860160_0.5598168858656951"},"_hasShrinkwrap":false}},"time":{"created":"2020-05-26T16:40:37.767Z","1.0.0":"2020-05-26T16:40:38.050Z","modified":"2022-04-04T11:38:03.899Z","1.0.1":"2020-05-26T16:59:35.331Z","1.0.2":"2020-06-02T18:25:11.355Z","1.1.0":"2021-01-13T10:45:13.381Z","1.2.0":"2021-01-22T20:02:44.513Z","1.2.1":"2021-01-22T20:02:58.284Z","1.1.1":"2021-01-22T20:04:20.256Z"},"maintainers":[{"name":"aduh95","email":"duhamelantoine1995@gmail.com"}],"description":"Opinionated TOML code formatter","homepage":"https://github.com/aduh95/toml-prettifier#readme","keywords":["toml","prettify","formatter"],"repository":{"type":"git","url":"git+https://github.com/aduh95/toml-prettifier.git"},"author":{"name":"Antoine du Hamel","email":"duhamelantoine1995@gmail.com"},"bugs":{"url":"https://github.com/aduh95/toml-prettifier/issues"},"license":"MIT","readme":"# TOML Prettifier\n\nOpinionated TOML code formatter written in JavaScript.\n\n### Usage\n\nReading a TOML file using Node.js and overwrite it with the prettified version:\n\n```js\nimport { createReadStream, createWriteStream, promises as fs } from \"fs\";\nimport { join } from \"path\";\nimport { tmpdir } from \"os\";\nimport { createInterface as readLines } from \"readline\";\n\nimport TOMLPrettifier from \"@aduh95/toml-prettifier\";\n\n/**\n * Prettifies a TOML file.\n * @param {string | URL | Buffer} inputFilePath\n */\nexport async function prettifyTOMLFile(inputFilePath) {\n  // Read the input file line by line.\n  const reader = readLines({\n    input: createReadStream(inputFilePath),\n    crlfDelay: Infinity,\n  });\n  // Create a temporary file to write the prettified TOML.\n  const { handle, path: tmpFile } = await fs.mkstemp(join(tmpdir(), \"pretty-\"));\n  const writer = createWriteStream(tmpFile, { fd: handle.fd });\n\n  // Pass the input to TOMLPrettifier.\n  for await (const line of TOMLPrettifier(reader)) {\n    // Write the output to the temp file.\n    writer.write(line + \"\\n\");\n  }\n  // Close the temp file once filled up.\n  await handle.close();\n\n  // Replace the input file by the temp file.\n  await fs.rename(tmpFile, inputFilePath);\n}\n```\n\n#### Web and Deno usage\n\nThe API is the same, although you must init the `@aduh95/toml` package manually\nbefore using it. This uses a WASM module that must be initiate asynchronously\nand is used to prettify arrays and inline tables.\n\n```js\nimport TOMLPrettifier from \"@aduh95/toml-prettifier\";\nimport initTOMLWasm from \"@aduh95/toml\";\n\nawait initTOMLWasm();\n```\n\n### Rules\n\nThere are no available configuration for the formatting.\n\n- Keys: unquote the keys when possible.\n- Multiline basic strings: wrapped to 80 char, and indented one level below the\n  opening and closing char sequence.\n- Multiline literal strings: No transformations are made.\n- Comments:\n  - They respect indentation.\n  - One or several `#`s represent the start of a comment, followed by one space\n    unless the comment is empty.\n- Arrays: If an array can fit on one line, it will be reformated to one line,\n  otherwise each element will be on a new line, with a trailing comma.\n- Inline tables: keys are alphabetically ordered.\n- Empty lines: conserved, but any space is removed.\n","readmeFilename":"README.md"}