1.0.25 • Published 4 years ago

@okiba/easings v1.0.25

Weekly downloads
5
License
MIT
Repository
github
Last release
4 years ago

Okiba / easings

Collection of easings to alter a value

__

import {easeInQuad} from '@okiba/easings'
const easedProgress = easeInQuad(progress)

Installation

npm i --save @okiba/easings

Or import it directly in the browser

<script type="module" src="https://unpkg.com/@okiba/easings/index.js"></script>

Usage

import easings from '@okiba/easings'

Untranspiled code 🛑

Okiba Core packages are not transpiled, so don't forget to transpile them with your favourite bundler. For example, using Babel with Webpack, you should prevent imports from okiba to be excluded from transpilation, like follows:

{
  test: /\.js$/,
  exclude: /node_modules\/(?!(@okiba)\/).*/,
  use: {
    loader: 'babel-loader',
    options: {
      presets: ['@babel/preset-env']
    }
  }
}
1.0.25

4 years ago

1.0.24

4 years ago

1.0.19

4 years ago

1.0.22

4 years ago

1.0.21

4 years ago

1.0.20

4 years ago

1.0.23

4 years ago

1.0.18

4 years ago

1.0.17

4 years ago

1.0.16

4 years ago

1.0.15

4 years ago

1.0.14

4 years ago

1.0.13

4 years ago

1.0.12

4 years ago

1.0.11

4 years ago

1.0.9

5 years ago

1.0.8

5 years ago

1.0.7

5 years ago

1.0.4

5 years ago

1.0.2

5 years ago

1.0.0

5 years ago

0.0.9

6 years ago

0.0.7

6 years ago

0.0.6

6 years ago