@universalstandard/step-scale

1.0.0 • Public • Published

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

Readme

Keywords

none

Package Sidebar

Install

npm i @universalstandard/step-scale

Weekly Downloads

2

Version

1.0.0

License

MIT

Unpacked Size

2.63 kB

Total Files

7

Last publish

Collaborators

  • justinmetros
  • corysimmons