0.1.22 • Published 9 months ago

@cch137/format-utils v0.1.22

Weekly downloads
-
License
ISC
Repository
github
Last release
9 months ago

Format Utils

開發 by cch137

模塊

date

  • 提供 Date 格式化功能。

deep-equal

  • 提供 deep-equal 深度比較功能。

bytes

  • 提供數值轉 bytes 格式化功能。

numeric-compare

  • 將文字數值化比較,能夠比較多個數值部分,例如:a1-1, a1-11

fetch2

提供原生函式 fetch 的改良版(自動選用 TextDecoder)。

safe-filename

將字符串轉換為合法的文件命名格式。

bigmap

  • 功能與 JS 原生的 Map 完全相同,但是沒有大小限制。

objects

  • 支援各種對物件的操作與 Type。

read-stream

  • 提供同步函式將 stream 轉換成多種格式(Uint8Arraystring)。
  • Uint8Array 轉換為 ReadableStream

server

  • 提供 getRequestIp

sleep

  • 提供 sleep

detect-languages

  • 偵測文本語言。

urls

  • 提取文本鏈接。

youtube

  • 與 YouTube 鏈接相關的功能。
0.1.22

9 months ago

0.1.21

9 months ago

0.1.20

9 months ago

0.1.19

9 months ago

0.1.18

10 months ago

0.1.17

10 months ago

0.1.16

10 months ago

0.1.15

10 months ago

0.1.14

10 months ago

0.1.13

10 months ago

0.1.12

10 months ago

0.1.11

10 months ago

0.1.10

10 months ago

0.1.9

10 months ago

0.1.8

10 months ago

0.1.7

11 months ago

0.1.6

12 months ago

0.1.5

12 months ago

0.1.4

12 months ago

0.1.3

12 months ago

0.1.2

12 months ago

0.1.1

1 year ago

0.1.0

1 year ago

0.0.2

1 year ago

0.0.1

1 year ago