{"_id":"@eklingen/vinyl-stream-prettier","_rev":"2-16026a7066cf27f7915d2ba53f343c32","name":"@eklingen/vinyl-stream-prettier","dist-tags":{"latest":"1.0.2"},"versions":{"1.0.0":{"name":"@eklingen/vinyl-stream-prettier","version":"1.0.0","description":"Small vinyl-stream wrapper -aka Gulp plugin- for prettier.","repository":{"type":"git","url":"git+https://github.com/eklingen/vinyl-stream-prettier.git"},"publishConfig":{"access":"public"},"author":{"name":"Elco Klingen"},"license":"MIT","homepage":"https://github.com/eklingen/vinyl-stream-prettier#readme","bugs":{"url":"https://github.com/eklingen/vinyl-stream-prettier/issues"},"keywords":["vinyl","stream","gulp","prettier"],"main":"index.js","engines":{"node":">=12.13.0"},"scripts":{"test":"echo '** TODO: Write tests! **'; echo 'Linting...'; eslint index.js --fix;"},"dependencies":{"prettier":"^3.0.3"},"devDependencies":{"eslint":"^8.17.0","eslint-plugin-node":"^11.1.0","eslint-plugin-prefer-object-spread":"^1.2.1","eslint-plugin-simple-import-sort":"^7.0.0","eslint-plugin-smells":"^1.0.1"},"licenseText":"MIT License\n\nCopyright (c) 2019 Elco Klingen\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":"@eklingen/vinyl-stream-prettier@1.0.0","dist":{"shasum":"f6ef304eab99a33b27e5f69b2e5dd3bfbde28d6e","integrity":"sha512-9nkO11AIEkS8H9MoSq4oQoD7i2c/4auKe8519qIfIqEVn+8X4Cfk55GZTraoterqAiXiRQ4Ym8xaHArrzkR86A==","tarball":"https://registry.npmjs.org/@eklingen/vinyl-stream-prettier/-/vinyl-stream-prettier-1.0.0.tgz","fileCount":6,"unpackedSize":5435,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDIqq4F9G9kRMNoOg5g6p2q1TbsUjsvjgFtrAUiLJ9YPwIgOGaMP955vMMamVnG6ngrVcH7266DjCIei65PPV0bf4c="}]},"_npmUser":{"name":"eklingen","email":"disillusion84@gmail.com"},"directories":{},"maintainers":[{"name":"eklingen","email":"disillusion84@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vinyl-stream-prettier_1.0.0_1698252171249_0.748341771958791"},"_hasShrinkwrap":false},"1.0.1":{"name":"@eklingen/vinyl-stream-prettier","version":"1.0.1","description":"Small vinyl-stream wrapper -aka Gulp plugin- for prettier.","repository":{"type":"git","url":"git+https://github.com/eklingen/vinyl-stream-prettier.git"},"publishConfig":{"access":"public"},"author":{"name":"Elco Klingen"},"license":"MIT","homepage":"https://github.com/eklingen/vinyl-stream-prettier#readme","bugs":{"url":"https://github.com/eklingen/vinyl-stream-prettier/issues"},"keywords":["vinyl","stream","gulp","prettier"],"main":"index.js","engines":{"node":">=20.9.0"},"packageManager":"yarn@4.0.2","scripts":{"test":"echo '** TODO: Write tests! **';"},"dependencies":{"prettier":"^3.0.3"},"_id":"@eklingen/vinyl-stream-prettier@1.0.1","gitHead":"a24375046b7d8118587007876508cfaeb3d62669","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-tzgp2aSN63XBlmzbmMscRTSUN1vST43bP7rQIlvvzQoU5U2rM+03QZyYVbtJHTkqalZ924dX2Pk7vgS+/jUYoQ==","shasum":"c238aba3389a6c0befe9638cf60b894131f49e00","tarball":"https://registry.npmjs.org/@eklingen/vinyl-stream-prettier/-/vinyl-stream-prettier-1.0.1.tgz","fileCount":5,"unpackedSize":5177,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDJNvgNvJ9zA1QKcZs6kA06vnv+unKu03BvbpzCpI0Q1AIgJ/a5v1dR6Z2Rf5g9QUlE2WXy0fybeCMBV8Kve/BHK/w="}]},"_npmUser":{"name":"eklingen","email":"disillusion84@gmail.com"},"directories":{},"maintainers":[{"name":"eklingen","email":"disillusion84@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vinyl-stream-prettier_1.0.1_1704880353955_0.9067179633174103"},"_hasShrinkwrap":false},"1.0.2":{"name":"@eklingen/vinyl-stream-prettier","version":"1.0.2","description":"Small vinyl-stream wrapper -aka Gulp plugin- for prettier.","repository":{"type":"git","url":"git+https://github.com/eklingen/vinyl-stream-prettier.git"},"publishConfig":{"access":"public"},"author":{"name":"Elco Klingen"},"license":"MIT","homepage":"https://github.com/eklingen/vinyl-stream-prettier#readme","bugs":{"url":"https://github.com/eklingen/vinyl-stream-prettier/issues"},"keywords":["vinyl","stream","gulp","prettier"],"main":"index.js","engines":{"node":">=20.9.0"},"packageManager":"yarn@4.0.2","scripts":{"test":"echo '** TODO: Write tests! **';"},"dependencies":{"prettier":"^3.1.1"},"_id":"@eklingen/vinyl-stream-prettier@1.0.2","gitHead":"1012ff54c3851afea1b8030c5b623bfd2514bb8a","_nodeVersion":"20.9.0","_npmVersion":"10.1.0","dist":{"integrity":"sha512-O22kcX5KMmkwxwmHBXQUum8Us84p1YnU4w6nCFWqKSBk+QQ4rKWOBLVte6XVcLWYTctIleyna5+xh6clvAJrCA==","shasum":"44233b47778f4f5364fc15bf053caf1bfd166f4c","tarball":"https://registry.npmjs.org/@eklingen/vinyl-stream-prettier/-/vinyl-stream-prettier-1.0.2.tgz","fileCount":5,"unpackedSize":5204,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHxmkcBH4oCP+xvqYrjcFP3ELnDu6zCpVFSTVvFZMFd2AiEA4KL/qaY8QeKepzAXnyzcbbQdD/80FQCWatlu/URO5Bw="}]},"_npmUser":{"name":"eklingen","email":"disillusion84@gmail.com"},"directories":{},"maintainers":[{"name":"eklingen","email":"disillusion84@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/vinyl-stream-prettier_1.0.2_1704897533711_0.971897561764665"},"_hasShrinkwrap":false}},"time":{"created":"2023-10-25T16:42:51.173Z","1.0.0":"2023-10-25T16:42:51.522Z","modified":"2024-01-10T14:38:54.035Z","1.0.1":"2024-01-10T09:52:34.097Z","1.0.2":"2024-01-10T14:38:53.872Z"},"maintainers":[{"name":"eklingen","email":"disillusion84@gmail.com"}],"description":"Small vinyl-stream wrapper -aka Gulp plugin- for prettier.","homepage":"https://github.com/eklingen/vinyl-stream-prettier#readme","keywords":["vinyl","stream","gulp","prettier"],"repository":{"type":"git","url":"git+https://github.com/eklingen/vinyl-stream-prettier.git"},"author":{"name":"Elco Klingen"},"bugs":{"url":"https://github.com/eklingen/vinyl-stream-prettier/issues"},"license":"MIT","readme":"# Small vinyl-stream wrapper -aka Gulp plugin- for prettier\n\nRun prettier within your streams. Supports automatic fixing of files. Also has a fast method for more speed, and a slow method for more control.\n\n> _NOTE:_ No tests have been written yet!\n\n## Installation\n\n`yarn install`. Or `npm install`. Or just copy the files to your own project.\n\n## Usage\n\n```javascript\nconst prettierWrapper = require(\"@eklingen/vinyl-stream-prettier\");\nstream.pipe(prettierWrapper());\n```\n\nThis package assumes a configuration dotfile where prettier can find it.\n\n## Options\n\nYou have the following options:\n\n### `failAfterError`\n\nThis will determine wether to fail or not. Useful in a pre-commit hook, for example.\n\n```javascript\nprettierWrapper({\n  failAfterError: true,\n});\n```\n\n### `prettier`\n\nThese options are passed verbatim to prettier. See the [\"prettier\"](https://www.npmjs.com/packages/prettier) documentation for more details.\n\n```javascript\nprettierWrapper({\n  prettier: {\n    fix: false,\n  },\n});\n```\n\n## Dependencies\n\nThis package requires [\"prettier\"](https://www.npmjs.com/package/prettier).\n\n---\n\nCopyright (c) 2023 Elco Klingen. MIT License.\n","readmeFilename":"README.md"}