{"id":25475195,"url":"https://github.com/chiaweilee/aliba","last_synced_at":"2025-11-05T18:30:29.300Z","repository":{"id":57176065,"uuid":"175801235","full_name":"chiaweilee/aliba","owner":"chiaweilee","description":"a library","archived":false,"fork":false,"pushed_at":"2019-07-08T04:48:22.000Z","size":89,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-02-14T09:25:03.098Z","etag":null,"topics":["alibaba","library","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/chiaweilee.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-15T10:42:12.000Z","updated_at":"2023-12-28T05:26:31.000Z","dependencies_parsed_at":"2022-09-26T16:31:25.304Z","dependency_job_id":null,"html_url":"https://github.com/chiaweilee/aliba","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiaweilee%2Faliba","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiaweilee%2Faliba/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiaweilee%2Faliba/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/chiaweilee%2Faliba/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/chiaweilee","download_url":"https://codeload.github.com/chiaweilee/aliba/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239406468,"owners_count":19633025,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["alibaba","library","typescript"],"created_at":"2025-02-18T11:54:29.177Z","updated_at":"2025-11-05T18:30:29.266Z","avatar_url":"https://github.com/chiaweilee.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# [Aliba](#) \u0026middot; [![GitHub license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/chiaweilee/aliba/blob/master/LICENSE) [![npm version](https://img.shields.io/npm/v/aliba.svg?style=flat)](https://www.npmjs.com/package/aliba) [![npm downloads](https://img.shields.io/npm/dm/aliba.svg)](https://npmcharts.com/compare/aliba?minimal=true) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](#)\n\nAliba is a JavaScript library.\n\n* **[hyphenateCss](https://github.com/chiaweilee/aliba/tree/master/src/hyphenate-css):** convert JavaScript style object into style string by using `react-dom`'s shared [hyphenateStyleName](https://github.com/chiaweilee/aliba/blob/master/src/shared/hyphenateStyleName.ts), e.g, `hyphenateCss({ fontSize: '12px' })` result `font-size: 12px;`\n* **[keyValue](https://github.com/chiaweilee/aliba/tree/master/src/key-value):** pair/unpair key-value pair, e.g, `pair({ a: 1, b: 2 })` result `a=1;b=2`, `unpair('a=1\u0026b=2', '\u0026')` result `{ a: 1, b: 2 }`\n* **[setCookie](https://github.com/chiaweilee/aliba/tree/master/src/set-cookie):** set-cookie as `react`'s `setState()` like\n* **[shallowEqual](https://github.com/chiaweilee/aliba/blob/master/src/shared/shallowEqual.md):** `react`'s `shallowEqual`\n\n## Installation\n\n```\nnpm install aliba\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchiaweilee%2Faliba","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fchiaweilee%2Faliba","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fchiaweilee%2Faliba/lists"}