nuǝɯ pǝɥsᴉꞁod mǝu

    yukikaze
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.0 • Public • Published

    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/

    Install

    npm i yukikaze

    DownloadsWeekly Downloads

    16

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    10.9 kB

    Total Files

    6

    Last publish

    Collaborators

    • kurozero