minutool 1.0.0 → 1.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -1,23 +1,23 @@
1
- # minut
1
+ # minutool
2
2
 
3
3
  A lightweight collection of utility functions for JavaScript/TypeScript projects.
4
4
 
5
5
  ## Installation
6
6
 
7
7
  ```bash
8
- npm install minut
8
+ npm install minutool
9
9
  ```
10
10
 
11
11
  or
12
12
 
13
13
  ```bash
14
- yarn add minut
14
+ yarn add minutool
15
15
  ```
16
16
 
17
17
  ## Usage
18
18
 
19
19
  ```typescript
20
- import { formatDate, capitalize, deepClone } from 'minut'
20
+ import { formatDate, capitalize, deepClone } from 'minutool'
21
21
 
22
22
  // Time utilities
23
23
  const now = new Date()
@@ -39,7 +39,7 @@ const cloned = deepClone(obj)
39
39
  - `YEAR_NOW` - Current year
40
40
  - `MONTH_NOW` - Current month (1-12)
41
41
  - `DATE_NOW` - Current day of month
42
- - `ONE_MINUTE` - Milliseconds in one minute
42
+ - `ONE_MINUTE` - Milliseconds in one minutoole
43
43
  - `ONE_HOUR` - Milliseconds in one hour
44
44
  - `ONE_DAY` - Milliseconds in one day
45
45
  - `ONE_WEEK` - Milliseconds in one week
@@ -62,7 +62,7 @@ const cloned = deepClone(obj)
62
62
  **Functions:**
63
63
  - `formatDate(format: string, date?: Date | number | string | null): string` - Format date
64
64
  - `countDown(timeout: number, tickFunc?: Function, onFinish?: Function)` - Countdown timer
65
- - `msToHMS(ms: number)` - Convert milliseconds to hours/minutes/seconds
65
+ - `msToHMS(ms: number)` - Convert milliseconds to hours/minutooles/seconds
66
66
 
67
67
  ### String Utilities
68
68