xmx

0.1.1 • Public • Published

XMX

An extensible multiplexing expression library.

Installation

Use npm. It's easy!

npm install xmx

Usage

Everything is based on using the XMX object from the 'xmx' module:

XMX = require('xmx').XMX;

You can set/get global options using XMX.options.get and XMX.options.set respetively. For instance, let's set a global free-form option called example:

XMX.options.set('@example', 1);

You can get lists of clients, sessions, windows, or panes and some interesting info about them like so:

promise = XMX.getSessions();

promise.done(function (sessions) {
    console.dir(sessions);
});

You can read me about the promise library that XMX uses at it's GitHub page.

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.1.1
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.1.1
    1
  • 0.1.0
    1

Package Sidebar

Install

npm i xmx

Weekly Downloads

2

Version

0.1.1

License

MIT

Last publish

Collaborators

  • monokrome