{"id":16490413,"url":"https://github.com/yuthelloworld/calendar","last_synced_at":"2025-03-23T12:34:38.232Z","repository":{"id":57393817,"uuid":"103670856","full_name":"YutHelloWorld/calendar","owner":"YutHelloWorld","description":"📅    A lightweight calendar build with react.","archived":false,"fork":false,"pushed_at":"2018-05-31T08:57:24.000Z","size":2060,"stargazers_count":13,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-18T20:40:41.108Z","etag":null,"topics":["calendar","react"],"latest_commit_sha":null,"homepage":"https://yuthelloworld.github.io/calendar/","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/YutHelloWorld.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}},"created_at":"2017-09-15T15:10:25.000Z","updated_at":"2023-05-30T10:08:48.000Z","dependencies_parsed_at":"2022-08-27T09:30:18.210Z","dependency_job_id":null,"html_url":"https://github.com/YutHelloWorld/calendar","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YutHelloWorld%2Fcalendar","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YutHelloWorld%2Fcalendar/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YutHelloWorld%2Fcalendar/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/YutHelloWorld%2Fcalendar/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/YutHelloWorld","download_url":"https://codeload.github.com/YutHelloWorld/calendar/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":245104460,"owners_count":20561377,"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":["calendar","react"],"created_at":"2024-10-11T13:47:56.924Z","updated_at":"2025-03-23T12:34:37.618Z","avatar_url":"https://github.com/YutHelloWorld.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# vortex-calendar\n\n[![NPM version][npm-image]][npm-url]\n[![build status][travis-image]][travis-url]\n[![node version][node-image]][node-url]\n[![npm download][download-image]][download-url]\n[![npm license][license-image]][license-url]\n\n[npm-image]: https://img.shields.io/npm/v/vortex-calendar.svg?style=flat-square\n[npm-url]: https://npmjs.org/package/vortex-calendar\n[travis-image]: https://img.shields.io/travis/YutHelloWorld/calendar.svg?style=flat-square\n[travis-url]: https://travis-ci.org/YutHelloWorld/calendar\n[node-image]: https://img.shields.io/badge/node.js-%3E=_6.11-green.svg?style=flat-square\n[node-url]: http://nodejs.org/download/\n[download-image]: https://img.shields.io/npm/dm/vortex-calendar.svg?style=flat-square\n[download-url]: https://npmjs.org/package/vortex-calendar\n[license-image]: https://img.shields.io/github/license/mashape/apistatus.svg?style=flat-square\n[license-url]: https://github.com/YutHelloWorld/calendar/blob/master/LICENSE\nA light calendar 📅 . (gzipped: 2.45K)\n\n![](./.Github/calendar.gif)\n\n👉 [Online](https://yuthelloworld.github.io/calendar/)\n\n## Installation\n\n\n```bash\n# npm install vortex-calendar\nyarn add vortex-calendar\n```\n\n## Usage\n\n```JS\nimport Calendar from 'vortex-calendar'\nimport React from 'react'\nimport {render} from 'react-dom'\n\nconst MOUNT_NODE = document.getElementById('root')\nrender(\u003cCalendar\n  minDate=\"2017-06-01\"\n  locale=\"zh\"\n  onSelect={(v) =\u003e console.log(v)}\n/\u003e, MOUNT_NODE)\n```\n\n## Prop Types\n\n|Property|Type|Default|Description|\n|:---:|:---:|:---:|:---:|\n|minDate|String ('YYYY-MM-DD')| | The minimum date that is selectable|\n|maxDate|String ('YYYY-MM-DD')| | The maximum date that is selectable|\n|onSelect|Function| | Callback invoked after date select|\n|locale|String| 'en'| By default, calendar comes with the English locale.\u003cbr\u003eYou can set 'zh' for Chinese.|\n\n## Contributing\n\n- Clone this repository.\n\n  ```bash\n  git clone https://github.com/YutHelloWorld/calendar.git \u003cyour project name\u003e\n  cd \u003cyour project name\u003e\n  ```\n\n- Install all dependencies by `yarn` or `npm i`.Then code in `./src`.\n\n- Run `yarn build` \u0026\u0026 `yarn start` to see changes with demo.\n\n- Pull your request.\n\n## License\n\nThe MIT License.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuthelloworld%2Fcalendar","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fyuthelloworld%2Fcalendar","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fyuthelloworld%2Fcalendar/lists"}