@fsngx/ease
TypeScript icon, indicating that this package has built-in type declarations

1.0.0 • Public • Published

@fsngx/ease

Animation easing functions written typescript.

Installation

npm i @fsngx/ease

Now open localhost:8080 and the typedoc can be seen.

Usage

TypeScript

import { Ease } from '@fsngx/ease';
let result:number = Ease.linearEase(10,10,100,100);
console.log("The linear ease value is: ", result);

Javascript

let Ease = require('@fsngx/ease').Ease;
let result:number = Ease.linearEase(10,10,100,100);
console.log("The linear ease value is: ", result);

Test

npm run test

Typedoc

From the root project directory run typedoc to generate the code documenation

npm i
npm run doc
npm i -g http-server
http-server doc

Dependencies (0)

    Dev Dependencies (7)

    Package Sidebar

    Install

    npm i @fsngx/ease

    Weekly Downloads

    3

    Version

    1.0.0

    License

    BSD-2-Clause

    Unpacked Size

    61 kB

    Total Files

    8

    Last publish

    Collaborators

    • ole.ersoy