【文件属性】:
文件名称:bitbar:简化BitBar应用程序插件的创建
文件大小:113KB
文件格式:ZIP
更新时间:2021-02-04 15:29:16
nodejs macos menubar npm-package bitbar
位栏
简化应用程序插件的创建
使用一个不错的API创建您的插件,而不必手动构造一个大字符串。
需要BitBar 1.9或更高版本。
安装
$ npm install bitbar
用法
#!/usr/bin/env /usr/local/bin/node
const bitbar = require ( 'bitbar' ) ;
bitbar ( [
{
text : ':red_heart:' ,
color : bitbar . darkMode ? 'white' : 'red' ,
dropdown : false
} ,
bitbar . separator ,
{
text
【文件预览】:
bitbar-main
----.gitignore(23B)
----package.json(620B)
----.npmrc(19B)
----index.js(2KB)
----test.js(2KB)
----.github()
--------workflows()
--------funding.yml(61B)
----screenshot.png(105KB)
----license(1KB)
----readme.md(2KB)
----index.test-d.ts(701B)
----.gitattributes(19B)
----.editorconfig(175B)
----index.d.ts(2KB)