A JavaScript chord parser and formatter with TypeScript support. Version 1.2.2 provides utilities to parse chord strings (e.g., 'Cmaj7') into structured objects and format chord objects back to strings. Offers a simple API for music theory applications. No current release cadence information available. Differentiates itself by focusing on parsing and formatting rather than generation or playback.
npm install prjesus12dev-tonalityNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Parses a chord string into a structured object and formats a chord object back to a string.
Check the package source for supported chord types.
Input root as 'C#' or 'Bb' may cause errors; use enharmonic equivalents like 'Db'.
Search for more actively maintained alternatives.
Add "type": "module" to your package.json or use dynamic import().
Switch to import syntax or use a dynamic import: import('prjesus12dev-tonality').then(m => m.parseChord(...))Check the actual shape returned by parseChord and align your interface.
No dependency data recorded yet.