{"id":15732461,"url":"https://github.com/jonschlinkert/more-prettier","last_synced_at":"2025-08-31T04:11:13.762Z","repository":{"id":57302826,"uuid":"90394440","full_name":"jonschlinkert/more-prettier","owner":"jonschlinkert","description":"CLI for running [prettier] with opinionated defaults.","archived":false,"fork":false,"pushed_at":"2017-05-05T16:11:42.000Z","size":6,"stargazers_count":5,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-03-05T10:45:56.209Z","etag":null,"topics":["fix","format","formatting","javascript","lint","prettier","pretty"],"latest_commit_sha":null,"homepage":"https://github.com/jonschlinkert/more-prettier","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jonschlinkert.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-05-05T16:11:02.000Z","updated_at":"2017-08-16T20:19:21.000Z","dependencies_parsed_at":"2022-09-20T17:52:14.779Z","dependency_job_id":null,"html_url":"https://github.com/jonschlinkert/more-prettier","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fmore-prettier","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fmore-prettier/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fmore-prettier/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jonschlinkert%2Fmore-prettier/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jonschlinkert","download_url":"https://codeload.github.com/jonschlinkert/more-prettier/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243341406,"owners_count":20275866,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["fix","format","formatting","javascript","lint","prettier","pretty"],"created_at":"2024-10-04T00:20:27.848Z","updated_at":"2025-03-13T04:31:14.103Z","avatar_url":"https://github.com/jonschlinkert.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# more-prettier [![NPM version](https://img.shields.io/npm/v/more-prettier.svg?style=flat)](https://www.npmjs.com/package/more-prettier) [![NPM monthly downloads](https://img.shields.io/npm/dm/more-prettier.svg?style=flat)](https://npmjs.org/package/more-prettier) [![NPM total downloads](https://img.shields.io/npm/dt/more-prettier.svg?style=flat)](https://npmjs.org/package/more-prettier)\n\n\u003e CLI for running [prettier](https://github.com/prettier/prettier) with opinionated defaults.\n\n## Install\n\nInstall globally with [npm](https://www.npmjs.com/)\n\n```sh\n$ npm install --global more-prettier\n```\n\n## Usage\n\n```sh\n# overwrites foo.js\n$ fix foo.js\n# write to a different destination file\n$ fix foo.js bar.js\n```\n\n## Options\n\nDefaults used:\n\n```js\nvar defaults = {\n  // Indent lines with tabs\n  useTabs: false,\n\n  // Fit code within this line limit\n  printWidth: 80,\n\n  // Number of spaces it should use per tab\n  tabWidth: 2,\n\n  // If true, will use single instead of double quotes\n  singleQuote: true,\n\n  // Controls the printing of trailing commas wherever possible. Valid options:\n  // 'none' - No trailing commas\n  // 'es5'  - Trailing commas where valid in ES5 (objects, arrays, etc)\n  // 'all'  - Trailing commas wherever possible (function arguments)\n  //\n  // NOTE: Above is only available in 0.19.0 and above. Previously this was\n  // a boolean argument.\n  trailingComma: 'none',\n\n  // Controls the printing of spaces inside object literals\n  bracketSpacing: true,\n\n  // If true, puts the `\u003e` of a multi-line jsx element at the end of\n  // the last line instead of being alone on the next line\n  jsxBracketSameLine: false,\n\n  // Which parser to use. Valid options are 'flow' and 'babylon'\n  parser: 'babylon',\n\n  // Whether to add a semicolon at the end of every line (semi: true),\n  // or only at the beginning of lines that may introduce ASI failures (semi: false)\n  semi: true\n};\n```\n\n## About\n\n### Contributing\n\nPull requests and stars are always welcome. For bugs and feature requests, [please create an issue](../../issues/new).\n\n### Building docs\n\n_(This project's readme.md is generated by [verb](https://github.com/verbose/verb-generate-readme), please don't edit the readme directly. Any changes to the readme must be made in the [.verb.md](.verb.md) readme template.)_\n\nTo generate the readme, run the following command:\n\n```sh\n$ npm install -g verbose/verb#dev verb-generate-readme \u0026\u0026 verb\n```\n\n### Running tests\n\nRunning and reviewing unit tests is a great way to get familiarized with a library and its API. You can install dependencies and run tests with the following command:\n\n```sh\n$ npm install \u0026\u0026 npm test\n```\n\n### Author\n\n**Jon Schlinkert**\n\n* [github/jonschlinkert](https://github.com/jonschlinkert)\n* [twitter/jonschlinkert](https://twitter.com/jonschlinkert)\n\n### License\n\nCopyright © 2017, [Jon Schlinkert](https://github.com/jonschlinkert).\nReleased under the [MIT License](LICENSE).\n\n***\n\n_This file was generated by [verb-generate-readme](https://github.com/verbose/verb-generate-readme), v0.6.0, on May 05, 2017._","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonschlinkert%2Fmore-prettier","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjonschlinkert%2Fmore-prettier","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjonschlinkert%2Fmore-prettier/lists"}