JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 6
  • Score
    100M100P100Q33879F
  • License MIT

Collection of easing functions

Package Exports

  • @jgtools/easings
  • @jgtools/easings/dist/index.js

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (@jgtools/easings) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

Easings

npm npm GitHub

Collection of easing functions

Installation

Using npm

npm i @jgtools/easings
// import all functions using a namespace
import * as Easings from "@jgtools/easings";
// or import functions individually
import { outElastic } from "@jgtools/easings";
// ...

Using cdn

<script type="module">
    // import all functions using a namespace
    import * as Easings from "https://cdn.jsdelivr.net/npm/@jgtools/easings@2.0.5/dist/index.min.js";
    // or import functions individually
    import { outElastic } from "https://cdn.jsdelivr.net/npm/@jgtools/easings@2.0.5/dist/index.min.js";
    // ...
</script>

Usage

import { outElastic } from "@jgtools/easings";
const res = outElastic(0.5);

Easing functions cheat sheet:

https://easings.net/

License

MIT