Skip to content

Finds the step increment between two numbers and returns an array using that increment for the number of steps.

License

Notifications You must be signed in to change notification settings

UniversalStandard/step-scale

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@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]

About

Finds the step increment between two numbers and returns an array using that increment for the number of steps.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published