{"id":15448141,"url":"https://github.com/parikshit223933/custom-angular-pipes","last_synced_at":"2026-04-24T23:32:45.898Z","repository":{"id":65679328,"uuid":"597154828","full_name":"parikshit223933/custom-angular-pipes","owner":"parikshit223933","description":"A simple lightweight library exposing some very useful custom built pipes for angular projects.","archived":false,"fork":false,"pushed_at":"2023-02-06T04:26:59.000Z","size":1415,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-10-31T14:49:42.066Z","etag":null,"topics":["angular","angular-pipes","pipes"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/parikshit223933.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,"zenodo":null}},"created_at":"2023-02-03T18:47:37.000Z","updated_at":"2025-01-20T05:22:17.000Z","dependencies_parsed_at":"2023-02-18T11:07:07.346Z","dependency_job_id":null,"html_url":"https://github.com/parikshit223933/custom-angular-pipes","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"purl":"pkg:github/parikshit223933/custom-angular-pipes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parikshit223933%2Fcustom-angular-pipes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parikshit223933%2Fcustom-angular-pipes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parikshit223933%2Fcustom-angular-pipes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parikshit223933%2Fcustom-angular-pipes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/parikshit223933","download_url":"https://codeload.github.com/parikshit223933/custom-angular-pipes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/parikshit223933%2Fcustom-angular-pipes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32245148,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: 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-pipes","pipes"],"created_at":"2024-10-01T20:22:08.499Z","updated_at":"2026-04-24T23:32:45.880Z","avatar_url":"https://github.com/parikshit223933.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CustomAngularPipes\n\nA simple lightweight library exposing some very useful custom built pipes for angular projects.\n\n## Installation\n\nTo install this package, run the following command in your project:\n\n```shell\nnpm i ninjas-transforms\n```\n\n## Usage\nTo use this pipe in your Angular project, import the NinjasTransformsModule in your component's module:\n\n```ts\nimport {NinjasTransformsModule} from 'ninjas-transforms'\n```\n\nAll the pipes will be accessible to all the components declared by this module.\n\nFinally you can use this pipe in your template like this.\n\n```html\n{{ epochsInSeconds | duration }}\n```\n\n## Options\n\nThe duration pipe accepts the following options:\n\n- limitTo: Limits the duration to a specific entity (e.g. seconds, minutes, hours, etc.). Possible values are seconds, minutes, hours, days, weeks, months, and years.\n- shortHand: Determines whether the entity names are displayed in shorthand (e.g. s, m, h, etc.).\n- minDigits: Specifies the minimum number of digits to display for each entity.\n- showZero: Determines whether entities with a value of zero are displayed.\n- unitWithCapitalLetter: Specifies whether the first letter of the entity name is capitalized.\n- entityJoiner: Specifies the string used to join the individual entities.\n\nHere is an example of using the options:\n\n```html\n{{ epochsInSeconds | duration: 'hours': true: 2: false: true: '-' }}\n```\n\n## Contributing\nIf you find any bugs or have suggestions for improvements, please open an issue or a pull request on GitHub.\n\n## License\nThis project is licensed under the MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparikshit223933%2Fcustom-angular-pipes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fparikshit223933%2Fcustom-angular-pipes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fparikshit223933%2Fcustom-angular-pipes/lists"}