{"id":18465665,"url":"https://github.com/oct16/code-formatter","last_synced_at":"2025-04-08T08:31:59.543Z","repository":{"id":36472808,"uuid":"224618190","full_name":"oct16/code-formatter","owner":"oct16","description":"A code automatically formatter","archived":false,"fork":false,"pushed_at":"2023-01-07T12:17:14.000Z","size":249,"stargazers_count":3,"open_issues_count":12,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-24T13:09:48.744Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/@oct16/code-formatter","language":"TypeScript","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/oct16.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":"2019-11-28T09:34:33.000Z","updated_at":"2020-09-06T04:57:57.000Z","dependencies_parsed_at":"2023-01-17T01:48:45.080Z","dependency_job_id":null,"html_url":"https://github.com/oct16/code-formatter","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oct16%2Fcode-formatter","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oct16%2Fcode-formatter/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oct16%2Fcode-formatter/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/oct16%2Fcode-formatter/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/oct16","download_url":"https://codeload.github.com/oct16/code-formatter/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247804613,"owners_count":20999022,"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":[],"created_at":"2024-11-06T09:13:51.436Z","updated_at":"2025-04-08T08:31:59.101Z","avatar_url":"https://github.com/oct16.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Code Formatter ![](https://travis-ci.org/oct16/code-formatter.svg?branch=master)\n\n### A code automatically formatting tool\n\n![Preview](screen-recording.gif)\n\n\n### Install\n```bash\n$ yarn add @oct16/code-formatter\n$ npm install @oct16/code-formatter\n```\n\n\n### Feature\n\n- Simple, Robust and Easy to use\n- Custom RC formatters (via e.g. prettierrc)\n- Supports a variety of type formatting\n\n\n### Usage\n\n```bash\n// In root dir (Directory of rc files)\n\n$ code-formatter\n\n// installed in local\n$ npx code-formatter\n```\n\n### Options\n\n`--file_type`\ndescribe: Specify the file type   \ndefault: `ts`   \nchoices: `ts` `js` `all`\n\n`--change_type`\ndescribe: Specify the change type   \ndefault: `all`   \nchoices: `cached` `all`\n\n`--path`\ndescribe: Specify the path for the files include   \ndefault: `src`\n\n`--exclude`  \ndescribe: Specify the path for the files exclude   \ndefault: `node_modules`\n\n\n### License\n\nMIT License\n\nCopyright (c) 2019 oct16\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","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foct16%2Fcode-formatter","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Foct16%2Fcode-formatter","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Foct16%2Fcode-formatter/lists"}