@universalstandard/step-scale
v1.0.0
Published
Finds the step increment between two numbers and returns an array using that increment for the number of steps.
Downloads
2
Readme
@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]