{"id":18223061,"url":"https://github.com/opendomeco/nativescript-auto-fit-text","last_synced_at":"2025-04-03T04:30:33.633Z","repository":{"id":57308414,"uuid":"96450479","full_name":"opendomeco/nativescript-auto-fit-text","owner":"opendomeco","description":"{N} Plugin to resize text to fit with","archived":false,"fork":false,"pushed_at":"2017-12-18T22:21:12.000Z","size":3677,"stargazers_count":13,"open_issues_count":4,"forks_count":6,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T09:04:19.065Z","etag":null,"topics":["angular","autofittext","nativescript","nativescript-plugin"],"latest_commit_sha":null,"homepage":"","language":"HTML","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opendomeco.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-07-06T16:29:01.000Z","updated_at":"2024-09-10T14:14:13.000Z","dependencies_parsed_at":"2022-09-09T23:20:11.922Z","dependency_job_id":null,"html_url":"https://github.com/opendomeco/nativescript-auto-fit-text","commit_stats":null,"previous_names":["danielgek/nativescript-auto-fit-text"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendomeco%2Fnativescript-auto-fit-text","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendomeco%2Fnativescript-auto-fit-text/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendomeco%2Fnativescript-auto-fit-text/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opendomeco%2Fnativescript-auto-fit-text/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opendomeco","download_url":"https://codeload.github.com/opendomeco/nativescript-auto-fit-text/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":246938914,"owners_count":20857916,"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":["angular","autofittext","nativescript","nativescript-plugin"],"created_at":"2024-11-04T00:03:53.569Z","updated_at":"2025-04-03T04:30:32.797Z","avatar_url":"https://github.com/opendomeco.png","language":"HTML","funding_links":[],"categories":[],"sub_categories":[],"readme":"# AutoFitText\n\nThis plugin is based on the Nativescript Label implementation but with changes to adjust the font size according of the label's width\n\n![Example Image](/assets/showoff.gif?raw=true)\n\n## Prerequisites / Requirements\n\nThis plugin is only tested with **{N} \u003e 3.0.0**\n\n## Installation\n\nDescribe your plugin installation steps. Ideally it would be something like:\n\n```javascript\ntns plugin add nativescript-auto-fit-text\n```\n\n## Usage \n\n### Angular\t\n```typescript\nimport { AutoFitTextModule } from \"nativescript-auto-fit-text/angular\"\n\n@NgModule({\n\t...\n    imports: [\n        AutoFitTextModule\n    ],\n    ...\n})\nexport class AppModule { }\n\n```\n\n```html\n\u003cAutoFitText text=\"Testinggggggggggggggggg\" textWrap=\"false\"\u003e\u003c/AutoFitText\u003e\n```\n\n### Vanilla Nativescript\n\n```html\n\u003cPage xmlns=\"http://schemas.nativescript.org/tns.xsd\" loaded=\"pageLoaded\" class=\"page\" xmlns:ui=\"nativescript-auto-fit-text\"\u003e\n  \u003cStackLayout class=\"p-20\"\u003e\n    \u003cui:AutoFitText text=\"Testinggggggggggggggggg\" textWrap=\"false\"\u003e\u003c/ui:AutoFitText\u003e\n  \u003c/StackLayout\u003e\n\u003c/Page\u003e\n```\n\n## Credits\n\n[@grantland - android-autofittextview](https://github.com/grantland/android-autofittextview)\n    \n## License\n\nApache License Version 2.0, January 2004\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopendomeco%2Fnativescript-auto-fit-text","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopendomeco%2Fnativescript-auto-fit-text","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopendomeco%2Fnativescript-auto-fit-text/lists"}