1.0.0 • Published 4 years ago

yukikaze v1.0.0

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

Yukikaze

A modern Interval implementation in TypeScript

Browser

https://unpkg.com/yukikaze@{VERSION}/lib/index.min.js

<!DOCTYPE html>

<html lang="en">
    <head>
        <meta charset="UTF-8">
        <meta name="description" content="Timer">
        <meta name="keywords" content="HTML,JavaScript,Timer">
        <meta name="author" content="KurozeroPB">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Timer</title>
    </head>
    <body>
        <script src="https://unpkg.com/yukikaze@{VERSION}/lib/index.min.js"></script>
        <script lang="javascript">
            let i = 0;

            const interval = new Yukikaze();
            interval.run(() => console.log(i++), 2000);
        </script>
    </body>
</html>

Node

yarn add yukikaze or npm i --save yukikaze

const Yukikaze = require("yukikaze");

let i = 0;

const interval = new Yukikaze();
interval.run(() => console.log(i++), 2000);

Docs

https://kurozeropb.github.io/Yukikaze/

1.0.0

4 years ago

0.3.0

4 years ago

0.2.1

5 years ago

0.2.0

5 years ago

0.1.6

5 years ago

0.1.5

5 years ago

0.1.4

5 years ago

0.1.3

5 years ago

0.1.2

5 years ago

0.1.1

5 years ago

0.1.0

5 years ago