imux
Version:
Node.js integration with MIT-xperts iMux Multiplexer
39 lines (26 loc) • 675 B
Markdown
A Node.js module for acessing the [MIT-xperts iMux Multiplexer](http://www.mit-xperts.com/products/imux/)
- mime
- request
- request-promise
```bash
npm i imux
```
```javascript
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();
};
```
[][0]
MIT
[]: https://github.com/jonathas