{"_id":"@benjamindehli/midi-notes-to-chords","_rev":"5-34ba3fcb3b784b63a34a10f9364dd771","name":"@benjamindehli/midi-notes-to-chords","dist-tags":{"latest":"1.1.0"},"versions":{"1.0.4":{"name":"@benjamindehli/midi-notes-to-chords","version":"1.0.4","_id":"@benjamindehli/midi-notes-to-chords@1.0.4","maintainers":[{"name":"benjamindehli","email":"superelg@gmail.com"}],"dist":{"shasum":"14a4efaedb54ee5585ff8b512d6b603d9dc333e0","tarball":"https://registry.npmjs.org/@benjamindehli/midi-notes-to-chords/-/midi-notes-to-chords-1.0.4.tgz","fileCount":7,"integrity":"sha512-wJRr1uzcz+POf+kSVa/c304WP4mMDQks+R+Nu2exWVy3X2+o4glCxZrY0pBCI5EiXTPS4J1xuGi94fFA5FUBxw==","signatures":[{"sig":"MEUCIGDpLTPJ3Z87bMS5epV71SD4/MPJsOc0qabaGx/1la7CAiEAw6MdjfuZGt5H5P+aQxxzdIav543gjq9HtB6fms8OYPg=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":120516},"jest":{"transform":{"^.+\\.js$":"babel-jest"}},"main":"./dist/index.cjs","type":"module","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"gitHead":"b052e8f208a191340b886ac3706a46d8914af935","scripts":{"test":"jest","build":"tsup"},"_npmUser":{"name":"benjamindehli","email":"superelg@gmail.com"},"_npmVersion":"11.7.0","description":"A utility for identifying chords from selected MIDI note numbers.","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"jest":"^30.2.0","tsup":"^8.5.1","eslint":"^10.0.3","@eslint/js":"^10.0.1","babel-jest":"^30.2.0","typescript":"^5.9.3","@babel/core":"^7.29.0","@babel/preset-env":"^7.29.0","jest-environment-jsdom":"^30.2.0"},"_npmOperationalInternal":{"tmp":"tmp/midi-notes-to-chords_1.0.4_1772915386721_0.25377751066447707","host":"s3://npm-registry-packages-npm-production"}},"1.0.6":{"name":"@benjamindehli/midi-notes-to-chords","version":"1.0.6","keywords":["javascript","midi"],"author":{"name":"Benjamin Dehli"},"_id":"@benjamindehli/midi-notes-to-chords@1.0.6","maintainers":[{"name":"benjamindehli","email":"superelg@gmail.com"}],"homepage":"https://github.com/benjamindehli/midi-notes-to-chords#readme","bugs":{"url":"https://github.com/benjamindehli/midi-notes-to-chords/issues"},"dist":{"shasum":"41b70474b184f4c504b466d62e6aa13c855846a3","tarball":"https://registry.npmjs.org/@benjamindehli/midi-notes-to-chords/-/midi-notes-to-chords-1.0.6.tgz","fileCount":7,"integrity":"sha512-/9bZ9kLiI9qxLFh8M7P3FO4FgbWGzgBz5g6hj7AaJ+mKJQhaAjUTkABdePbFOAiWihleycvUdYfP0YRuD5lhxQ==","signatures":[{"sig":"MEUCIQD/kHrhppfJdW0wjvi0F0MU0EpFlZgCSIMwyEJdv5HuswIga+kbMMwaADrSmp1bu5Wrkw8vX4WdJH5ppJQ2HdgTCi4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":121150},"jest":{"transform":{"^.+\\.js$":"babel-jest"}},"main":"./dist/index.cjs","type":"module","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":["https://ko-fi.com/benjamindehli","https://store.dehlimusikk.no/coffee"],"gitHead":"aba114390ec9f912d618ef01a40c5766cc32c7a7","scripts":{"test":"jest","build":"tsup"},"_npmUser":{"name":"benjamindehli","email":"superelg@gmail.com"},"repository":{"url":"git+https://github.com/benjamindehli/midi-notes-to-chords.git","type":"git"},"_npmVersion":"11.7.0","description":"Detect chord names from MIDI note input","directories":{},"sideEffects":false,"_nodeVersion":"22.14.0","publishConfig":{"access":"public"},"_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"jest":"^30.2.0","tsup":"^8.5.1","eslint":"^10.0.3","@eslint/js":"^10.0.1","babel-jest":"^30.2.0","typescript":"^5.9.3","@babel/core":"^7.29.0","@babel/preset-env":"^7.29.0","jest-environment-jsdom":"^30.2.0"},"_npmOperationalInternal":{"tmp":"tmp/midi-notes-to-chords_1.0.6_1772918183803_0.20170259204797647","host":"s3://npm-registry-packages-npm-production"}},"1.0.7":{"name":"@benjamindehli/midi-notes-to-chords","version":"1.0.7","keywords":["javascript","midi"],"author":{"name":"Benjamin Dehli"},"_id":"@benjamindehli/midi-notes-to-chords@1.0.7","maintainers":[{"name":"benjamindehli","email":"superelg@gmail.com"}],"homepage":"https://github.com/benjamindehli/midi-notes-to-chords#readme","bugs":{"url":"https://github.com/benjamindehli/midi-notes-to-chords/issues"},"dist":{"shasum":"6c59967f46f0da923cf0bb2a1b81ae6aca19e58b","tarball":"https://registry.npmjs.org/@benjamindehli/midi-notes-to-chords/-/midi-notes-to-chords-1.0.7.tgz","fileCount":7,"integrity":"sha512-KXHk18e6Ha32LCZPTqixiEElhk/pK1jaXG6dcBA3vFt6R9oRSqZywndzgUCmN4hKBAZYDD7FwJfyOTLdZEv+rw==","signatures":[{"sig":"MEQCIGIWBWAHkWvKjmEo+wyEv+0nlJQtu2j9hoYxDu1eqXFIAiBErVF2dW7xwecuMEUhqK3QsGix3lNujpAaIeSwcnXAQQ==","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@benjamindehli%2fmidi-notes-to-chords@1.0.7","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":112811},"jest":{"transform":{"^.+\\.js$":"babel-jest"}},"main":"./dist/index.cjs","type":"module","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":["https://ko-fi.com/benjamindehli","https://store.dehlimusikk.no/coffee"],"gitHead":"100a507a10b433d578ff509580d0faf50be1586f","scripts":{"test":"jest","build":"tsup"},"_npmUser":{"name":"benjamindehli","email":"superelg@gmail.com"},"repository":{"url":"git+https://github.com/benjamindehli/midi-notes-to-chords.git","type":"git"},"_npmVersion":"10.9.4","description":"Detect chord names from MIDI note input","directories":{},"sideEffects":false,"_nodeVersion":"22.22.0","_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"jest":"^30.2.0","tsup":"^8.5.1","eslint":"^10.0.3","@eslint/js":"^10.0.1","babel-jest":"^30.2.0","typescript":"^5.9.3","@babel/core":"^7.29.0","@babel/preset-env":"^7.29.0","jest-environment-jsdom":"^30.2.0"},"_npmOperationalInternal":{"tmp":"tmp/midi-notes-to-chords_1.0.7_1772931343247_0.7688976454676932","host":"s3://npm-registry-packages-npm-production"}},"1.1.0":{"name":"@benjamindehli/midi-notes-to-chords","version":"1.1.0","keywords":["javascript","midi"],"author":{"name":"Benjamin Dehli"},"_id":"@benjamindehli/midi-notes-to-chords@1.1.0","maintainers":[{"name":"benjamindehli","email":"superelg@gmail.com"}],"homepage":"https://github.com/benjamindehli/midi-notes-to-chords#readme","bugs":{"url":"https://github.com/benjamindehli/midi-notes-to-chords/issues"},"dist":{"shasum":"ee41915a3a060837901fe353059ca483b948a83e","tarball":"https://registry.npmjs.org/@benjamindehli/midi-notes-to-chords/-/midi-notes-to-chords-1.1.0.tgz","fileCount":7,"integrity":"sha512-QgcauRFhSndl1OdabLYiHnIVlzZI6o0wKyVrNxpZw82HROVg2rvRdCGMyy0RJieI17CDH2Rc98Vy6SbMmW3hPQ==","signatures":[{"sig":"MEUCIQCS/Gv+0Ok0wTdq2ZNI40skI0uZB2v/7ECQlLqKwMHGPgIgSZ6zHcg/U1vAK3Uh9oGXh0qrnOl8p+ph+DJXWeOpt74=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"attestations":{"url":"https://registry.npmjs.org/-/npm/v1/attestations/@benjamindehli%2fmidi-notes-to-chords@1.1.0","provenance":{"predicateType":"https://slsa.dev/provenance/v1"}},"unpackedSize":147000},"jest":{"transform":{"^.+\\.js$":"babel-jest"}},"main":"./dist/index.cjs","type":"module","module":"./dist/index.js","exports":{".":{"import":"./dist/index.js","require":"./dist/index.cjs"}},"funding":["https://ko-fi.com/benjamindehli","https://store.dehlimusikk.no/coffee"],"gitHead":"fe8baa38a6b326ab0623aadf1ed3f075bc52a57e","scripts":{"test":"jest","build":"tsup"},"_npmUser":{"name":"GitHub Actions","email":"npm-oidc-no-reply@github.com","trustedPublisher":{"id":"github","oidcConfigId":"oidc:7f406a9f-d015-47bb-81e6-0e52572f3a84"}},"repository":{"url":"git+https://github.com/benjamindehli/midi-notes-to-chords.git","type":"git"},"_npmVersion":"11.9.0","description":"Detect chord names from MIDI note input","directories":{},"sideEffects":false,"_nodeVersion":"24.14.0","_hasShrinkwrap":false,"packageManager":"yarn@4.5.0","devDependencies":{"jest":"^30.3.0","tsup":"^8.5.1","eslint":"^10.0.3","@eslint/js":"^10.0.1","babel-jest":"^30.3.0","typescript":"^5.9.3","@babel/core":"^7.29.0","@babel/preset-env":"^7.29.0","jest-environment-jsdom":"^30.3.0"},"_npmOperationalInternal":{"tmp":"tmp/midi-notes-to-chords_1.1.0_1773348684019_0.059864580620651475","host":"s3://npm-registry-packages-npm-production"},"deprecated":"This project has been renamed. Install using @benjamindehli/music-utils instead."}},"time":{"created":"2026-03-07T20:29:46.619Z","modified":"2026-03-15T12:14:22.030Z","1.0.4":"2026-03-07T20:29:46.871Z","1.0.6":"2026-03-07T21:16:23.962Z","1.0.7":"2026-03-08T00:55:43.405Z","1.1.0":"2026-03-12T20:51:24.177Z"},"bugs":{"url":"https://github.com/benjamindehli/midi-notes-to-chords/issues"},"author":{"name":"Benjamin Dehli"},"homepage":"https://github.com/benjamindehli/midi-notes-to-chords#readme","keywords":["javascript","midi"],"repository":{"url":"git+https://github.com/benjamindehli/midi-notes-to-chords.git","type":"git"},"description":"Detect chord names from MIDI note input","maintainers":[{"name":"benjamindehli","email":"superelg@gmail.com"}],"readme":"# midi-notes-to-chords\n\nA utility for identifying chords from selected MIDI note numbers.\n\n## Features\n\n- Detects chord names from MIDI note input\n- Supports a wide range of chord types and inversions\n- Returns chord matches with root note prioritization\n\n## Installation\n\n```bash\nnpm install midi-notes-to-chords\n```\n\n## Usage\n\n```js\nimport { getChordsFromSelectedNotes } from \"midi-notes-to-chords\";\n\nconst midiNotes = [60, 64, 67]; // C, E, G\nconst chords = getChordsFromSelectedNotes(midiNotes);\nconsole.log(chords);\n// Output: [{ root: \"C\", chord: \"major\" }, { root: \"E\", chord: \"m(#5)}]\n```\n","readmeFilename":"README.md"}