Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rumpl/nanybar

Control AnyBar from your node scripts
https://github.com/rumpl/nanybar

Last synced: 3 months ago
JSON representation

Control AnyBar from your node scripts

Awesome Lists containing this project

README

        

# nanybar

Control [AnyBar](https://github.com/tonsky/AnyBar) from the command line or from your javascript code

## Install

**You must have [AnyBar](https://github.com/tonsky/AnyBar) installed and running**

The usual :
```
npm install nanybar -g
```

## Usage

From the command line :

```
nanybar red
```

Or if [AnyBar](https://github.com/tonsky/AnyBar) is on another port :

```
nanybar yellow 1025
```

Or use it as a library :
```javascript
var nanybar = require('nanybar');

nanybar('red');
nanybar('yellow', 1025);
```

## License

[MIT](http://rumpl.mit-license.org)