{"id":15018589,"url":"https://github.com/slayug/tnsg","last_synced_at":"2025-10-23T19:30:56.986Z","repository":{"id":65473301,"uuid":"89916099","full_name":"Slayug/tnsg","owner":"Slayug","description":"Generate quickly your pages, services, view, class..","archived":false,"fork":false,"pushed_at":"2017-05-01T18:55:10.000Z","size":14,"stargazers_count":4,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-30T20:30:34.691Z","etag":null,"topics":["angular","generator","nativescript","pages","service","view"],"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/Slayug.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-05-01T10:44:11.000Z","updated_at":"2024-05-30T16:37:02.000Z","dependencies_parsed_at":"2023-01-25T03:05:11.875Z","dependency_job_id":null,"html_url":"https://github.com/Slayug/tnsg","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/Slayug%2Ftnsg","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Slayug%2Ftnsg/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Slayug%2Ftnsg/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Slayug%2Ftnsg/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Slayug","download_url":"https://codeload.github.com/Slayug/tnsg/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":237877021,"owners_count":19380344,"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","generator","nativescript","pages","service","view"],"created_at":"2024-09-24T19:52:09.359Z","updated_at":"2025-10-23T19:30:56.661Z","avatar_url":"https://github.com/Slayug.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# tnsg\n**A NativeScript CLI Generator**\n\n----------\n\nGenerate quickly your pages, services, class..\n\n## Installation\n```bash\nnpm install -g tnsg\n```\n## Generating Pages, Service, Class (Angular)\n\nScaffold  | Usage\n---       | ---\n`Page` | `tnsg -p my-page`\n`Service` | `tnsg -s my-service`\n`Class` | `tnsg -c my-class`\n\n### Examples:\n`tnsg -p pages/login` will generate:\n - ./app/pages/login/login.android.css\n - ./app/pages/login/login.ios.css\n - ./app/pages/login/login-common.css\n - ./app/pages/login/login.component.ts\n - ./app/pages/login/login.html\n and link the component in *app.module.ts*\n\n`tnsg -p pages/user-detail` will generate:\n - ./app/pages/user-detail/user-detail.android.css\n - ./app/pages/user-detail/user-detail.ios.css\n - ./app/pages/user-detail/user-detail-common.css\n - ./app/pages/user-detail/user-detail.component.ts\n - ./app/pages/user-detail/user-detail.html\n and link the component in *app.module.ts*\n\n ## Generating View {N}\n\n Scaffold  | Usage\n ---       | ---\n `View` | `tnsg -vi my-view`\n\n### Examples:\n`tnsg -vi views/user` will generate:\n - ./app/views/user/user.css\n - ./app/views/user/user.js\n - ./app/views/user/user.xml\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslayug%2Ftnsg","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fslayug%2Ftnsg","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fslayug%2Ftnsg/lists"}