{"_id":"unified-prettier","_rev":"7-bfd9a69a6e68e7067cea014da73d3ba8","name":"unified-prettier","dist-tags":{"latest":"2.0.1"},"versions":{"0.0.0":{"name":"unified-prettier","version":"0.0.0","type":"module","description":"A `prettier` serializer/stringifier for `unified` ecosystem (rehype/remark/mdx)","repository":{"type":"git","url":"git+https://github.com/un-ts/unified-prettier.git"},"author":{"name":"JounQin","email":"admin@1stg.me","url":"https://www.1stG.me"},"funding":"https://opencollective.com/unts","license":"MIT","packageManager":"pnpm@7.12.2","engines":{"node":"^12.20.0 || ^14.18.0 || >=16.0.0"},"exports":{"types":"./lib/index.d.ts","import":"./lib/index.js","require":"./lib/index.cjs"},"dependencies":{"tslib":"^2.4.0"},"devDependencies":{"@1stg/app-config":"^7.3.0","@1stg/lib-config":"^10.3.0","@changesets/changelog-github":"^0.4.6","@changesets/cli":"^2.24.4","@pkgr/webpack":"^3.4.0","@pkgr/webpack-mdx":"^2.2.0","@size-limit/preset-small-lib":"^8.1.0","@types/mdx":"^2.0.2","@types/node":"^18.7.21","@types/react":"^18.0.21","@types/react-dom":"^18.0.6","@types/web":"^0.0.75","@vitest/coverage-istanbul":"^0.23.4","github-markdown-css":"^5.1.0","react":"^18.2.0","react-dom":"^18.2.0","react-router-dom":"^6.4.1","sirv-cli":"^2.0.2","size-limit":"^8.1.0","type-coverage":"^2.22.0","typescript":"~4.8.3","unified-prettier":"link:.","unplugin-auto-import":"^0.11.2","vitest":"^0.23.4"},"resolutions":{"typescript":"~4.7.4"},"size-limit":[{"path":"lib/index.js"}],"typeCoverage":{"atLeast":100,"cache":true,"detail":true,"ignoreAsAssertion":true,"ignoreNonNullAssertion":true,"showRelativePath":true,"strict":true,"update":true},"scripts":{"build":"run-p build:*","build:r":"r -f cjs","build:tsc":"tsc -p src","codesandbox:install":"yarn","dev":"vitest","docs:build":"w -e docs -p --publicPath /","docs:dev":"w -e docs","lint":"run-p lint:*","lint:es":"eslint . --cache -f friendly --max-warnings 10","lint:style":"stylelint . --cache","lint:tsc":"tsc --noEmit","postversion":"pnpm i --no-frozen-lockfile","prerelease":"pnpm build","release":"changeset publish","serve":"sirv dist -s","test":"vitest run --coverage","typecov":"type-coverage","vercel-build":"pnpm docs:build","version":"changeset version"},"main":"./lib/index.cjs","module":"./lib/index.js","types":"./lib/index.d.ts","bugs":{"url":"https://github.com/un-ts/unified-prettier/issues"},"homepage":"https://github.com/un-ts/unified-prettier#readme","_id":"unified-prettier@0.0.0","_integrity":"sha512-skBkJYcKQC05Itj1Ca2ojPHjYJraeDLsXG93XlTFkZC01aZXhnsCrZi7Wpl0rjVxJdhI/KV5DLnkNx+dGNLxpg==","_resolved":"/tmp/87397f8e1df1eae32f3c6899cdde559a/unified-prettier-0.0.0.tgz","_from":"file:unified-prettier-0.0.0.tgz","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-skBkJYcKQC05Itj1Ca2ojPHjYJraeDLsXG93XlTFkZC01aZXhnsCrZi7Wpl0rjVxJdhI/KV5DLnkNx+dGNLxpg==","shasum":"9217e483cf93bd1ea772fe65aea8846f84535ab0","tarball":"https://registry.npmjs.org/unified-prettier/-/unified-prettier-0.0.0.tgz","fileCount":7,"unpackedSize":8934,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCpGLIJG8PQeqiffsYAaGkKz/6qrE5kZBEaeuOIIzfzagIhAMdiUzGw5Kq3UVQEBWSsY8U+uaoomF2sGvuyjrq5Ge9p"}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMFlsACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmoUbQ/7BfhjXGiHfiJgarv5rxFZpmDwuAqch/n7v1aeu5xdPhqV3y2X\r\nYOky5ejoy+IHqb3iTAN5IyQzYe4J564chFuLC83I4yEESY70cXwmqXtqgvoU\r\nMi4ppIO5sQip7B0pv+ZbRPN0WtszCZPoWR3PgGmrEr7KwJQpY+mdO2oupEkW\r\n5EF8T8n9rXVfYjS6B99C2LJNUXq5FaTVPMOiqLgVH4TltGlgRkfRrAC5h9Qs\r\n7KmgV0ED1aPMFzZVjWekXVwSKo2qSj7aFXPzCuES32O/DgZ7XlhfYbji7T/Z\r\nChpjRZKrmS9TvUgbG/u4K7muQLUseQJ4dSxidurU050YIXvj5AXK2Ab7Njrf\r\nURtaqVHc4y4TDTtodjIwTbriKkI8qpdAzG9AvU9QU+wIMTWzAEbsUxfOUs8B\r\nmOvP4spc4H1dQ/eKkARpW8NiH6QnpSlNPt7av3Qu4PYNnSfj9EuC/ts/6tDL\r\n/Ab2pIUrt2IMfEys+lI2rBzioSVbVjg6bi8zxle95wQoaxPWHeFj9JLewGda\r\nWQ6FQmnKIwTy0418u2nGS7Y1UcqUjeaMdcVBsT7W3Is/RLRhIB2dEP0OEmXD\r\ng9VlqIEey0JrVc7lfJavLGufM7NSbgTCc5iqa5hn1OYdbfzFzsUE9G+BjbKS\r\n1o3Z3Eick52WY4A+cfZPsYey5saCzX9buUA=\r\n=N8Yp\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jounqin","email":"admin@1stg.me"},"directories":{},"maintainers":[{"name":"jounqin","email":"admin@1stg.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unified-prettier_0.0.0_1664113004586_0.0475210332732352"},"_hasShrinkwrap":false},"0.1.0":{"name":"unified-prettier","version":"0.1.0","type":"module","description":"A `prettier` serializer/stringifier for `unified` ecosystem (rehype/remark/mdx)","repository":{"type":"git","url":"git+https://github.com/un-ts/unified-prettier.git"},"author":{"name":"JounQin","email":"admin@1stg.me","url":"https://www.1stG.me"},"funding":"https://opencollective.com/unts","license":"MIT","packageManager":"pnpm@7.12.2","engines":{"node":"^12.20.0 || ^14.18.0 || >=16.0.0"},"exports":{"types":"./lib/index.d.ts","default":"./lib/index.js"},"peerDependencies":{"prettier":"^2.0.0"},"dependencies":{"prettier-linter-helpers":"^1.0.0","vfile-location":"^4.0.1"},"devDependencies":{"@1stg/app-config":"^7.3.0","@1stg/lib-config":"^10.3.0","@changesets/changelog-github":"^0.4.6","@changesets/cli":"^2.24.4","@pkgr/webpack":"^3.4.0","@pkgr/webpack-mdx":"^2.2.0","@types/mdx":"^2.0.2","@types/node":"^18.7.21","@types/prettier":"^2.7.1","@types/prettier-linter-helpers":"^1.0.1","@types/react":"^18.0.21","@types/react-dom":"^18.0.6","@types/web":"^0.0.75","@vitest/coverage-istanbul":"^0.23.4","github-markdown-css":"^5.1.0","react":"^18.2.0","react-dom":"^18.2.0","react-router-dom":"^6.4.1","rehype-parse":"^8.0.4","remark-parse":"^10.0.1","sirv-cli":"^2.0.2","size-limit":"^8.1.0","size-limit-preset-node-lib":"^0.2.0","type-coverage":"^2.22.0","typescript":"~4.7.4","unified-prettier":"link:.","unplugin-auto-import":"^0.11.2","vitest":"^0.23.4"},"resolutions":{"prettier":"^2.7.1","typescript":"~4.7.4"},"size-limit":[{"path":"lib/index.js","limit":"900B"}],"typeCoverage":{"atLeast":100,"cache":true,"detail":true,"ignoreAsAssertion":true,"ignoreNonNullAssertion":true,"showRelativePath":true,"strict":true,"update":true},"scripts":{"build":"tsc -p src","codesandbox:install":"yarn","dev":"vitest","docs:build":"w -e docs -p --publicPath /","docs:dev":"w -e docs","lint":"run-p lint:*","lint:es":"eslint . --cache -f friendly --max-warnings 10","lint:style":"stylelint . --cache","lint:tsc":"tsc --noEmit","postversion":"pnpm i --no-frozen-lockfile","prerelease":"pnpm build","release":"changeset publish","serve":"sirv dist -s","test":"vitest run --coverage","typecov":"type-coverage","vercel-build":"pnpm docs:build","version":"changeset version"},"main":"./lib/index.cjs","module":"./lib/index.js","types":"./lib/index.d.ts","bugs":{"url":"https://github.com/un-ts/unified-prettier/issues"},"homepage":"https://github.com/un-ts/unified-prettier#readme","_id":"unified-prettier@0.1.0","_integrity":"sha512-eyKVSIy77/V/uhnEDIRh5d5OGoRuEzRk/qTXzvpqypWCQNSdhaMc4kM1ucFUXYVEZpyB6sWkw9lZpsGhIDL9jg==","_resolved":"/tmp/0cacea01a497cac8098d541f42a6e824/unified-prettier-0.1.0.tgz","_from":"file:unified-prettier-0.1.0.tgz","_nodeVersion":"16.17.0","_npmVersion":"8.15.0","dist":{"integrity":"sha512-eyKVSIy77/V/uhnEDIRh5d5OGoRuEzRk/qTXzvpqypWCQNSdhaMc4kM1ucFUXYVEZpyB6sWkw9lZpsGhIDL9jg==","shasum":"4a8d17e82f37908fc57d17d9fc37e599c57790ff","tarball":"https://registry.npmjs.org/unified-prettier/-/unified-prettier-0.1.0.tgz","fileCount":6,"unpackedSize":14907,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICsufNbPdBUq2HO1hO2gh+6b5y65jeJboVm95XBdxkMTAiBNiadHvt6T6zpyvMrDfBo2NrgCWcF/E5EOabeHrggbmg=="}],"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v4.10.10\r\nComment: https://openpgpjs.org\r\n\r\nwsFzBAEBCAAGBQJjMnx1ACEJED1NWxICdlZqFiEECWMYAoorWMhJKdjhPU1b\r\nEgJ2VmpbdQ/+MX1oNOdtfw92pRUVJxTFBlUf0vD/6bVdEZbPBc9XuCj/PTVF\r\n9dAWJ2zU5HH5yx4YUFqttwW3EJFcp6ekjzHGTYBmenHqcPY3pZIEjctUn4Zg\r\ndcVibnemgzEbzholzoQCB4xjSs31JiP0FLW7TLoSmjxHjJvW1PU5+4Y5iUNs\r\n1scllwU8Toi+uhEEhxV8+Yd+R7uUOSnPQVjXda23HxxExKKYut4jS3VdpPdZ\r\nrZT93prR7GYXdiFc48AODGiDckm7pKhAWFZsDw9xoZQeKgvTOXVKhMCHbmcK\r\nNa+W9ymk4cZ8MfvzIpJkgtlJu4p8Z3WYY6N/WmWSJcj4pqR3NB2vqxi+p+h0\r\nklTKFzdcWWK8+qVOIdgH46pa73/Z0iCe+8YqmefHH5j1+664bX87wfmfpvTY\r\njkkTC7N+QuRhgt8dp6EH+Z6shoqPS/jL7jUJj7s5JzBf3BVSgjTmfou+jXl/\r\nSQCg3kSHtONvMiPpSi0Dqj48msjLgdQAp/JTwm+l0k0zz9X5cRaDaZstyk1R\r\nRqzm9qb4g6trIZC+P0OkdYk6Zm0VgoX8n58fXqhNo9GBwZ2FcY+tXJc5nAC+\r\n3v3PVoQEtmqhKjU5ay2JjiEAKJtYuXBMOLMKBscGUIpoqfZwBafbaoDp9oUw\r\n10YnoQFNuuzBUXWIvodZy0glEIMMB5Q79jY=\r\n=pPWk\r\n-----END PGP SIGNATURE-----\r\n"},"_npmUser":{"name":"jounqin","email":"admin@1stg.me"},"directories":{},"maintainers":[{"name":"jounqin","email":"admin@1stg.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unified-prettier_0.1.0_1664253044884_0.10661452051624765"},"_hasShrinkwrap":false},"1.0.0":{"name":"unified-prettier","version":"1.0.0","description":"A unified plugin to format output using Prettier","keywords":["prettier","rehype","rehype-plugin","remark","remark-plugin","unified","unified-plugin"],"homepage":"https://github.com/remcohaszing/unified-prettier#readme","bugs":{"url":"https://github.com/remcohaszing/unified-prettier/issues"},"repository":{"type":"git","url":"git+https://github.com/remcohaszing/unified-prettier.git"},"funding":"https://github.com/sponsors/remcohaszing","license":"MIT","author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"sideEffects":false,"type":"module","exports":"./index.js","scripts":{"prepack":"tsc --noEmit false","test":"c8 tsx test.ts"},"dependencies":{"@prettier/sync":"^0.2.0","unified":"^10.0.0"},"peerDependencies":{"prettier":"^3.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^8.0.0","remark-cli":"^11.0.0","remark-toc":"^8.0.0","tsx":"^3.0.0","typescript":"^5.0.0"},"overrides":{"prettier":"^3.0.0"},"types":"./index.d.ts","_id":"unified-prettier@1.0.0","_integrity":"sha512-TiLqQhHzLNEYq6GRaauSeakNY4MMWwNyCPVg7OwIAN0J61geYng2Ji9MAmUqwoAvuHg69IhOQJ+TgH2B6RhMWg==","_resolved":"/home/runner/work/unified-prettier/unified-prettier/unified-prettier-1.0.0.tgz","_from":"file:unified-prettier-1.0.0.tgz","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-TiLqQhHzLNEYq6GRaauSeakNY4MMWwNyCPVg7OwIAN0J61geYng2Ji9MAmUqwoAvuHg69IhOQJ+TgH2B6RhMWg==","shasum":"681b844b7fac8e89d2c21cbd6939aa6e2e5fecc1","tarball":"https://registry.npmjs.org/unified-prettier/-/unified-prettier-1.0.0.tgz","fileCount":5,"unpackedSize":6381,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/unified-prettier@1.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDUVeLRwIoOtdntX833TYUtuoWHlGwiqxS8rHpXESVT+wIgG4vPMzAWOvY6KuyrfPf1yOZc5rQinZYjnS3zEQfe8Eg="}]},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"},{"name":"jounqin","email":"admin@1stg.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unified-prettier_1.0.0_1689422120119_0.8638310448486379"},"_hasShrinkwrap":false},"1.0.1":{"name":"unified-prettier","version":"1.0.1","description":"A unified plugin to format output using Prettier","keywords":["prettier","rehype","rehype-plugin","remark","remark-plugin","unified","unified-plugin"],"homepage":"https://github.com/remcohaszing/unified-prettier#readme","bugs":{"url":"https://github.com/remcohaszing/unified-prettier/issues"},"repository":{"type":"git","url":"git+https://github.com/remcohaszing/unified-prettier.git"},"funding":"https://github.com/sponsors/remcohaszing","license":"MIT","author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"sideEffects":false,"type":"module","exports":"./index.js","scripts":{"prepack":"tsc --noEmit false","test":"c8 tsx test.ts"},"dependencies":{"@prettier/sync":"^0.3.0","unified":"^10.0.0"},"peerDependencies":{"prettier":"^3.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^8.0.0","eslint":"^8.0.0","eslint-config-remcohaszing":"^10.0.0","remark-cli":"^11.0.0","remark-toc":"^8.0.0","tsx":"^3.0.0","typescript":"^5.0.0"},"overrides":{"prettier":"^3.0.0"},"types":"./index.d.ts","_id":"unified-prettier@1.0.1","_integrity":"sha512-LcGnR8kRitYo7byfrQ76NsrpLKnZCy2Y/L+BMg06xpuZcB1PWSlZQA7dZyxMZ5vYnfAF3g71eA3/5jExKrcOPg==","_resolved":"/home/runner/work/unified-prettier/unified-prettier/unified-prettier-1.0.1.tgz","_from":"file:unified-prettier-1.0.1.tgz","_nodeVersion":"20.4.0","_npmVersion":"9.7.2","dist":{"integrity":"sha512-LcGnR8kRitYo7byfrQ76NsrpLKnZCy2Y/L+BMg06xpuZcB1PWSlZQA7dZyxMZ5vYnfAF3g71eA3/5jExKrcOPg==","shasum":"48d106199a0246d47d655703f59fc8445554e6ed","tarball":"https://registry.npmjs.org/unified-prettier/-/unified-prettier-1.0.1.tgz","fileCount":5,"unpackedSize":6575,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/unified-prettier@1.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v0.2"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCqEItxiJ0BmqJ8/2pc0AlZ52qHWD2gGVnu7Qi1CdGkagIhALpUHHUp0Vp/qto6oS2tDwF3RAQDtJ+sHYWb9VQPjyBK"}]},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"},{"name":"jounqin","email":"admin@1stg.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unified-prettier_1.0.1_1689608054933_0.8746234833712156"},"_hasShrinkwrap":false},"1.0.2":{"name":"unified-prettier","version":"1.0.2","description":"A unified plugin to format output using Prettier","keywords":["prettier","rehype","rehype-plugin","remark","remark-plugin","unified","unified-plugin"],"homepage":"https://github.com/remcohaszing/unified-prettier#readme","bugs":{"url":"https://github.com/remcohaszing/unified-prettier/issues"},"repository":{"type":"git","url":"git+https://github.com/remcohaszing/unified-prettier.git"},"funding":"https://github.com/sponsors/remcohaszing","license":"MIT","author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"sideEffects":false,"type":"module","exports":"./index.js","scripts":{"test":"c8 node test.js"},"dependencies":{"unified":"^10.0.0"},"peerDependencies":{"prettier":"^3.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^8.0.0","eslint":"^8.0.0","eslint-config-remcohaszing":"^10.0.0","remark-cli":"^11.0.0","remark-toc":"^8.0.0","typescript":"^5.0.0"},"types":"./index.d.ts","_id":"unified-prettier@1.0.2","_integrity":"sha512-Hal9mbA+X9cRiVc3SPKo7L2cL1/PIdYxA2XX93iQVDs1uAVLjFaS/Qg4miFgBXypMrgXWclBU5c6+H9I0atjCw==","_resolved":"/home/runner/work/unified-prettier/unified-prettier/unified-prettier-1.0.2.tgz","_from":"file:unified-prettier-1.0.2.tgz","_nodeVersion":"20.5.0","_npmVersion":"9.8.0","dist":{"integrity":"sha512-Hal9mbA+X9cRiVc3SPKo7L2cL1/PIdYxA2XX93iQVDs1uAVLjFaS/Qg4miFgBXypMrgXWclBU5c6+H9I0atjCw==","shasum":"92f9ab04798313268d295aed8609ceb918ed1b8d","tarball":"https://registry.npmjs.org/unified-prettier/-/unified-prettier-1.0.2.tgz","fileCount":6,"unpackedSize":8688,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/unified-prettier@1.0.2","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDveMusR4bKkMWHzPEY8NczD72KjAaHH+f0qeZ7RWoEnQIgEapFBMfOjOrzDIYTbVkUsUuawgTYDmqlJ+Lx57ToleU="}]},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"},{"name":"jounqin","email":"admin@1stg.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unified-prettier_1.0.2_1690895316570_0.38367327523739636"},"_hasShrinkwrap":false},"2.0.0":{"name":"unified-prettier","version":"2.0.0","description":"A unified plugin to format output using Prettier","keywords":["prettier","rehype","rehype-plugin","remark","remark-plugin","unified","unified-plugin"],"homepage":"https://github.com/remcohaszing/unified-prettier#readme","bugs":{"url":"https://github.com/remcohaszing/unified-prettier/issues"},"repository":{"type":"git","url":"git+https://github.com/remcohaszing/unified-prettier.git"},"funding":"https://github.com/sponsors/remcohaszing","license":"MIT","author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"sideEffects":false,"type":"module","exports":"./index.js","scripts":{"test":"c8 node test.js"},"dependencies":{"unified":"^11.0.0"},"peerDependencies":{"prettier":"^3.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^8.0.0","eslint":"^8.0.0","eslint-config-remcohaszing":"^10.0.0","remark-cli":"^11.0.0","remark-toc":"^8.0.0","typescript":"^5.0.0"},"types":"./index.d.ts","_id":"unified-prettier@2.0.0","_integrity":"sha512-sbe/9D1hEWugtRv3nB2EdItKGnajCq0dYIPG06OFUHx+DwkQojpQSlWyrjvGvGVqrTP6deQ2gIxl4/u5Kra02g==","_resolved":"/home/runner/work/unified-prettier/unified-prettier/unified-prettier-2.0.0.tgz","_from":"file:unified-prettier-2.0.0.tgz","_nodeVersion":"20.5.1","_npmVersion":"9.8.0","dist":{"integrity":"sha512-sbe/9D1hEWugtRv3nB2EdItKGnajCq0dYIPG06OFUHx+DwkQojpQSlWyrjvGvGVqrTP6deQ2gIxl4/u5Kra02g==","shasum":"4a4c8acda3b895adc4c41ecf78332709fce38942","tarball":"https://registry.npmjs.org/unified-prettier/-/unified-prettier-2.0.0.tgz","fileCount":6,"unpackedSize":8404,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/unified-prettier@2.0.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIBjLai1W4ifYBF+Au555uaZ+VmUO19r0JdR8VzzQjjH/AiAwXb/57lAmaulEW8eAkN/BGHuhgo4b2N2fanpDPXPceA=="}]},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"},{"name":"jounqin","email":"admin@1stg.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unified-prettier_2.0.0_1692107490277_0.690989576333048"},"_hasShrinkwrap":false},"2.0.1":{"name":"unified-prettier","version":"2.0.1","description":"A unified plugin to format output using Prettier","keywords":["prettier","rehype","rehype-plugin","remark","remark-plugin","unified","unified-plugin"],"homepage":"https://github.com/remcohaszing/unified-prettier#readme","bugs":{"url":"https://github.com/remcohaszing/unified-prettier/issues"},"repository":{"type":"git","url":"git+https://github.com/remcohaszing/unified-prettier.git"},"funding":"https://github.com/sponsors/remcohaszing","license":"MIT","author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"sideEffects":false,"type":"module","main":"./dist/unified-prettier.js","exports":"./dist/unified-prettier.js","scripts":{"prepack":"tsc --build","pretest":"tsc --build","test":"c8 node --enable-source-maps dist/test.js"},"dependencies":{"unified":"^11.0.0"},"peerDependencies":{"prettier":"^3.0.0"},"devDependencies":{"@types/node":"^20.0.0","c8":"^9.0.0","eslint":"^8.0.0","eslint-config-remcohaszing":"^10.0.0","remark-cli":"^11.0.0","remark-preset-remcohaszing":"^2.0.0","typescript":"^5.0.0"},"types":"./dist/unified-prettier.d.ts","_id":"unified-prettier@2.0.1","_integrity":"sha512-6KKgdlY8wLsUMdGOFx61RVfCggKF47iE1cFvUcrs5jjH9xbkVMaQ48Qy8MXNjhexzKwxsoBYB/Qc7ZtPw7/Oyg==","_resolved":"/home/runner/work/unified-prettier/unified-prettier/unified-prettier-2.0.1.tgz","_from":"file:unified-prettier-2.0.1.tgz","_nodeVersion":"20.11.0","_npmVersion":"10.2.4","dist":{"integrity":"sha512-6KKgdlY8wLsUMdGOFx61RVfCggKF47iE1cFvUcrs5jjH9xbkVMaQ48Qy8MXNjhexzKwxsoBYB/Qc7ZtPw7/Oyg==","shasum":"bddc5b89107cd5d29750af1d937a15c3268a6698","tarball":"https://registry.npmjs.org/unified-prettier/-/unified-prettier-2.0.1.tgz","fileCount":13,"unpackedSize":14365,"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/unified-prettier@2.0.1","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIExelgQcVkQbphM96wCB0nFinaZHuSfI4PmpBYTwEqjGAiEA1pRQ0B3tGJvJT+PxGToKeM7/S3SOknKkIKF/s2NF1bs="}]},"_npmUser":{"name":"remcohaszing","email":"remcohaszing@gmail.com"},"directories":{},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"},{"name":"jounqin","email":"admin@1stg.me"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/unified-prettier_2.0.1_1708083284603_0.13143545774987908"},"_hasShrinkwrap":false}},"time":{"created":"2022-09-25T13:36:44.512Z","0.0.0":"2022-09-25T13:36:44.789Z","modified":"2024-02-16T11:34:45.373Z","0.1.0":"2022-09-27T04:30:45.038Z","1.0.0":"2023-07-15T11:55:20.340Z","1.0.1":"2023-07-17T15:34:15.104Z","1.0.2":"2023-08-01T13:08:36.757Z","2.0.0":"2023-08-15T13:51:30.468Z","2.0.1":"2024-02-16T11:34:44.740Z"},"maintainers":[{"name":"remcohaszing","email":"remcohaszing@gmail.com"},{"name":"jounqin","email":"admin@1stg.me"}],"description":"A unified plugin to format output using Prettier","homepage":"https://github.com/remcohaszing/unified-prettier#readme","repository":{"type":"git","url":"git+https://github.com/remcohaszing/unified-prettier.git"},"author":{"name":"Remco Haszing","email":"remcohaszing@gmail.com"},"bugs":{"url":"https://github.com/remcohaszing/unified-prettier/issues"},"license":"MIT","readme":"# unified-prettier\n\n[![github actions](https://github.com/remcohaszing/unified-prettier/actions/workflows/ci.yaml/badge.svg)](https://github.com/remcohaszing/unified-prettier/actions/workflows/ci.yaml)\n[![npm version](https://img.shields.io/npm/v/unified-prettier)](https://www.npmjs.com/package/unified-prettier)\n[![npm downloads](https://img.shields.io/npm/dm/unified-prettier)](https://www.npmjs.com/package/unified-prettier)\n[![codecov](https://codecov.io/gh/remcohaszing/unified-prettier/branch/main/graph/badge.svg)](https://codecov.io/gh/remcohaszing/unified-prettier)\n\nA [unified](https://unifiedjs.com) plugin to format output using [Prettier](https://prettier.io/).\n\n## Table of Contents\n\n- [Installation](#installation)\n- [Usage](#usage)\n- [API](#api)\n  - [Options](#options)\n- [Related projects](#related-projects)\n- [Compatibility](#compatibility)\n- [Acknowledgements](#acknowledgements)\n- [License](#license)\n\n## Installation\n\n```sh\nnpm install unified-prettier\n```\n\n## Usage\n\nThis unified plugin takes content from another compiler, and reformats the output using Prettier.\nIt’s intended to work with\n[`unified-engine`](https://github.com/unifiedjs/unified-engine/blob/main/readme.md) implementations,\nsuch as [`remark-cli`](https://github.com/remarkjs/remark/tree/main/packages/remark-cli) and\n[`rehype-cli`](https://github.com/rehypejs/rehype/tree/main/packages/rehype-cli).\n\nIn your\n[configuration file](https://github.com/unifiedjs/unified-engine/blob/main/doc/configure.md), add\n`unified-prettier` to the plugins:\n\n```json\n{\n  \"plugins\": [\"unified-prettier\"]\n}\n```\n\nIt can also be used programmatically. Although you’re probably better off passing the output value\nto Prettier directly.\n\nThe following example formats the readme using Prettier.\n\n```js\nimport { remark } from 'remark'\nimport { read } from 'to-vfile'\nimport unifiedPrettier from 'unified-prettier'\n\nconst processor = remark.use(unifiedPrettier)\nconst file = await read('README.md')\n\nconst { value } = await processor.process(file)\n\nconsole.log(value)\n```\n\nThe following package formats the readme using Prettier after updating the table of contents.\n\n```js\nimport { remark } from 'remark'\nimport remarkToc from 'remark-toc'\nimport { read } from 'to-vfile'\nimport unifiedPrettier from 'unified-prettier'\n\nconst processor = remark.use(remarkToc).use(unifiedPrettier)\nconst file = await read('README.md')\n\nconst { value } = await processor.process(file)\n\nconsole.log(value)\n```\n\n## API\n\nThe default export is a [unified](https://unifiedjs.com) plugin.\n\n### Options\n\nThis plugin accepts Prettier [options](https://prettier.io/docs/en/options.html). By default it uses\nthe options from the Prettier [configuration file](https://prettier.io/docs/en/configuration.html).\n\n## Related projects\n\n- [`prettier`](https://prettier.io) is an opiniated code formatter.\n- [`unified`](https://unifiedjs.com) is a tool that transforms content with plugins.\n- [`unified-consistency`](https://github.com/remcohaszing/unified-consistency) can be used to report\n  output inconsistencies.\n\n## Compatibility\n\nThis project is compatible with Node.js 16 or greater, Prettier 3, and unified 11.\n\n## Acknowledgements\n\nThanks to [@JounQin](https://github.com/JounQin) for giving me the npm package name.\n\n## License\n\n[MIT](LICENSE.md) © [Remco Haszing](https://github.com/remcohaszing)\n","readmeFilename":"README.md","keywords":["prettier","rehype","rehype-plugin","remark","remark-plugin","unified","unified-plugin"]}