Aliba ·
![PRs Welcome](https://camo.githubusercontent.com/7f745fb7dd2a22f68fe03adcdb977963ada4c8265675e572c629b29b9b34af2b/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5052732d77656c636f6d652d627269676874677265656e2e737667)
Aliba is a JavaScript library.
- hyphenateCss: convert JavaScript style object into style string by using
react-dom
's shared hyphenateStyleName, e.g,hyphenateCss({ fontSize: '12px' })
resultfont-size: 12px;
- keyValue: pair/unpair key-value pair, e.g,
pair({ a: 1, b: 2 })
resulta=1;b=2
,unpair('a=1&b=2', '&')
result{ a: 1, b: 2 }
- setCookie: set-cookie as
react
'ssetState()
like - shallowEqual:
react
'sshallowEqual
npm install aliba