1.0.0 • Published 5 years ago
@universalstandard/step-scale v1.0.0
@universalstandard/step-scale
Finds the step increment between two numbers and returns an array using that increment for the number of steps.
yarn add @universalstandard/step-scale
import stepScale from '@universalstandard/step-scale'
stepScale(5, 10, 4)
// [5, 6.666666666666667, 8.333333333333334, 10]
1.0.0
5 years ago