@tonaljs/tonal
    TypeScript icon, indicating that this package has built-in type declarations

    4.6.5 • Public • Published

    @tonaljs/tonal tonal npm version

    @tonaljs/tonal

    Tonal library

    Install

    npm i --save @tonaljs/tonal
    # or
    yarn add @tonaljs/tonal

    Usage

    Import:

    // ES6
    import { Note, Key } from "@tonaljs/tonal";
    // node
    const { Note, Key } = require("@tonaljs/tonal");
    // browser
    const { Note, Key } = window.Tonal;

    Use:

    Note.transpose("A4", "5P");
    Key.majorKey("Gb");

    See README.md for documentation.

    Install

    npm i @tonaljs/tonal

    DownloadsWeekly Downloads

    442

    Version

    4.6.5

    License

    MIT

    Unpacked Size

    202 kB

    Total Files

    11

    Last publish

    Collaborators

    • danigb