@musodojo/music-theory-data 20.1.0 → 20.1.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/README.md +14 -11
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,13 +1,22 @@
1
1
  # Muso Dojo | Music Theory Data
2
2
 
3
- **The musician-friendly TypeScript library for modes, scales, chords, and
3
+ **Empower your music applications with a comprehensive, type-safe, and
4
+ musician-friendly TypeScript/JavaScript library for modes, scales, chords, and
4
5
  more.**
5
6
 
7
+ [![npm version](https://img.shields.io/npm/v/@musodojo/music-theory-data.svg)](https://www.npmjs.com/package/@musodojo/music-theory-data)
8
+ [![npm downloads](https://img.shields.io/npm/dw/@musodojo/music-theory-data.svg)](https://www.npmjs.com/package/@musodojo/music-theory-data)
9
+
10
+ [![JSR score](https://jsr.io/badges/@musodojo/music-theory-data)](https://jsr.io/@musodojo/music-theory-data)
11
+
6
12
  ## Community & Support
7
13
 
8
14
  Have a question, a suggestion, or want to report a bug? Get in touch!
9
15
 
10
- - **💬 Ask a Question or Share an Idea:** Use
16
+ - **💬 Join our Discord Server:** Connect with other developers and music
17
+ enthusiasts in the `#music-theory-data` channel on Discord.
18
+
19
+ - **📢 Ask a Question or Share an Idea:** Use
11
20
  [GitHub Discussions](https://github.com/conor-dowdall/music-theory-data/discussions).
12
21
  - **🐞 Report a Bug or Flaw in the Data:** Open a
13
22
  [GitHub Issue](https://github.com/conor-dowdall/music-theory-data/issues).
@@ -44,13 +53,7 @@ const ionian: ModalScaleCollection = {
44
53
  rotation: 0,
45
54
  parentScale: "ionian",
46
55
  primaryName: "Major",
47
- names: [
48
- "Major",
49
- "Ionian",
50
- "Major Scale",
51
- "Ionian Mode",
52
- "Diatonic Major",
53
- ],
56
+ names: ["Major", "Ionian", "Major Scale", "Ionian Mode", "Diatonic Major"],
54
57
  intervals: ["1", "2", "3", "4", "5", "6", "7", "8"],
55
58
  integers: [0, 2, 4, 5, 7, 9, 11],
56
59
  type: [
@@ -162,11 +165,11 @@ console.log(ionian.primaryName);
162
165
  console.log(ionian.intervals);
163
166
  // ["1", "2", "3", "4", "5", "6", "7", "8"]
164
167
 
165
- // Log the array of all available Note Collection Keys
168
+ // Log an array of all available Note Collection Keys
166
169
  console.log(Object.keys(music_theory_data.noteCollections));
167
170
  // ["ionian", "dorian", "phrygian", ...]
168
171
 
169
- // Log the array of all available Grouped Note Collections Keys
172
+ // Log an array of all available Grouped Note Collections Keys
170
173
  console.log(Object.keys(music_theory_data.groupedNoteCollections));
171
174
  // ["diatonicModes", "pentatonicVariants", ...]
172
175
  ```
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@musodojo/music-theory-data",
3
- "version": "20.1.0",
3
+ "version": "20.1.2",
4
4
  "description": "The musician-friendly TypeScript library for modes, scales, chords, and more.",
5
5
  "keywords": [
6
6
  "music",