Bahaghari
Functional javascript API wrapper for Razer Chroma REST api.
Work in progress
Usage
; const app = title: 'App Title' description: 'App Desc' author: name: 'Cyrus' contact: `my.email@email.com` device_supported: 'keyboard' 'mousepad' ... const chromaIntance = B; // apply effectsawait B; // cleanup / closeawait B;
Functions
Work in progress
createBGRColor
:: hex_string || {r: num, b: num, g: num} -> bgr: numcreateChroma
:: app -> PromisesetEffect
:: OPTS {device, method, body} , chroma -> Promise<>deleteEffect
stop
setCustomEffect
setBreathingAnimation
setWaveAnimation
setOffEffect
setStaticEffect