Socket
Book a DemoInstallSign in
Socket

anybar

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

anybar

Control the AnyBar app

latest
Source
npmnpm
Version
5.1.0
Version published
Maintainers
1
Created
Source

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.

  • anybar-cli - CLI for this module

Keywords

anybar

FAQs

Package last updated on 03 Sep 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts