speed-to-percentage
TypeScript icon, indicating that this package has built-in type declarations

1.2.1 • Public • Published

release license maintainability coverage snyk

Convert the audio playback speed to percentage.

Normal playback speed is 1, meaning the audio is played at the normal speed.

🚀 Use

yarn add speed-to-percentage

Example

import speedToPercentage from 'speed-to-percentage'

const half = speedToPercentage(0.5) // returns the string -50
const moreDigits = speedToPercentage(0.5, 2) // returns the string -50.00

Package Sidebar

Install

npm i speed-to-percentage

Weekly Downloads

33

Version

1.2.1

License

MIT

Unpacked Size

6.79 kB

Total Files

6

Last publish

Collaborators

  • bamdadsabbagh