tonal
dayjs
Our great sponsors
tonal | dayjs | |
---|---|---|
11 | 97 | |
3,688 | 45,745 | |
26.0% | - | |
7.3 | 6.9 | |
5 days ago | 5 days ago | |
TypeScript | JavaScript | |
- | 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.
tonal
-
Tonal.js: Functional music theory lib
They're using objects, including arrays [1], so I think they would have been more precise to say that they're using objects and arrays as simple data structures rather than using OO features like inheritance and mutation.
[1] https://github.com/tonaljs/tonal/blob/main/packages/chord/in...
-
What is this scale called?
It's not on this list, but it's a cool list to check out either way
-
What is your must have npm package on any given project?
I'm working on a music project and both tonejs and tonal are incredible projects.
-
Coltrane: A music theory library with a command-line interface
Regarding the "Music Theory library" aspect, note that the CLI tool demonstrates use of the underlying Ruby library which has documentation here:
* https://github.com/pedrozath/coltrane/wiki/Core-music-theory...
Additionally, the author wrote a post about the motivation for creating the library but it's a little difficult to find via the (now broken) link in the README, so here is a direct link to the archived page on the Wayback Machine:
* https://web.archive.org/web/20170714063625/https://medium.co...
If anyone is interested in a similar music theory library for Javascript[0] I've had some success with this:
* Tonal / Tonal.js https://github.com/tonaljs/tonal
[0] Or, in a pinch, even with a Godot 4 web export as I did for my (very incomplete) "AI and Games" Game Jam entry: https://rancidbacon.itch.io/the-conductor (For reasons far too convoluted to go into now.)
-
Scales - Practise all of them, or just a few each day?
There are many hundreds of scale types, here's a list of many of them and that's just a single key. Let's say there's 200 scales times 12 for each key, that's 2400 times up and down the piano. There are actually much more than 200 scales though!
-
I want to use this module in my code but can't figure out how.
I found a module that is perfect for what I'm trying to create, (a simple piano that you can select keys on to find out which chord it gives), and am trying to use https://github.com/tonaljs/tonal .
-
Anyone know of a music theory library for C#?
Agree with the representation, you can really bury yourself in complexity if you're not careful. Have you taken a look at any of the JS libraries like tonal or MusicTheoryJS?
- Max 4 Live, or standalone Max 8?
-
Humble beginnings of my first open source npm package: The Music Builder
Here's how tonal.js does it: https://github.com/tonaljs/tonal/tree/master/packages
-
Do you want to learn music theory?
For the music theory stuff I'm using TonalJS along with my own extensions
dayjs
-
The Day.js Dilemma: How Should We Handle OSS Maintainers Going MIA?
As web developers, we heavily rely OSS packages. One popular example is Day.js, a JS lib for parsing, validating, manipulating, and formatting dates. It's a widely-used alternative to Moment, with over 17mil weekly downloads on npm.
A critical bug was discovered in Day.js (see: https://github.com/iamkun/dayjs/pull/2118) causing incorrect date manipulation (add, subtract) when in UTC TZ. This could have severe implications for any project relying on Day.js for date-related functionality. However, the maintainer of the project appears to be unresponsive, leaving the bug unresolved and the future of the library uncertain.
This raises some important questions for our community:
- At what point should we consider a widely-used OSS project "abandoned" if the maintainer is unresponsive?
- Is forking the project the best solution, or should we first try to reach out to the maintainer through other channels?
- Are there established community guidelines around responsiveness expectations for widely-used OSS projects?
- What are successful examples of community-driven forks or maintenance after a maintainer stepped away?
I am very aware that many of these developers give their spare time for free for these projects, with little or no payment, and I am very thankful for all their work. This developer does get some money (a small amount?) through OpenCollective, and possibly also works for a company (in China?) that makes a UI library, which I think uses Day.js internally.
-
JavaScript Libraries That You Should Know
11. DayJs
-
Best date library to handle timezones in React Native?
DayJS has issues with its timezone plugin not compatible with Hermes engine https://github.com/iamkun/dayjs/issues/1942
-
Everything you need to know about Date in Programming
Date.js
-
Complete Tutorial: React Admin Panel with refine and daisyUI
We have to install refine's support packages for React Table and React Hook Form. We are using Tailwind Heroicons for our icons, the Day.js library for time calculations and Recharts library to plot our charts for KPI data. So, run the following and we are good to go:
-
Managify: Manage Your Teams Easily
DayJS is a lightweight and fast JavaScript library for manipulating dates and times. It offers a moment.js-like API but with a much smaller footprint.
- is there a date calculate script/libary ?
-
What library do you use to handle dates?
I use Day.js in my projects.
-
Flash News App React Native (Expo^)
well, I haven't reviewed the code, I just checked package.json and I'll suggest you to ditch moment.js Even the creator recommends ditching it. dayjs is a fantastic alternative.
- How to show "Today/Tomorrow" or date using javascript?
What are some alternatives?
remeda - A utility library for JavaScript and TypeScript.
Luxon - ⏱ A library for working with dates and times in JS
html-midi-player - 🎹 Play and display MIDI files on the web
date-fns - ⏳ Modern JavaScript date utility library ⌛️
octave-compass - A tool for exploring musical scales and chords
moment - Parse, validate, manipulate, and display dates in javascript.
musescore-theory-plugins - A collection of MuseScore plugins that check species counterpoint, 4-part chorales, intervals, and chords and can automatically create interval and chord ID worksheets.
moment-timezone - Timezone support for moment.js
minimoon - Cross platform music player.
countdown.js - Super simple countdowns.
iter-ops-extras - Custom operators for iter-ops
proposal-temporal - Provides standard objects and functions for working with dates and times.