{"id":20908671,"url":"https://github.com/yezarela/tns-ng","last_synced_at":"2025-05-13T06:34:04.136Z","repository":{"id":143918917,"uuid":"86797016","full_name":"yezarela/tns-ng","owner":"yezarela","description":":wrench: Angular CLI for Nativescript. Generates component for Nativescript Angular projects","archived":false,"fork":false,"pushed_at":"2017-05-11T07:21:48.000Z","size":9,"stargazers_count":8,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-20T05:03:27.533Z","etag":null,"topics":["angular","angular-cli","nativescript"],"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/yezarela.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-03-31T08:33:47.000Z","updated_at":"2024-05-30T16:19:18.000Z","dependencies_parsed_at":null,"dependency_job_id":"ab13238c-37f6-490e-9b44-2841eb683f8f","html_url":"https://github.com/yezarela/tns-ng","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/yezarela%2Ftns-ng","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yezarela%2Ftns-ng/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yezarela%2Ftns-ng/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/yezarela%2Ftns-ng/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/yezarela","download_url":"https://codeload.github.com/yezarela/tns-ng/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253889854,"owners_count":21979708,"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","angular-cli","nativescript"],"created_at":"2024-11-18T14:08:23.624Z","updated_at":"2025-05-13T06:34:04.129Z","avatar_url":"https://github.com/yezarela.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Tns Ng\n\n[![npm version](https://badge.fury.io/js/tns-ng.svg)](https://badge.fury.io/js/tns-ng)\n\nAngular CLI for Nativescript. Generates component for Nativescript Angular projects\n\n## Table of Contents\n\n* [Installation](#installation)\n* [Usage](#usage)\n* [Generating Components and Services](#generating-components-and-services)\n* [Contributing](#contributing)\n\n## Installation\n\n```bash\nnpm install -g tns-ng\n```\n\n## Usage\n\n```bash\ntng --help\n```\n\n### Generating Components and Services\n\n```\ntng generate|g [type] [name] \n```\nYou can use the `tng generate` (or just `tng g`) command to generate Nativescript Angular components:\n\n```bash\ntng generate component my-component\ntng g component my-component # using the alias\n\n# components support relative path generation\n# if in the directory app/feature/ and you run\ntng g component my-component\n# your component will be generated in app/feature/my-component\n# but if you were to run\ntng g component feature/my-component\n# your component will be generated in app/feature/my-component\n\n# This will create four files:\n__my-component__/__my-component__.component.html\n__my-component__/__my-component__.component.ts\n__my-component__/__my-component__.component.android.css\n__my-component__/__my-component__.component.ios.css\n```\nYou can find all possible types in the table below:\n\nScaffold  | Usage\n---       | ---\nComponent | `tng g component my-component`\nService | `tng g service my-service`\n\n## Contributing\n\nJust fork and pull request :D","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyezarela%2Ftns-ng","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyezarela%2Ftns-ng","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyezarela%2Ftns-ng/lists"}