|25 days ago||14 days ago|
|MIT License||GNU General Public License v3.0 or later|
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.
JS Date: The Timezone Tantrum
3 projects | dev.to | 14 Nov 2023
We could control the DST flip by setting the test's input time to the appropriate time of year (summer/winter). However we couldn't control the timezone. We had to adjust the expected data in the test 🤢 using the same library which the production code used (momentjs).
is there a date calculate script/libary ?
Top 10 "Must Have" Repositories for Web Developers
6 projects | dev.to | 11 Jul 2023
You don't need zero JS website for a perfect Lighthouse score
4 projects | dev.to | 9 May 2023
This may sound a bit general but we can't forget about well-tought code. If we are using a lot of external dependencies, we can check if there aren't many lighter alternatives. Example? Some people are still using moment.js for date formatting. Why not use a lightweight 2kb alternative instead? Writing clean, organized and maintainable code won't give us a huge score boost but we are trying to save every byte of data, right? 😉
Everything you need to know about Temporal Date API
2 projects | dev.to | 18 Feb 2023
one of my coworkers criticised me for using too shiny libraries.
3 projects | /r/reactjs | 29 Jan 2023
moment was put into maintenance mode in 2020 and has gained 7 million weekly downloads to 19 million/week since then.
20 Best Libraries and Tools for React Developers
11 projects | dev.to | 25 Jan 2023
3 projects | dev.to | 2 Jan 2023
13 projects | dev.to | 27 Dec 2022
It allows users to create tasks, change their schedule and duration with drag-and-drop, add dependency lines, and review extra information on tasks via tooltips. You can add multiple timescales to the chart. The list of possible options includes Quarter Day, Half Day, Full Day, Week, and Month. There are also some customization opportunities such as changing the tooltip content with custom HTML, modifying the appearance of task bars and dependency lines, and setting the default timescale. It should be noted that Frappe Gantt has two dependencies: momentjs and snapsvg.
Need to calculate time passed between two dates HELP!
https://momentjs.com/ is a useful library for this exact thing.
8 projects | dev.to | 24 Oct 2023
Lodash just declared issue bankruptcy and closed every issue and open PR
I don't think isEmpty is O(n) except in the case where the object is a prototype - I assume that's one of those weird JS edge cases - otherwise it does what you expect, which is to iterate with a for-in loop and return on the first iteration, so it is O(1).
lodash/fp is an optional distribution of lodash that did what the core library did, but did so in a more flexible, powerful, composeable way that makes it easier to construct powerful functions. it was separate from the core, but based heavily on it. https://github.com/lodash/lodash/wiki/FP-Guide
at the time, nothing was settled. we were in a pioneering mode of building; we didn't know what people would find useful or what the future would hold. there were a lot of different ideas floating around, and lodash was trying to stay the same while also offer a port to this barely-subtly-different paradigm, to see what value might be found there. saying that "introduced" it feels like a crude reduction to me; he allowed people the option they asked for.
i personally think fp - in particular - "pointsfree" fp - has huge down sides to being understandable. but it also is a much more succinct and capable way of expressing things, and multiple times a week i run into situations where auto-currying or reverse args would make the code i write much cleaner & not damage code comprehension.
rather than call fp a fad, & insult the author for ever letting it in, i think there's room to say that it's sad that js had to stay on the lowest common denominator. the future was unable to be changed, the old ways stuck. we lost some really good opportunity & capabilities. that said, i still think the pointsfree style is hugely damaging & responsible for greatly reducing the chances we had to improve. instead, we're not "moving on", we're going back to square 1, to the only thing we've ever known or done. that makes me a little sad, to have the pioneering pack up & move back into the city.
The bigger news is that Lodash is migrating from Node.js to Bun: https://github.com/lodash/lodash/commit/97d4a2fe193a66f5f96d...
There’s more discussion in this issue:
Frankly I commend the author. If you’re maintaining one of the most used open source packages, I think it must be overwhelming to get so much feedback. Realistically a team of 4 people probably working full time could manage a package like that and it seems like it’s just one guys side project.
They tagged 363 issues with "issue bankruptcy" and closed them: https://github.com/lodash/lodash/issues?q=is%3Aissue+is%3Acl...
Same for 325 PRs: https://github.com/lodash/lodash/pulls?q=is%3Apr+is%3Aclosed...
Hey! Thanks for sharing. I just want to point out that there are some tried and tested libraries out there that solve some of these problems already. You should check out `lodash`(https://lodash.com/) if you haven't already. Also, there is an array method called `splice` that could improve your implementation of `insert` at first glance.
How to kickstart automated test suite when there are 0 tests written and the codebase is already huge
4 projects | dev.to | 29 Jun 2023
Alright, now that I’ve got your interest piqued, let’s delve into the real stuff – tangible examples of Pythagora in action. For the purpose of our demonstration, we selected a well-known open source project, Lodash.
20 Essential Parts Of Any Large Scale React App
15 projects | dev.to | 2 Jun 2023
lodash : Data manipulation
5 projects | dev.to | 21 Apr 2023
What are some alternatives?
dayjs - ⏰ Day.js 2kB immutable date-time library alternative to Moment.js with the same modern API
moment-timezone - Timezone support for moment.js
dateformat - A node.js package for Steven Levithan's excellent dateFormat() function.
Luxon - ⏱ A library for working with dates and times in JS
timeago.js - :clock8: :hourglass: timeago.js is a tiny(2.0 kb) library used to format date with `*** time ago` statement.
lazy.js - Like Underscore, but lazier