{"_id":"@dprint/formatter","_rev":"13-3923d6db5c0de67dc08d70dd0d11899b","name":"@dprint/formatter","dist-tags":{"latest":"0.6.0"},"versions":{"0.1.2":{"name":"@dprint/formatter","version":"0.1.2","keywords":["dprint","formatter","wasm"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/formatter@0.1.2","maintainers":[{"name":"dsherret","email":"dsherret@gmail.com"}],"homepage":"https://github.com/dprint/js-formatter#readme","bugs":{"url":"https://github.com/dprint/js-formatter/issues"},"dist":{"shasum":"767c7cf3c1bd435135b23f6aeacf3d0f411ec2ac","tarball":"https://registry.npmjs.org/@dprint/formatter/-/formatter-0.1.2.tgz","fileCount":3,"integrity":"sha512-miYP8OjRyT6Ad46De9Dp5N5MAMpJjQ3Tkk+vq9oeW5iu1y8mOGssXXPEqqGW4H2BYJdo1kQDCovuWqgtbJR4fg==","signatures":[{"sig":"MEQCIB7V/Tb0sO+SFibZPjD+0BqD8m87mzuHriQeX5SLh4eyAiBjTZ16CtNDcNBWKLdJmnnBiVNfAZrYQFCgT1qpgBtRRw==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgxnstCRA9TVsSAnZWagAAqegP/Aw/0eV0W6Iy9uiAZBLu\nDnFRFUhQYtBp2da4eYzVOiR1hCZSxBs4og1Zk+f7TdNpHM3GzNrAUWr9lSM8\nfvXMallIDuC0sYZq8nkw8qCPPCmNPdOx8cAzoIKPlSKtbp17SAwUredvPRWf\nyBzHDLPC21dxV2ODHCGX7T+iM3WFJoepo5XfQq9BykwIJqtSBHExuWoFq2Vh\njUBy0DQrTb4eqJt9U4zpLZeMgsXQt+2qNsbLP+QSkXP5L8gui50p+O9+k10w\nuAcVToJmiRpCUD7wGAxDxEHa5/sFxLfjliF0TvN4QyWQqK5Jz/wX+cwydrz8\nOlwCNsytrW5oeCON4GTESy90/AEDP2dXK+wWYkmJ8+aJL3JrC2vVBOlZ2Pnk\nenh7INVTGNIg0edKKmqZEaFuRJrX5twmvdwZDdWZWbZVHMO6wk45IbHgIS3z\njisZXmTI3Fmp6fQRKc7NZyVwfwuLU/hbNjWun+eBNRxQlkNm6p76R9QRaokf\n4d7WzWrnOjFcxCim1ealRX+uAQwWXBLYipckfzO/n5wXmTRMOQRmOpIgM7+7\nGs8Irxllv6RXeRdOzFSy8NpliCy5+wnB4vztIZjyl2swH3YPpx0tEg525cCc\nREpRJQCEzEzwt27Ldm/y8ebMpcCzKRIr8Ujww51/YIt5nVMnVToVWGYNkj71\nrCRx\r\n=Aqyc\r\n-----END PGP SIGNATURE-----\r\n"},"main":"mod.js","types":"mod.d.ts","_npmUser":{"name":"dsherret","email":"dsherret@gmail.com"},"repository":{"url":"git+https://github.com/dprint/js-formatter.git","type":"git"},"_npmVersion":"6.14.13","description":"Wasm formatter for dprint plugins.","directories":{},"_nodeVersion":"14.17.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/formatter_0.1.2_1623620397079_0.2111451013685508","host":"s3://npm-registry-packages"}},"0.1.3":{"name":"@dprint/formatter","version":"0.1.3","keywords":["dprint","formatter","wasm"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/formatter@0.1.3","maintainers":[{"name":"dsherret","email":"dsherret@gmail.com"}],"homepage":"https://github.com/dprint/js-formatter#readme","bugs":{"url":"https://github.com/dprint/js-formatter/issues"},"dist":{"shasum":"559fa0d74ca65cc73a00e8bf6aa1b9e37e3c2785","tarball":"https://registry.npmjs.org/@dprint/formatter/-/formatter-0.1.3.tgz","fileCount":3,"integrity":"sha512-yrCGDEC+JnBLH+fJK5hiu0B8wjjvxxCoTF0U234Sf0vDbpw7xZZAQWBXwRMZyYWLhJcn9DuRBz91p35Q1pKs6g==","signatures":[{"sig":"MEYCIQDlQv9PpNqNSp2ROxT+ulXK93H+fbSEfdmlbxerViu+qAIhAI2S9k/g5hOMo5rrhQ4EoFlpzDWJiZcNcwW8A1oEYYC1","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgxnuvCRA9TVsSAnZWagAAU70P/3Ifz+P68boNnZThZu92\nN3yV7XXlxAALQQPlvglELyv/5zr7yeH3DvrE9MpMhn0JFPtpxx6WSUXPi2K0\nZL0KJMN7BODrwGXextaL8VRqVLn8dnnuAT050zwFEbEvEe3LQxHBdxNLGzUG\nazxG424ZtwAn0sQgXMXQgQ7Nl1O9El2Xnh9FY+5Ry/8H01vRW+MvEi/O1C1r\nNfjDU3tHlJ6DjGCnFIQLMm6XAbgpb9uezSP20xg5mic9QnLNo3iZ0exm8u4l\nCgD4FbEeLo5/icjeS31XAmGHdr39D6yyimV/pvc7h/GzjHzVTcNgmt+8Dksz\nrZ3enVShnsTLQMrhkGc3/sl4YJMnUXB3TqKjMB//kPV/3BTp/dyL5NFlVPDN\nKTeHbGHO+/MQz0Kj1CGSbS1Zn2bVZFSMhj0wfvtTK3GqeXfF2hXq74DHPcUB\nVNI2jKSM1JJChEFPstP+kl1dMVtkeoTBtq9e2AAetvdu2Qk+ScgK8gj1DJJU\nllxZje2HTS/IYqzFfusrcOaoTE/JjHZuGdIWILausJhW9z08azfJxK/0BGYD\n+hBihO2qTqNCwQTiGtzJhLy5Uag7p5MPxcyEUA26wSEi30SpH2wbx2Hb+qhh\np/RSOFqhF0OlvfckHsdZ/zShGAt9dS+jF3B3udbNtXRH6By638zT3QMvkPeV\nCj0m\r\n=NbLR\r\n-----END PGP SIGNATURE-----\r\n"},"main":"mod.js","types":"mod.d.ts","_npmUser":{"name":"dsherret","email":"dsherret@gmail.com"},"repository":{"url":"git+https://github.com/dprint/js-formatter.git","type":"git"},"_npmVersion":"6.14.13","description":"Wasm formatter for dprint plugins.","directories":{},"_nodeVersion":"14.17.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/formatter_0.1.3_1623620527505_0.4503075384788653","host":"s3://npm-registry-packages"}},"0.1.4":{"name":"@dprint/formatter","version":"0.1.4","keywords":["dprint","formatter","wasm"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/formatter@0.1.4","maintainers":[{"name":"dsherret","email":"dsherret@gmail.com"}],"homepage":"https://github.com/dprint/js-formatter#readme","bugs":{"url":"https://github.com/dprint/js-formatter/issues"},"dist":{"shasum":"71ae71afa2bdd9667c862493fbf27201807ce63f","tarball":"https://registry.npmjs.org/@dprint/formatter/-/formatter-0.1.4.tgz","fileCount":3,"integrity":"sha512-L7PifpVn+u1fH+5jUNv6W2Ie5LYvG5rlXCB9hn/byozAj1WOjaZczwvWmYWNS2zObF3d+PjKf6ON+HCPHjqNvQ==","signatures":[{"sig":"MEQCIGWcfRPwBD3feZPT+FYdISx648S+ZWTq0UDrT50z3xxeAiBN+JNAwCYTR1/m3IgEEsd2WpxSgUlD1JqkAx8JW0PWcA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":11489,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJgxn5qCRA9TVsSAnZWagAALdsP+waAIoW4sSJRt00Pzx1x\nl09HEudE2NikK6ZSGcigN6Y+uRoarDvviYlds9VLoY37ITGMcbsV27rfBY9K\njpEMxOFqeqOBZreZc+wOt+aarpWZKgUOrzDjFgB09NCnWhlATGkAyAfLWcLb\nsu4wagmc6IXss5oZdQP774C8rmrtaErNUEGLF1IrOD8HDUe3mwlJhDtY+F/k\nizMDDlssMr6uLf2/EeHGdb/WU9F1M4j0tePR6YgfkumPCPycm8ely5EokbAf\neS3Zq8w4RR5kmAhLbaT8khXd2hi/4pQ37CWi00R+RxJPSjM0oKZRODlGMTu3\npE55Iarqfet/vNN27qaKkkWKySn+qC0foEQjn9QaZ6/+8lioXwq9W06QN7QB\nIN0/RjoIONdITY41q2EDQYcmNhArSN72PmwEh2yFbfwpAORSZWG3ZQ0H1hIG\nQvHPS66d73kXm+4I+N4q0OG6jvHIE3a8M9D4jJn1eEcyharxG2xxLG4OfQPY\nONPtTtzEBk1rQN/vVBmTcATM8ZwNhhZ68cO6FO03neyuf1MqneMCb7qdKwu6\nWrLK71RBlP8KgqU6S5sObuOcZ2a86QHdIwUA+rabY7Pxj59KEXe6Dfl2EeVm\n4+AjXNTW1VoyS7LbF+zQkaBZWMz8yR11L1kRdl3LgEbW/yeilfdofqUPTnpM\nCcPR\r\n=G47h\r\n-----END PGP SIGNATURE-----\r\n"},"main":"mod.js","types":"mod.d.ts","_npmUser":{"name":"dsherret","email":"dsherret@gmail.com"},"repository":{"url":"git+https://github.com/dprint/js-formatter.git","type":"git"},"_npmVersion":"6.14.13","description":"Wasm formatter for dprint plugins.","directories":{},"_nodeVersion":"14.17.0","_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/formatter_0.1.4_1623621226349_0.3341985384402961","host":"s3://npm-registry-packages"}},"0.1.5":{"name":"@dprint/formatter","version":"0.1.5","keywords":["dprint","formatter","wasm"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/formatter@0.1.5","maintainers":[{"name":"dsherret","email":"dsherret@gmail.com"}],"homepage":"https://github.com/dprint/js-formatter#readme","bugs":{"url":"https://github.com/dprint/js-formatter/issues"},"dist":{"shasum":"ea2119f4dd231b5ffe96636df3eb9b993cc6586b","tarball":"https://registry.npmjs.org/@dprint/formatter/-/formatter-0.1.5.tgz","fileCount":8,"integrity":"sha512-o0Y3gzAPb4/CWaEaKmqIXHlZQQdtxDEDd+DP+RqGOqkJ5OJ2Nw8p6r0DjJqzy0wN87in7h/9ulE29hIh+5fALw==","signatures":[{"sig":"MEQCIExdHBiK7cv9iWkv4Qvrpvl1JTmzJUZ5SIK2k9zGGvQ5AiAJe/IAaZoT7dt5ArvUD9n9uNxJJubCvj2vLfzEGS7fjg==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":20512,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJhzzgRCRA9TVsSAnZWagAAkA0P/3I++9wCG75T9NFQ4vi9\nNprUTpy6BQlDdyVJr6qeSnrRv44Ng/Ccr6qvVAqC5QxSqk6VyCKk8ITjuhKo\nWM6rWY0SyptnvPdBqNBh8dP7MEiEqjY2Fi6QwGRzqkmjZo+AFnOJKOQhLIRH\nww+XX5JMRkrzrbrfkvYcV07OIO70sejwmM2WluQDfkQi3O3oS1X2b66/lVy9\nzs1MdSnbi4/y8wbMgWwdZGo38vSf0mvMQVy4fqxBWFEXi2RgKy9GfnXvZIkg\nreXw4hRum7YXoJa1QXZ+oukvr4Ix5n7wYYyPXxsl99034zZic79GDv6oG80v\n7tII7/h1mCt6izu89MqurLMCkfJFHdZXITJ7fL2abPvrsVOHRWfWmV/arwcu\nxloomR0QrUrtXp9kd29566LiSHZ20QFeuBl/AY76pcP/dIQpq+qSjkL9pyg9\naFXVhZaE/vwirf6YwtrEkTWCJj0zLNsH52mMsIKirIMxmrX8QQXxjyp/7aOc\nYm96MTQNe45/inDqDMCywOeKU3GrDxE6tTjlx75ZzafnifpXPGfxCGzslLN8\nF8TDIBFHY0d2x62TbE/8qj0amk607DPJ4lsVemyrRhlWUQQdFi9Kv2rjGzBF\nbmLrLrzKa8CmAaMqY+vsTPrmeuv28Ya2DSWf4eT/yvMVVUFgeGv8l/R9aSb2\nqmaG\r\n=U9Je\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./cjs/mod.js","types":"./types/mod.d.ts","module":"./esm/mod.js","exports":{".":{"types":"./types/mod.d.ts","import":"./esm/mod.js","require":"./cjs/mod.js"}},"_npmUser":{"name":"dsherret","email":"dsherret@gmail.com"},"repository":{"url":"git+https://github.com/dprint/js-formatter.git","type":"git"},"_npmVersion":"6.14.15","description":"Wasm formatter for dprint plugins.","directories":{},"_nodeVersion":"14.18.0","dependencies":{},"_hasShrinkwrap":false,"_npmOperationalInternal":{"tmp":"tmp/formatter_0.1.5_1634653213492_0.2775745331543358","host":"s3://npm-registry-packages"}},"0.2.0":{"name":"@dprint/formatter","version":"0.2.0","keywords":["dprint","formatter","wasm"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/formatter@0.2.0","maintainers":[{"name":"dsherret","email":"dsherret@gmail.com"}],"homepage":"https://github.com/dprint/js-formatter#readme","bugs":{"url":"https://github.com/dprint/js-formatter/issues"},"dist":{"shasum":"5eb044e0969ef5b918b26db42eb9d75e7c6661ee","tarball":"https://registry.npmjs.org/@dprint/formatter/-/formatter-0.2.0.tgz","fileCount":8,"integrity":"sha512-E1q1JaOPeEUBhG//IUayqJQvNpqprZ0OCF8B/bIhUqSsMIp0Y74PgF8JPvDCrOdq43qiGUYAavVO8iCBHOoU/A==","signatures":[{"sig":"MEQCIG13ZPuqsj6SdSiNJGZnUEpUilxAg4qIpRhnGKitGtUZAiBUAa+V6GNlYFJ55o00d3LkJtLj/Ro/PFgLxNy+z8n0xA==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":22800,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh2djnCRA9TVsSAnZWagAAyXgQAJ7tgm38lTnfn6dJDJso\nZN/l8h5iFnpziGBUUhN4mJA2giG2ae+mECu6Ka0OvVBYRidTP9OEvZgu7T52\nmNi0/Dxm2LB5r4p8iTEQXCIwgHW2S5yyqndjSHU6xYF1y8E+W8gKq+sFb1JK\n3g8J79L2j+lX2S2lCC9e+A+cVmIx6iYwT398xZBLK77B16xLRRD6OAb9GIiC\n/63QS8/w0fOHk/JvD5yDYDVnho4OWpjSUFxdf6RWBMVvX91akeoypbMAl/rW\nkBms+GuLmbyGgLEMViB4WVcfa2vv+R2fQggkSsAFip85crT/SQu12Kv6Yt/b\naPbhn5TfsB9LlVMUUYXXOjyIg9avpVlAzR0mJ1CvIRMfY9CPc4GS7sjLpSi9\noGfNddpRZ+Ymt+l9OAT5vHqXJL6DGyhHVLCnTSUwrnZeFyR6ZpLR5MgdO002\nK+H9j/giYTMeQ6b/lbJK/4aoVWiC8NkhfP+Pggks8mzqQ4Ycjhu5m18mfiDp\nJYWHFr7BkpYs6i9osKXirfXW7whCmCzwFZzow16W/arSThYS6xPdNIcewip2\n+tM/NWLDhSjGZq1qM1EKIzZUkTHR8BaSEZwvjPKGSwAEO45H2yTzHGwzekc1\nA+BfDfDEdSAlcnbUqFHRsYoIKW/J/glGD3ika5UTSlRbtpQN3jCyf0Zd9Np9\nq4dT\r\n=T5a/\r\n-----END PGP SIGNATURE-----\r\n"},"main":"./umd/mod.js","types":"./types/mod.d.ts","module":"./esm/mod.js","exports":{".":{"types":"./types/mod.d.ts","import":"./esm/mod.js","require":"./umd/mod.js"}},"gitHead":"29ad3fe918d72a84bebd4a8c8c393d2b292792de","scripts":{"test":"node test_runner.js"},"_npmUser":{"name":"dsherret","email":"dsherret@gmail.com"},"repository":{"url":"git+https://github.com/dprint/js-formatter.git","type":"git"},"_npmVersion":"8.1.2","description":"Wasm formatter for dprint plugins.","directories":{},"_nodeVersion":"16.13.1","dependencies":{},"_hasShrinkwrap":false,"devDependencies":{"chalk":"4.1.2","undici":"^4.12.1","@types/node":"16.11.1","@deno/shim-deno-test":"~0.2.0"},"_npmOperationalInternal":{"tmp":"tmp/formatter_0.2.0_1641666791083_0.4448332828607642","host":"s3://npm-registry-packages"}},"0.2.1":{"name":"@dprint/formatter","version":"0.2.1","keywords":["dprint","formatter","wasm"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/formatter@0.2.1","maintainers":[{"name":"dsherret","email":"dsherret@gmail.com"}],"homepage":"https://github.com/dprint/js-formatter#readme","bugs":{"url":"https://github.com/dprint/js-formatter/issues"},"dist":{"shasum":"36345ed2e7ed15da9ba3a7c575f5864fffcd9794","tarball":"https://registry.npmjs.org/@dprint/formatter/-/formatter-0.2.1.tgz","fileCount":9,"integrity":"sha512-GCzgRt2o4mhZLy8L47k2A+q9EMG/jWhzZebE29EqKsxmjDrSfv2VisEj/Q+39OOf04jTkEfB/TRO+IZSyxHdYg==","signatures":[{"sig":"MEUCIQCv3M7LtCAIuuZ4vLDNKQX919rAcAJXEn7qhJYe1hLr2wIgRSlIF3//IEqz5XbxaSFxwvmiiWLkQp3ldJjXaBsNYfA=","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":24814},"main":"./script/mod.js","types":"./script/mod.d.ts","module":"./esm/mod.js","exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"gitHead":"ee37a981f63600fe41ac444034f25c71d75ad996","scripts":{"test":"node test_runner.js"},"_npmUser":{"name":"dsherret","email":"dsherret@gmail.com"},"repository":{"url":"git+https://github.com/dprint/js-formatter.git","type":"git"},"_npmVersion":"10.2.3","description":"Wasm formatter for dprint plugins.","directories":{},"_nodeVersion":"18.19.0","_hasShrinkwrap":false,"devDependencies":{"undici":"^4.12.1","picocolors":"^1.0.0","@types/node":"^20.9.0","@deno/shim-deno-test":"~0.5.0"},"_npmOperationalInternal":{"tmp":"tmp/formatter_0.2.1_1703561243677_0.32512279866839444","host":"s3://npm-registry-packages"}},"0.3.0":{"name":"@dprint/formatter","version":"0.3.0","keywords":["dprint","formatter","wasm"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/formatter@0.3.0","maintainers":[{"name":"dsherret","email":"dsherret@gmail.com"}],"homepage":"https://github.com/dprint/js-formatter#readme","bugs":{"url":"https://github.com/dprint/js-formatter/issues"},"dist":{"shasum":"e374398c8e8d7dbf50e8208c87af44a66de0cb2e","tarball":"https://registry.npmjs.org/@dprint/formatter/-/formatter-0.3.0.tgz","fileCount":9,"integrity":"sha512-N9fxCxbaBOrDkteSOzaCqwWjso5iAe+WJPsHC021JfHNj2ThInPNEF13ORDKta3llq5D1TlclODCvOvipH7bWQ==","signatures":[{"sig":"MEQCIARgfPRZHGktId8ftdociivB8IfTkhOQYR/4h6iQVkSRAiAaes6FFj9sCFrja+9NHEdww3xXfDBf471EMU4T+dmo7w==","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":31293},"main":"./script/mod.js","types":"./script/mod.d.ts","module":"./esm/mod.js","exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"gitHead":"f274692c30a49f650364fac4b14ddb175e1b0697","scripts":{"test":"node test_runner.js"},"_npmUser":{"name":"dsherret","email":"dsherret@gmail.com"},"repository":{"url":"git+https://github.com/dprint/js-formatter.git","type":"git"},"_npmVersion":"10.5.0","description":"Wasm formatter for dprint plugins.","directories":{},"_nodeVersion":"20.12.2","_hasShrinkwrap":false,"devDependencies":{"undici":"^4.12.1","picocolors":"^1.0.0","@types/node":"^20.9.0","@deno/shim-deno-test":"~0.5.0"},"_npmOperationalInternal":{"tmp":"tmp/formatter_0.3.0_1714855043730_0.6027934492033866","host":"s3://npm-registry-packages"}},"0.4.0":{"name":"@dprint/formatter","version":"0.4.0","keywords":["dprint","formatter","wasm"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/formatter@0.4.0","homepage":"https://github.com/dprint/js-formatter#readme","bugs":{"url":"https://github.com/dprint/js-formatter/issues"},"dist":{"shasum":"6bcc62e2cd18739ae82e2767921461d52d6ccf1b","tarball":"https://registry.npmjs.org/@dprint/formatter/-/formatter-0.4.0.tgz","fileCount":109,"integrity":"sha512-PwzfZS0axDbECrgff7R3EMt0robHC+k8wF8wg7NhcxTLGiQ+ZyFUBF0TrRWaswCXilv+PFtw8S1lyUzFF2iPtA==","signatures":[{"sig":"MEYCIQDnH32rY0RXRTf7OVAY+Ihcah6WAxMzIMBLEKeUWQSQnQIhANt5qM6TJtBaLIHv7H40mVisEpHmT3mtsXfCe2tJOuIh","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":95530},"main":"./script/mod.js","types":"./script/mod.d.ts","module":"./esm/mod.js","exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"gitHead":"627d2d7620156d1f1a7556131ba9ff91ff43c11d","scripts":{"test":"node test_runner.js"},"_npmUser":{"name":"dsherret","email":"dsherret@gmail.com"},"repository":{"url":"git+https://github.com/dprint/js-formatter.git","type":"git"},"_npmVersion":"10.7.0","description":"Wasm formatter for dprint plugins.","directories":{},"_nodeVersion":"20.15.0","_hasShrinkwrap":false,"devDependencies":{"undici":"^4.12.1","picocolors":"^1.0.0","@types/node":"^20.9.0","@deno/shim-deno-test":"~0.5.0"},"_npmOperationalInternal":{"tmp":"tmp/formatter_0.4.0_1719785252728_0.8317046457183142","host":"s3://npm-registry-packages"}},"0.4.1":{"name":"@dprint/formatter","version":"0.4.1","keywords":["dprint","formatter","wasm"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/formatter@0.4.1","homepage":"https://github.com/dprint/js-formatter#readme","bugs":{"url":"https://github.com/dprint/js-formatter/issues"},"dist":{"shasum":"06a0f78403464dbda1a5cad07f9a272478cfdb4e","tarball":"https://registry.npmjs.org/@dprint/formatter/-/formatter-0.4.1.tgz","fileCount":109,"integrity":"sha512-IB/GXdlMOvi0UhQQ9mcY15Fxcrc2JPadmo6tqefCNV0bptFq7YBpggzpqYXldBXDa04CbKJ+rDwO2eNRPE2+/g==","signatures":[{"sig":"MEYCIQCbo8+Gw8russ0aAxjX80hB5EJtwRxkWCIwmVF8oPao9QIhAJUqSMFTGDaQXKsHiOihMgMs57KpL78OaAhd0UNodAfv","keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA"}],"unpackedSize":95486},"main":"./script/mod.js","types":"./script/mod.d.ts","module":"./esm/mod.js","exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"gitHead":"aa1332003aacbc89e45cfe02056e278e2b47d8c6","scripts":{"test":"node test_runner.js"},"_npmUser":{"name":"dsherret","email":"dsherret@gmail.com"},"repository":{"url":"git+https://github.com/dprint/js-formatter.git","type":"git"},"_npmVersion":"10.7.0","description":"Wasm formatter for dprint plugins.","directories":{},"_nodeVersion":"20.15.0","_hasShrinkwrap":false,"devDependencies":{"undici":"^4.12.1","picocolors":"^1.0.0","@types/node":"^20.9.0","@deno/shim-deno-test":"~0.5.0"},"_npmOperationalInternal":{"tmp":"tmp/formatter_0.4.1_1719786543048_0.47999091369324187","host":"s3://npm-registry-packages"}},"0.5.1":{"name":"@dprint/formatter","version":"0.5.1","keywords":["dprint","formatter","wasm"],"author":{"name":"David Sherret"},"license":"MIT","_id":"@dprint/formatter@0.5.1","maintainers":[{"name":"dsherret","email":"dsherret@gmail.com"}],"homepage":"https://github.com/dprint/js-formatter#readme","bugs":{"url":"https://github.com/dprint/js-formatter/issues"},"dist":{"shasum":"1f776471d0af07c3c42595cab3d70ba78aaee6b3","tarball":"https://registry.npmjs.org/@dprint/formatter/-/formatter-0.5.1.tgz","fileCount":109,"integrity":"sha512-cdZUrm0iv/FnnY3CKE2dEcVhNEzrC551aE2h2mTFwQCRBrqyARLDnb7D+3PlXTUVp3s34ftlnGOVCmhLT9DeKA==","signatures":[{"sig":"MEQCIA49rJSWMwNfrrCEbWsqDtqtQpC1z/TSU+KeKxZnHlzQAiB97vGjeEZp8+YL01RQsSeBLnWN+M9XEAZ1zEZYNLqQBA==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dprint%2fformatter@0.5.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":112566},"main":"./script/mod.js","types":"./script/mod.d.ts","module":"./esm/mod.js","exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"gitHead":"7f9052414d1f2ef13eccb59bbaebb47eb404f2ff","scripts":{"test":"node test_runner.js"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:439403a8-7dc1-4219-9632-6f91647d68d3"}},"repository":{"url":"git+https://github.com/dprint/js-formatter.git","type":"git"},"_npmVersion":"11.6.2","description":"Wasm formatter for dprint plugins.","directories":{},"_nodeVersion":"24.12.0","_hasShrinkwrap":false,"devDependencies":{"undici":"^4.12.1","picocolors":"^1.0.0","@types/node":"^25","@dprint/json":"^0.21.1","@dprint/markdown":"^0.20.0","@dprint/typescript":"^0.95.13","@deno/shim-deno-test":"~0.5.0"},"_npmOperationalInternal":{"tmp":"tmp/formatter_0.5.1_1767660660475_0.9519218293136535","host":"s3://npm-registry-packages-npm-production"}},"0.6.0":{"_id":"@dprint/formatter@0.6.0","bugs":{"url":"https://github.com/dprint/js-formatter/issues"},"dist":{"shasum":"d5a0c31937e88d26727ff683af45e418af9ed97e","tarball":"https://registry.npmjs.org/@dprint/formatter/-/formatter-0.6.0.tgz","fileCount":123,"integrity":"sha512-otnYh2jmGWbekYkAd4xiF416lpdZwNCbhkDrLQcAanvvutp0PhTNSJrwJ4DKBEu6xtP36NUX70t9YQw3oC/ONg==","signatures":[{"sig":"MEYCIQDyguGHj98x1Y2swequk4l8HBn5wJr276WjraBhXZwXjAIhAMBY8b+tXr4ByOWArcglIPE7DOg89fxbsGuK7ESJvmd8","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"},{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEUCIQC1nBdBmala1fi4x+PE/dKk4ydasEKjz/Fd0Qs0ypBUiQIgIPUzwDq1I8lu/T/12pXqg8/zAt4wfGBXW6XBxBTydms="}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@dprint%2fformatter@0.6.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":156905},"main":"./script/mod.js","name":"@dprint/formatter","types":"./script/mod.d.ts","author":{"name":"David Sherret"},"module":"./esm/mod.js","exports":{".":{"import":"./esm/mod.js","require":"./script/mod.js"}},"gitHead":"d313bb045a75606fdf0b42384707e8299302ab3a","license":"MIT","scripts":{"test":"node test_runner.js"},"version":"0.6.0","_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"439403a8-7dc1-4219-9632-6f91647d68d3"}},"homepage":"https://github.com/dprint/js-formatter#readme","keywords":["dprint","formatter","wasm"],"repository":{"url":"git+https://github.com/dprint/js-formatter.git","type":"git"},"_npmVersion":"11.19.0","description":"Wasm formatter for dprint plugins.","directories":{},"maintainers":[{"name":"dsherret","email":"dsherret@gmail.com"}],"_nodeVersion":"24.21.0","_hasShrinkwrap":false,"devDependencies":{"undici":"^4.12.1","picocolors":"^1.0.0","@types/node":"^25","@dprint/json":"^0.21.1","@dprint/markdown":"^0.20.0","@dprint/typescript":"^0.95.13","@deno/shim-deno-test":"~0.5.0"},"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/formatter_0.6.0_1791672623476_0.1534378122044251"}}},"time":{"created":"2021-06-13T21:39:56.810Z","modified":"2026-10-10T22:50:23.892Z","0.1.2":"2021-06-13T21:39:57.186Z","0.1.3":"2021-06-13T21:42:07.654Z","0.1.4":"2021-06-13T21:53:46.469Z","0.1.5":"2021-10-19T14:20:13.706Z","0.2.0":"2022-01-08T18:33:11.226Z","0.2.1":"2023-12-26T03:27:23.826Z","0.3.0":"2024-05-04T20:37:23.925Z","0.4.0":"2024-06-30T22:07:32.899Z","0.4.1":"2024-06-30T22:29:03.269Z","0.5.1":"2026-01-06T00:51:00.621Z","0.6.0":"2026-10-10T22:50:23.565Z"},"bugs":{"url":"https://github.com/dprint/js-formatter/issues"},"author":{"name":"David Sherret"},"license":"MIT","homepage":"https://github.com/dprint/js-formatter#readme","keywords":["dprint","formatter","wasm"],"repository":{"url":"git+https://github.com/dprint/js-formatter.git","type":"git"},"description":"Wasm formatter for dprint plugins.","maintainers":[{"name":"dsherret","email":"dsherret@gmail.com"}],"readme":"# dprint - JS Formatter\n\n[![CI](https://github.com/dprint/js-formatter/workflows/CI/badge.svg)](https://github.com/dprint/js-formatter/actions?query=workflow%3ACI)\n[![npm version](https://badge.fury.io/js/%40dprint%2Fformatter.svg)](https://badge.fury.io/js/%40dprint%2Fformatter)\n[![JSR](https://jsr.io/badges/@dprint/formatter)](https://jsr.io/@dprint/formatter)\n\nJS formatter for dprint Wasm plugins.\n\n## Setup\n\nDeno:\n\n```sh\ndeno add npm:@dprint/formatter\n```\n\nNode.js:\n\n```sh\nnpm i @dprint/formatter\n```\n\n## Use\n\nThe context API allows you to manage multiple plugins with shared configuration and automatic plugin selection based on file type:\n\n```ts\nimport { createContext } from \"@dprint/formatter\";\nimport * as json from \"@dprint/json\";\nimport * as markdown from \"@dprint/markdown\";\nimport * as typescript from \"@dprint/typescript\";\nimport fs from \"node:fs\";\n\nconst context = createContext({\n  // global config\n  indentWidth: 2,\n  lineWidth: 80,\n});\n\n// note: some plugins might have a getBuffer() export instead\ncontext.addPlugin(fs.readFileSync(typescript.getPath()), {\n  semiColons: \"asi\",\n});\ncontext.addPlugin(fs.readFileSync(json.getPath()));\ncontext.addPlugin(fs.readFileSync(markdown.getPath()));\n\nconsole.log(context.formatText({\n  filePath: \"config.json\",\n  fileText: \"{\\\"a\\\":1}\",\n}));\n\nconsole.log(context.formatText({\n  filePath: \"app.ts\",\n  fileText: \"const x=1\",\n}));\n```\n\nThe context also handles host formatting automatically, so embedded code blocks (like JSON in Markdown) will be formatted by the appropriate plugin.\n\n### WASI plugins\n\nPlugins compiled with a toolchain that needs a WASI libc (ex. .NET, Go) are provided the same sandboxed subset of WASI preview 1 as the dprint CLI. That is the clocks, sleeping, random bytes, and writing text to stdout/stderr (which is written to stderr). There are no environment variables, arguments, or file system access.\n\n### Plugin output\n\nText a plugin writes to stdout or stderr is written to stderr by default. Provide an `onOutput` function to capture or ignore it instead:\n\n```ts\nconst context = createContext(globalConfig, {\n  onOutput: (text) => console.error(text),\n});\n```\n\nThe same option is accepted by `createFromBuffer`, `createFromWasmModule`, and `createStreaming`.\n\n### Plugin NPM Packages\n\nNote: In the future I will ensure plugins are published to JSR as well.\n\n- [@dprint/json](https://www.npmjs.com/package/@dprint/json)\n- [@dprint/typescript](https://www.npmjs.com/package/@dprint/typescript)\n- [@dprint/markdown](https://www.npmjs.com/package/@dprint/markdown)\n- [@dprint/toml](https://www.npmjs.com/package/@dprint/toml)\n- [@dprint/dockerfile](https://www.npmjs.com/package/@dprint/dockerfile)\n- [@dprint/biome](https://www.npmjs.com/package/@dprint/biome)\n- [@dprint/oxc](https://www.npmjs.com/package/@dprint/oxc)\n- [@dprint/mago](https://www.npmjs.com/package/@dprint/mago)\n- [@dprint/ruff](https://www.npmjs.com/package/@dprint/ruff)\n","readmeFilename":"README.md"}