Nachos Preventing Motivation

    @nanomatic/mikrotik
    TypeScript icon, indicating that this package has built-in type declarations

    1.0.7 • Public • Published

    Mikrotik library

    @nanomatic/mikrotik

    Status License


    API for the MikroTik router.

    📝 Table of Contents

    🏁 Getting Started

    Installing

    npm i @nanomatic/mikrotik
    

    Using

    Example code below:

    import MikroTik from '@nanomatic/mikrotik';
    
    try {
        new MikroTik('192.168.1.1', 'api_user', 'api_pass', {
            refreshTime: 5000,
            onRefresh: console.log
        });
    } catch(error: any) {
        console.log(error);
    }
    
    // const router = new MikroTik('192.168.1.1', 'api_user', 'api_pass', {
    //     refreshTime: 5000
    // });
    
    // setInterval(() => router.refresh().then(console.log), 1000);

    ⛏️ Built With

    📦 Dependencies

    • mikrotik - Full-Featured asynchronous Mikrotik API interface

    ✍️ Authors

    Install

    npm i @nanomatic/mikrotik

    Homepage

    nanomatic.pl

    DownloadsWeekly Downloads

    3

    Version

    1.0.7

    License

    MIT

    Unpacked Size

    61.1 kB

    Total Files

    10

    Last publish

    Collaborators

    • nano_matic