Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sokeio/datepr
https://github.com/sokeio/datepr
Last synced: 5 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/sokeio/datepr
- Owner: sokeio
- License: mit
- Created: 2024-04-22T02:20:31.000Z (7 months ago)
- Default Branch: main
- Last Pushed: 2024-04-22T03:24:37.000Z (7 months ago)
- Last Synced: 2024-10-31T00:21:26.754Z (13 days ago)
- Language: TypeScript
- Size: 187 KB
- Stars: 0
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
## datepr - javascript datetime picker
[![Actions Status](https://github.com/sokeio/datepr/workflows/GitHub%20Actions/badge.svg)](https://github.com/sokeio/datepr/actions)[![Coverage](https://coveralls.io/repos/github/sokeio/datepr/badge.svg?branch=master)](https://coveralls.io/github/sokeio/datepr)
[![npm version](https://badge.fury.io/js/datepr.svg)](https://www.npmjs.com/package/datepr)
[![CDNJS](https://img.shields.io/cdnjs/v/datepr.svg)](https://cdnjs.com/libraries/datepr)
[![License](https://img.shields.io/badge/license-MIT-blue.svg?style=plastic)](https://raw.githubusercontent.com/datepr/datepr/master/LICENSE.md)![blue](https://cloud.githubusercontent.com/assets/11352152/14549371/3cbb65da-028d-11e6-976d-a6f63f32061f.PNG)
![green](https://cloud.githubusercontent.com/assets/11352152/14549373/3cbe975a-028d-11e6-9192-43975f0146da.PNG)
![confetti](https://cloud.githubusercontent.com/assets/11352152/14549440/de9bf55e-028d-11e6-9271-46782a99efea.PNG)
![red](https://cloud.githubusercontent.com/assets/11352152/14549374/3cc01102-028d-11e6-9ff4-0cf208a310c4.PNG)
![default](https://cloud.githubusercontent.com/assets/11352152/14549370/3cadb750-028d-11e6-818d-c6a1bc6349fc.PNG)
![dark](https://cloud.githubusercontent.com/assets/11352152/14549372/3cbc8514-028d-11e6-8daf-ec1ba01c9d7e.PNG)## Motivation
Almost every large SPA or project involves date and time input. Browser's native implementations of those are inconsistent and limited in functionality. Most other libraries require you to pull in heavy dependencies like jQuery, Bootstrap, and moment.js. I wanted something that was good-looking out of the box, dependency-free, powerful, and extensible.Feature overview:
- Dependency-free (no bloated bundles)
- Simple, polished UX
- Date + time input
- Range selections
- Ability to select multiple dates
- Can be used as just a time picker
- Display dates in a human-friendly format
- Easily disable specific dates, date ranges, or any date using arbitrary logic
- Week numbers
- 51 locales
- 8 colorful themes (incl. dark and material)
- Numerous plugins
- Libraries available for React, Angular, Vue, Ember, and more![](https://user-images.githubusercontent.com/11352152/36033089-f37dc1d0-0d7d-11e8-8ec4-c7a56d1ff92e.png)
datepr provides more functionality at a fraction of the size of other libraries.
## Compatibility
IE9 and up, Edge, iOS Safari 6+, Chrome 8+, Firefox 6+## Install & Use
Demos and documentation: https://datepr.js.org
## Supporting datepr
datepr will never change its license, pester users for donations, or engage in other user-hostile behavior.
# MIT License