# @types/modularscale

> TypeScript definitions for modularscale

Latest version **2.0.3** (published 2023-11-07) · MIT license · 0 weekly downloads

## Install

```sh
npm install @types/modularscale
pnpm add @types/modularscale
yarn add @types/modularscale
bun add @types/modularscale
```

## Health

**Score 45/100 (D)** — status: abandoned.

Positive: has types; no vulnerabilities; high maintenance score; popular repo; extremely popular.

Warnings: low downloads; no esm support.

Negative: abandoned.

## Facts

| | |
|---|---|
| Version | 2.0.3 |
| Published | 2023-11-07 |
| First published | 2020-05-14 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | bundled |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 3.7 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 51445 |
| Maintainers | types |

## Links

- npm: https://www.npmjs.com/package/@types/modularscale
- Repository: https://github.com/DefinitelyTyped/DefinitelyTyped
- Homepage: https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/modularscale
- npm.io page: https://npm.io/package/@types/modularscale

## Recent versions

- 2.0.3 (latest) — 2023-11-07
- 2.0.0 (ts3.0) — 2020-05-14
- 2.0.2 — 2023-10-18
- 2.0.1 — 2023-09-27

## README

# Installation
> `npm install --save @types/modularscale`

# Summary
This package contains type definitions for modularscale (https://github.com/KyleAMathews/modularscale).

# Details
Files were exported from https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/modularscale.
## [index.d.ts](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/master/types/modularscale/index.d.ts)
````ts
export = modularscale;

declare function modularscale(value: number, ratio?: number | modularscale.RatioLiteral): number;

declare namespace modularscale {
    type RatioLiteral =
        | "minor second"
        | "major second"
        | "minor third"
        | "major third"
        | "augmented fourth"
        | "perfect fifth"
        | "minor sixth"
        | "golden"
        | "phi"
        | "major sixth"
        | "minor seventh"
        | "major seventh"
        | "octave"
        | "major tenth"
        | "major eleventh"
        | "major twelfth"
        | "double octave";
}

````

### Additional Details
 * Last updated: Tue, 07 Nov 2023 09:09:39 GMT
 * Dependencies: none

# Credits
These definitions were written by [Cyril CHAPON](https://github.com/cyrilchapon).

---
_Source: https://npm.io/package/@types/modularscale · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
