🗞️ 文章推荐
redom —— 3.2K ⭐️ 一个不使用 virtual dom 的构建UI界面的库
https://github.com/redom/redom
**React Native Skia —— Shopify 开源库**
https://github.com/shopify/react-native-skia
Tina —— 7.5K ⭐️ 一个轻量级的基于 Markdown 的 CMS 系统
https://github.com/tinacms/tinacms
filesize.js —— 1.3K ⭐️ 一个极轻量的 JavaScript 库,提供了一种简单的方法来获取人类可读的文件大小字符串。
https://github.com/avoidwork/filesize.js
filesize(500); // "500 B"
filesize(500, {bits: true}); // "4 kbit"
filesize(265318, {base: 2}); // "259.1 KiB"
filesize(265318); // "265.32 kB"
filesize(265318, {round: 0}); // "265 kB"
filesize(265318, {output: "array"}); // [265.32, "kB"]
filesize(265318, {output: "object"}); // {value: 265.32, symbol: "kB", exponent: 1, unit: "kB"}
filesize(1, {symbols: {B: "Б"}}); // "1 Б"
filesize(1024); // "1.02 kB"
filesize(1024, {exponent: 0}); // "1024 B"
filesize(1024, {output: "exponent"}); // 1
filesize(265318, {standard: "jedec"}); // "259.1 KB"
filesize(265318, {base: 2, fullform: true}); // "259.1 kibibytes"
filesize(12, {fullform: true, fullforms: ["байтов"]}); // "12 байтов"
filesize(265318, {separator: ","}); // "265,32 kB"
filesize(265318, {locale: "de"}); // "265,32 kB"
**React-Text-transition —— 文字动画过渡库**