any

anybar

Control the AnyBar app

Showing:

Popularity

Downloads/wk

21

GitHub Stars

94

Maintenance

Last Commit

4mos ago

Contributors

2

Package

Dependencies

0

Size (min+gzip)

0.4KB

License

MIT

Type Definitions

Tree-Shakeable

No?

Categories

Readme

anybar

Control the AnyBar app

Install

$ npm install anybar

Usage

import anybar from 'anybar';

anybar('purple');
// The Anybar app menu bar icon turned purple

API

anybar(status, options?)

Returns a promise, but the AnyBar app doesn't send back a reply, so really the only point of waiting for the promise to resolve is in case of an obscure DNS error.

status

Type: string

The name of the color dot you want the AnyBar app to display.

options

Type: Object

port

Type: number\ Default: 1738

The port to communicate with the AnyBar app.

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100