{"id":19873388,"url":"https://github.com/ismaestro/angular-example-library","last_synced_at":"2025-07-26T13:38:13.362Z","repository":{"id":178439113,"uuid":"116319319","full_name":"Ismaestro/angular-example-library","owner":"Ismaestro","description":"Angular example library. Base project, if you want to build your own library with Angular.","archived":false,"fork":false,"pushed_at":"2018-11-30T17:31:32.000Z","size":1328,"stargazers_count":9,"open_issues_count":0,"forks_count":4,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-05-02T09:49:07.391Z","etag":null,"topics":["angular","angular-library","angularjs","base-project","boilerplate","demo-app","example","library"],"latest_commit_sha":null,"homepage":null,"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/Ismaestro.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":"CONTRIBUTING.md","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,"zenodo":null}},"created_at":"2018-01-04T23:55:11.000Z","updated_at":"2024-12-04T16:07:38.000Z","dependencies_parsed_at":null,"dependency_job_id":"ddb28236-0363-44c7-bdb8-aeaa0b9e793f","html_url":"https://github.com/Ismaestro/angular-example-library","commit_stats":null,"previous_names":["ismaestro/angular-example-library"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Ismaestro/angular-example-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ismaestro%2Fangular-example-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ismaestro%2Fangular-example-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ismaestro%2Fangular-example-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ismaestro%2Fangular-example-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Ismaestro","download_url":"https://codeload.github.com/Ismaestro/angular-example-library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Ismaestro%2Fangular-example-library/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":267175739,"owners_count":24047918,"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","status":"online","status_checked_at":"2025-07-26T02:00:08.937Z","response_time":62,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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-library","angularjs","base-project","boilerplate","demo-app","example","library"],"created_at":"2024-11-12T16:18:28.846Z","updated_at":"2025-07-26T13:38:13.354Z","avatar_url":"https://github.com/Ismaestro.png","language":"JavaScript","readme":"\u003cp align=\"center\"\u003e\n  \u003ch1 align=\"center\"\u003eExample library with Angular 5 + Angular CLI playground\u003c/h1\u003e\n\n  \u003cp align=\"center\"\u003e\n    Angular example library that can serve as base project if you want to build your own library \n    \u003cbr\u003e\n    \u003ca href=\"https://github.com/Ismaestro/angular-example-library/issues/new?template=bug.md\"\u003eReport bug\u003c/a\u003e\n    ·\n    \u003ca href=\"https://github.com/Ismaestro/angular-example-library/issues/new?template=feature.md\u0026labels=feature\"\u003eRequest feature\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/p\u003e\n\n**Deprecated** This project is no longer maintained. If you want to create an angular library, check [this](https://github.com/angular/angular-cli/wiki/stories-create-library).\n\n## Table of contents\n\n- [Features](#features)\n- [Quick start](#quick-start)\n- [Bugs and feature requests](#bugs-and-feature-requests)\n- [Creators](#creators)\n- [Copyright and license](#copyright-and-license)\n\n## Features\n\n* Sample component, service, directive and pipe\n* Unit tests with Karma and Jasmine\n* Playground with Angular CLI to test the library in a 'real application'\n* Linting\n* Automatic versioning\n* Documentation\n\n## Quick start\n\n**Warning: we strongly recommend node \u003e=v6.9.0 and npm \u003e=3.0.0**\n\n`npm i` - Installs project modules\n\n`npm run install-all` - Installs project modules and playground modules\n\n`npm run clean` - Removes every generated folder\n\n`npm run build` - Builds the library using gulp\n\n`npm run build:watch` - Builds the library using gulp waiting for changes\n\n`npm run docs` - Generates all the documentation\n\n`npm start` - Runs the playground and the build process waiting for changes\n\n`npm run link` - Links the library folder in order to use it in the playground with npm link\n\n`npm run playground` - Runs the playground (maybe you have to use sudo or have permissions)\n\n`npm run test` - Runs the tests with karma and jasmine\n\n`npm run test:watch` - Runs the tests with karma and jasmine waiting for changes\n\n`npm run lint` - Runs the linter\n\nModify this project and make your own angular library:\n\nJust in three steps:\n\n1. Rename every occurrence of 'angular-example-library' to 'your-library-name'.\n2. Modify src folder according to your need.\n3. `npm run build`\n\nTo release a new version of this library and publish it to npm, run:\n\n```bash\n$ npm run release\n```\n\nRemember to login in npm. The script (release.sh) will publish your dist folder.\n\nOnce you have published your library to npm, you can import your library in any Angular application by running:\n\n```bash\n$ npm install your-library-name\n```\n\nand then from your Angular `AppModule`:\n\n```typescript\nimport { BrowserModule } from '@angular/platform-browser';\nimport { NgModule } from '@angular/core';\nimport { AppComponent } from './app.component';\n\n// Import your library\nimport { YourLibraryModule } from 'your-library-name';\n\n@NgModule({\n  declarations: [\n    AppComponent\n  ],\n  imports: [\n    BrowserModule,\n\n    // Specify your library as an import\n    YourLibraryModule.forRoot()\n  ],\n  providers: [],\n  bootstrap: [AppComponent]\n})\nexport class AppModule {\n}\n```\n\nOnce your library is imported, you can use its components, directives and pipes in your Angular application.\n\n## Bugs and feature requests\n\nHave a bug or a feature request? Please first read the [issue guidelines](https://github.com/Ismaestro/angular-example-library/blob/master/CONTRIBUTING.md) and search for existing and closed issues. If your problem or idea is not addressed yet, [please open a new issue](https://github.com/Ismaestro/angular-example-library/issues/new).\n\n## Creators\n\n**Ismael Ramos**\n\n- \u003chttps://github.com/ismaestro\u003e\n\n\u003ca href='https://ko-fi.com/S6S5LMVR' target='_blank'\u003e\u003cimg height='36' style='border:0px;height:36px;' src='https://az743702.vo.msecnd.net/cdn/kofi4.png?v=0' border='0' alt='Buy Me a Coffee at ko-fi.com' /\u003e\u003c/a\u003e\n\n## Copyright and license\n\nCode and documentation copyright 2011-2018 the authors. Code released under the [MIT License](https://github.com/Ismaestro/angular-example-library/blob/master/LICENSE).\n\nEnjoy :metal:\n\n","funding_links":["https://ko-fi.com/S6S5LMVR'"],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fismaestro%2Fangular-example-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fismaestro%2Fangular-example-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fismaestro%2Fangular-example-library/lists"}