{"id":15655511,"url":"https://github.com/sis0k0/lazyninjas","last_synced_at":"2025-06-27T00:37:29.467Z","repository":{"id":119905726,"uuid":"75171821","full_name":"sis0k0/lazyNinjas","owner":"sis0k0","description":null,"archived":false,"fork":false,"pushed_at":"2019-01-27T10:35:13.000Z","size":2150,"stargazers_count":25,"open_issues_count":1,"forks_count":6,"subscribers_count":4,"default_branch":"aot","last_synced_at":"2025-05-05T14:52:22.652Z","etag":null,"topics":["angular","lazy-loading","nativescript"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sis0k0.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":null,"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":"2016-11-30T09:29:09.000Z","updated_at":"2024-05-30T16:01:22.000Z","dependencies_parsed_at":null,"dependency_job_id":"36159bc2-16e5-4226-8e9f-bb7178886909","html_url":"https://github.com/sis0k0/lazyNinjas","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/sis0k0/lazyNinjas","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sis0k0%2FlazyNinjas","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sis0k0%2FlazyNinjas/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sis0k0%2FlazyNinjas/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sis0k0%2FlazyNinjas/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sis0k0","download_url":"https://codeload.github.com/sis0k0/lazyNinjas/tar.gz/refs/heads/aot","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sis0k0%2FlazyNinjas/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":262166394,"owners_count":23269038,"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","lazy-loading","nativescript"],"created_at":"2024-10-03T12:59:33.350Z","updated_at":"2025-06-27T00:37:29.442Z","avatar_url":"https://github.com/sis0k0.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Lazy Ninjas\n\nLazy Ninjas is a simple NativeScript-Angular application, demonstrating several implementations of lazy loaded modules. Please check out the [Optimizing app loading time with Angular Lazy Loading](https://www.nativescript.org/blog/optimizing-app-loading-time-with-angular-2-lazy-loading) article.\n\n# Installation\n\nStart by cloning the repo:\n\n```bash\n$ git clone https://github.com/sis0k0/lazyNinjas.git\n$ cd lazyNinjas\n```\n\nThen, install the NativeScript CLI:\n\n```bash\nnpm i -g nativescript\n```\n\nNow, you can use the `preview` command to build and start the app:\n\n```bash\n$ tns preview\n```\n\nIf you want to bundle the app with webpack, append the `--bundle` flag:\n\n```bash\n$ tns preview --bundle\n```\n\n# Branches\n\n## Recommended:\n\n1. The [**aot** branch](https://github.com/sis0k0/lazyNinjas/tree/aot) shows how to use a single lazy module.\n\n1. The [**nested-lazy-modules** branch](https://github.com/sis0k0/lazyNinjas/tree/nested-lazy-modules) shows how to set up a module hierarchy with nested lazily loaded NgModules.\n\n## Deprecated:\n1. The [**callback-loading** branch](https://github.com/sis0k0/lazyNinjas/tree/callback-loading) shows how to lazy load modules by passing a callback function to the `loadChildren` properties in the router configuration.\n\n2. The [**custom-module-loader** branch](https://github.com/sis0k0/lazyNinjas/tree/custom-module-loader) shows how to extract the loading logic to a custom module loader.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsis0k0%2Flazyninjas","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsis0k0%2Flazyninjas","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsis0k0%2Flazyninjas/lists"}