{"id":21669018,"url":"https://github.com/ajaymarathe/angular-package-the-library","last_synced_at":"2026-04-16T10:35:17.048Z","repository":{"id":98905695,"uuid":"212962962","full_name":"ajaymarathe/angular-package-the-library","owner":"ajaymarathe","description":"Hi there, this this small snippets to learn about Angular package the library :)","archived":false,"fork":false,"pushed_at":"2020-01-23T07:24:26.000Z","size":5,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-13T19:04:21.433Z","etag":null,"topics":["angular","angular-package","angular-package-library","angular-package-the-library","library"],"latest_commit_sha":null,"homepage":null,"language":null,"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/ajaymarathe.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":"2019-10-05T07:47:20.000Z","updated_at":"2020-01-23T07:24:28.000Z","dependencies_parsed_at":null,"dependency_job_id":"72d6fb61-6877-4b68-9c9d-dc511ae3cf99","html_url":"https://github.com/ajaymarathe/angular-package-the-library","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/ajaymarathe/angular-package-the-library","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaymarathe%2Fangular-package-the-library","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaymarathe%2Fangular-package-the-library/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaymarathe%2Fangular-package-the-library/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaymarathe%2Fangular-package-the-library/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ajaymarathe","download_url":"https://codeload.github.com/ajaymarathe/angular-package-the-library/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ajaymarathe%2Fangular-package-the-library/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31882619,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-16T09:23:21.276Z","status":"ssl_error","status_checked_at":"2026-04-16T09:23:15.028Z","response_time":69,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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-package","angular-package-library","angular-package-the-library","library"],"created_at":"2024-11-25T12:18:34.354Z","updated_at":"2026-04-16T10:35:17.029Z","avatar_url":"https://github.com/ajaymarathe.png","language":null,"funding_links":[],"categories":[],"sub_categories":[],"readme":"# angular-package-library\nHi there, this this small snippets to learn about Angular package the library :)\n\n1) first create blank angualr project `ng new demo --createApplication=false`\n2) hit this command to create lib - `ng generate library my-lib`\n\n3) then it will create library inside project directory -\u003e inside library delete all files expect `my-lib.module.ts` file, then create following files - \n\n```js \nmy-lib.component.ts\nmy-lib.component.scss\nmy-lib.component.html\nmy-lib.component.spec.ts\n//my-lib.module.ts\n```\n\n4) work on functionality that whatever you want do with above files after that you have to build your project - so hit followsing commands -\n```js\nng build my-lib\n```\nit will create following directory -\n```js\n\ndist/\u003clibrary-name\u003e\n\n```\n\n5) Publishing your library to NPM\n\n```js\nng build my-lib\ncd dist/my-lib\nnpm publish\n```\n\n6) You can build, test, and lint the project with CLI commands:\n\n  ```js\nng build my-lib\nng test my-lib\nng lint my-lib\n  ```\n\n7) Reference links - https://youtu.be/l3wjN4datGs\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajaymarathe%2Fangular-package-the-library","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fajaymarathe%2Fangular-package-the-library","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fajaymarathe%2Fangular-package-the-library/lists"}