Latest Threat Research:Malicious dYdX Packages Published to npm and PyPI After Maintainer Compromise.Details
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

Source
npmnpm
Version
4.0.0
Version published
Maintainers
1
Created
Source

anybar Build Status

Control the AnyBar app

Install

$ npm install anybar

Usage

const anybar = require('anybar');

anybar('purple');
// The Anybar.app menubar icon turned purple

API

anybar(status, [options])

Returns a promise, but 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

Name of the color dot you want AnyBar.app to display.

options

Type: Object

port

Type: number
Default: 1738

Port to communicate with the AnyBar.app.

  • anybar-cli - CLI for this module

License

MIT © Sindre Sorhus

Keywords

anybar

FAQs

Package last updated on 06 Apr 2019

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