is-date-object
react-nice-dates
is-date-object | react-nice-dates | |
---|---|---|
1 | 1 | |
14 | 1,101 | |
- | - | |
3.2 | 0.0 | |
over 1 year ago | about 1 year ago | |
JavaScript | JavaScript | |
MIT License | MIT License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
is-date-object
-
Vendor by Default (2021)
I think that this approach would cut down the amount of JS dependencies significantly. Things like is-even and is-odd come to mind. You don't want another leftpad or colors.js to happen to you and minimising dependencies is the most effective strategy to accomplish that.
So many leaf dependencies I've looked into are no more than a Stackoverflow answer in a JS file accompanied by six or seven metadata files (package.json + typescript files + linter config + readme + git config + ...). This file: https://github.com/i-voted-for-trump/is-odd/blob/master/inde... is downloaded over 400000 times per week (https://www.npmjs.com/package/is-odd) and while I don't have anythimg against the author for publishing a helpers function, I don't see why I would expose my project to risking a supply chain attack for something so minor. Here's another, with millions of downloads: https://github.com/inspect-js/is-date-object/blob/main/index...
I know that these are all downloaded so ofyen because theyre dependencies of dependencies but I'd appreciate it if bigger libraries would provide a vendored version of their packages that just collects these microdependencies instead of wasting npm's time by making it manage these tiny helper files. Don't vendor stuff like React or Vue or whatever framework you prefer but for the love of God don't add a dependency for 50 lines of code. Sometimes copy/paste is the right solution.
react-nice-dates
-
Help with daterangepicker
I tried going with https://reactnicedates.hernansartorio.com/ but did not have much success yet.
What are some alternatives?
tailwind-react-datepicker - React-datepicker styled with Tailwind CSS. Not a package.
react-datepicker2 - react datepicker component.(include persian jalaali calendar)
react-timezone-select - 🌐 An extremely usable and dynamic React timezone selector
react-date-picker - A date picker for your React app.
date-range-picker - ⚛️📆 Flexible React date range picker calendar with no dependencies.
react-simple-timefield - Simple React time input field
mantine - A fully featured React components library
r-date-picker - Base on react high customize date picker component
react-datepicker - A simple and reusable datepicker component for React
react-calendar - Ultimate calendar for your React app.
server-date - Make the server's clock available in the browser.
react-triple-toggle - React multi toggle component