{"id":15416314,"url":"https://github.com/herber/formatted","last_synced_at":"2026-05-06T07:33:02.892Z","repository":{"id":57240474,"uuid":"115791801","full_name":"herber/formatted","owner":"herber","description":"✨🎨 Simple JavaScript code-formatter","archived":false,"fork":false,"pushed_at":"2017-12-30T11:14:47.000Z","size":4,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-17T09:41:13.208Z","etag":null,"topics":["formatter","javascript","prettier"],"latest_commit_sha":null,"homepage":"","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/herber.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-12-30T11:13:26.000Z","updated_at":"2022-03-06T03:54:39.000Z","dependencies_parsed_at":"2022-08-29T22:21:34.234Z","dependency_job_id":null,"html_url":"https://github.com/herber/formatted","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/herber%2Fformatted","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herber%2Fformatted/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herber%2Fformatted/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/herber%2Fformatted/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/herber","download_url":"https://codeload.github.com/herber/formatted/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245966948,"owners_count":20701759,"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":["formatter","javascript","prettier"],"created_at":"2024-10-01T17:11:36.966Z","updated_at":"2026-05-06T07:32:57.870Z","avatar_url":"https://github.com/herber.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Formatted\n\nA simple JavaScript code-formatter powered by [prettier](https://github.com/prettier/prettier)\n\n## Features\n\n- Zero config necessary\n- Automatic - you don't need to do anything\n- Fully configurable\n\n## Install\n\n```bash\n$ npm install -g formatted\n```\n\n## Usage\n\n```bash\ncd my-project\nformatted\n# that's it\n```\n\n## Configuration\n\nAlthough no configuration is necessary formatted can be configured to your needs.\n\nCustom configurations can be stored in `.formattedrc`, `formatted.config.js` and in the `formatted` property in your `package.json`.\n\n### Configuration properties\n\n| Name           | Description                              | Default |\n| -------------- | ---------------------------------------- | ------- |\n| semi           | If set to `true` expressions must end with a semicolon | `true`  |\n| printWidth     | The maximum length of a line             | 100     |\n| tabWidth       | The number of spaces per indentation-level | 2       |\n| useTabs        | If set to `true` formatted will indent with tabs | `false` |\n| singleQuote    | Use single quotes instead of double quotes | `true`  |\n| trailingComma  | Where to add trailing commas             | `none`  |\n| bracketSpacing | Spaces between brackets in object literals | `true`  |\n\nFor more details check out prettier's [docs](https://prettier.io/docs/en/options.html) \n\n## License\n\nMIT © [Tobias Herber](http://tobihrbr.com)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherber%2Fformatted","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fherber%2Fformatted","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fherber%2Fformatted/lists"}