{"id":20328045,"url":"https://github.com/Celtian/ngx-i18n-extract-regex-cli","last_synced_at":"2025-05-08T01:30:48.519Z","repository":{"id":215348139,"uuid":"738720782","full_name":"Celtian/ngx-i18n-extract-regex-cli","owner":"Celtian","description":"Tool for extracting translations from Angular app using regex","archived":false,"fork":false,"pushed_at":"2024-04-11T11:48:11.000Z","size":305,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-04-11T12:43:14.135Z","etag":null,"topics":["cli","library","typescript"],"latest_commit_sha":null,"homepage":"","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/Celtian.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2024-01-03T22:21:36.000Z","updated_at":"2024-04-14T20:38:05.883Z","dependencies_parsed_at":"2024-03-23T08:31:12.026Z","dependency_job_id":"5df7ce89-a828-416e-aed8-5aca9eb2377b","html_url":"https://github.com/Celtian/ngx-i18n-extract-regex-cli","commit_stats":null,"previous_names":["celtian/ngx-i18n-extract-regex-cli"],"tags_count":10,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Fngx-i18n-extract-regex-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Fngx-i18n-extract-regex-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Fngx-i18n-extract-regex-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Celtian%2Fngx-i18n-extract-regex-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Celtian","download_url":"https://codeload.github.com/Celtian/ngx-i18n-extract-regex-cli/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":252981422,"owners_count":21835424,"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":["cli","library","typescript"],"created_at":"2024-11-14T20:00:49.888Z","updated_at":"2025-05-08T01:30:48.130Z","avatar_url":"https://github.com/Celtian.png","language":"TypeScript","funding_links":[],"categories":["Development Utilities"],"sub_categories":["Internationalization"],"readme":"\u003cp align=\"center\"\u003e\n  \u003ca href=\"https://github.com/Celtian/ngx-i18n-extract-regex-cli\" target=\"blank\"\u003e\u003cimg src=\"assets/logo.svg?sanitize=true\" alt=\"\" width=\"120\"\u003e\u003c/a\u003e\n  \u003ch1 align=\"center\"\u003eNgxI18nRegexExtractCli\u003c/h1\u003e\n\u003c/p\u003e\n\n[![npm version](https://badge.fury.io/js/ngx-i18n-extract-regex-cli.svg)](https://badge.fury.io/js/ngx-i18n-extract-regex-cli)\n[![Build \u0026 Publish](https://github.com/celtian/ngx-i18n-extract-regex-cli/workflows/Build%20\u0026%20Publish/badge.svg)](https://github.com/celtian/ngx-i18n-extract-regex-cli/actions)\n\n\u003e Tool for extracting translations from Angular app using regex\n\n## 🛠️ Install\n\n_Nodejs 12 or higher need to be installed first_\n\n```terminal\nnpm install -g ngx-i18n-extract-regex-cli\n```\n\nor\n\n```terminal\nyarn global add ngx-i18n-extract-regex-cli\n```\n\n## 🚀 Quick start\n\n_Go to command line and type_\n\n```terminal\nngx-i18n-extract-regex --help\n```\n\n## 🛠️ Options\n\n| Option            | Type                                                                    | Default                        | Description                         |\n| ----------------- | ----------------------------------------------------------------------- | ------------------------------ | ----------------------------------- |\n| **library**       | `transloco, ngx-translate`                                              | `transloco`                    | Target i18n library                 |\n| **cwd**           | string                                                                  | `src`                          | Current working directory           |\n| **source**        | string[]                                                                | `app/**/*.ts', 'app/**/*.html` | Path to source files                |\n| **langs**         | string[]                                                                | `assets/i18n/*.json`           | Path to language files              |\n| **default-value** | string                                                                  | `███`                          | Default string                      |\n| **dry-run**       | boolean                                                                 | `false`                        | Run process without writing results |\n| **encoding**      | `utf-8, ascii, utf8, utf16le, ucs2, ucs-2, base64, latin1, binary, hex` | `utf-8`                        | Encoding for writing results        |\n\n## 🪪 License\n\nCopyright \u0026copy; 2024 [Dominik Hladik](https://github.com/Celtian)\n\nAll contents are licensed under the [MIT license].\n\n[mit license]: LICENSE\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCeltian%2Fngx-i18n-extract-regex-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FCeltian%2Fngx-i18n-extract-regex-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FCeltian%2Fngx-i18n-extract-regex-cli/lists"}