{"id":28426762,"url":"https://github.com/puttputt/ngx-moment-picker","last_synced_at":"2026-05-07T07:37:17.717Z","repository":{"id":38668212,"uuid":"215902135","full_name":"puttputt/ngx-moment-picker","owner":"puttputt","description":"An angular2+ port of angular-moment-picker","archived":false,"fork":false,"pushed_at":"2023-01-07T10:48:52.000Z","size":2106,"stargazers_count":2,"open_issues_count":36,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-05T11:40:34.321Z","etag":null,"topics":["angular2","angular8","datetimepicker","momentjs"],"latest_commit_sha":null,"homepage":null,"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/puttputt.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}},"created_at":"2019-10-17T23:20:09.000Z","updated_at":"2021-04-08T08:26:07.000Z","dependencies_parsed_at":"2023-02-06T23:15:47.256Z","dependency_job_id":null,"html_url":"https://github.com/puttputt/ngx-moment-picker","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/puttputt/ngx-moment-picker","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puttputt%2Fngx-moment-picker","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puttputt%2Fngx-moment-picker/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puttputt%2Fngx-moment-picker/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puttputt%2Fngx-moment-picker/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/puttputt","download_url":"https://codeload.github.com/puttputt/ngx-moment-picker/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/puttputt%2Fngx-moment-picker/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261685336,"owners_count":23194090,"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":["angular2","angular8","datetimepicker","momentjs"],"created_at":"2025-06-05T11:30:30.398Z","updated_at":"2026-05-07T07:37:12.671Z","avatar_url":"https://github.com/puttputt.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Ngx Moment Picker\n\nThis project is a port of popular angularJS picker, angular-moment-picker.\n\n## Installation\n\n```\nnpm install ngx-moment-picker\n```\n\n```\nimport { NgxMomentPickerModule } from 'ngx-moment-picker';\n\n@NgModule({\n    imports: [\n        NgxMomentPickerModule,\n    ],\n    declarations: [],\n    providers: [],\n})\nexport class YourModule {}\n```\n\n## Usage\n\n```html\n\u003cinput [value]=\"moment?.toString()\" (click)=\"picker.toggle()\"\u003e\n\n\u003cngx-moment-picker \n        [moment]=\"moment\"\n        [minview]=\"'year'\"\n        [maxview]=\"'date'\"\n        [startview]=\"'month'\"\n        [onlyupdateatend]=\"'true'\"\n        (changed)=\"changed($event)\" #ngxmomentpicker\u003e\u003c/ngx-moment-picker\u003e\n```\n\n```typescript\nexport class ExampleComponent {\n\n    public moment: moment.Moment;\n\n    @ViewChild('ngxmomentpicker', { static: false }) picker;\n\n    constructor() { }\n\n    public changed(event: moment.Moment) {\n        this.moment = event;\n    }\n}\n```\n\n## Development\n\n### Build\nincrement package.json version\n\nRun `ng build moment-picker` to build the project.\n\n## Publishing to NPM\n\n`cd dist/moment-picker`\n\n`npm publish`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fputtputt%2Fngx-moment-picker","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fputtputt%2Fngx-moment-picker","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fputtputt%2Fngx-moment-picker/lists"}