Nervous Penpal Message

    imux

    0.0.5 • Public • Published

    imux

    A Node.js module for acessing the MIT-xperts iMux Multiplexer

    Dependencies

    • mime
    • request
    • request-promise

    Installation

      npm i imux

    Usage

    import * as iMux from "imux";
     
    const sendZipFile = async (zipPath) => {
        // An example of API base would be: https://172.12.75.139/imux/api/api.php
        await iMux.login(process.env.IMUX_API_BASE, process.env.IMUX_USER, process.env.IMUX_PASSWORD);
        await iMux.uploadZipFile(1, zipPath, true);
        await iMux.activate();
        await iMux.logoff();
    };

    Maintainer

    Jon Ribeiro

    License

    MIT

    Install

    npm i imux

    DownloadsWeekly Downloads

    3

    Version

    0.0.5

    License

    MIT

    Unpacked Size

    12.6 kB

    Total Files

    8

    Last publish

    Collaborators

    • jonathas