@creowis/intl-date-utils 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/CHANGE_LOG.md +20 -0
- package/README.md +8 -4
- package/package.json +14 -2
package/CHANGE_LOG.md
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
## Change Logs
|
|
2
|
+
|
|
3
|
+
## `1.0.0`
|
|
4
|
+
Date: 15th March 2026
|
|
5
|
+
|
|
6
|
+
**Changes**
|
|
7
|
+
- Base Package published
|
|
8
|
+
|
|
9
|
+
## `1.0.1`
|
|
10
|
+
Date: 15th March 2026
|
|
11
|
+
|
|
12
|
+
**Changes**
|
|
13
|
+
- Added Package.json configuration information
|
|
14
|
+
- Added the Change logs
|
|
15
|
+
|
|
16
|
+
## `1.0.2`
|
|
17
|
+
Date: 15th March 2026
|
|
18
|
+
|
|
19
|
+
**Changes**
|
|
20
|
+
- Fixed: https://github.com/CreoWis/intl-date-utils/issues/6
|
package/README.md
CHANGED
|
@@ -20,26 +20,26 @@ Features:
|
|
|
20
20
|
Using NPM
|
|
21
21
|
|
|
22
22
|
```bash
|
|
23
|
-
npm install intl-date-utils
|
|
23
|
+
npm install @creowis/intl-date-utils
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
Using Yarn
|
|
27
27
|
|
|
28
28
|
```bash
|
|
29
|
-
yarn add intl-date-utils
|
|
29
|
+
yarn add @creowis/intl-date-utils
|
|
30
30
|
```
|
|
31
31
|
|
|
32
32
|
Using Pnpm
|
|
33
33
|
|
|
34
34
|
```bash
|
|
35
|
-
pnpm install intl-date-utils
|
|
35
|
+
pnpm install @creowis/intl-date-utils
|
|
36
36
|
```
|
|
37
37
|
|
|
38
38
|
|
|
39
39
|
## Usage
|
|
40
40
|
|
|
41
41
|
```js
|
|
42
|
-
import { formatDate, timeAgo } from 'intl-date-utils'
|
|
42
|
+
import { formatDate, timeAgo } from '@creowis/intl-date-utils'
|
|
43
43
|
|
|
44
44
|
formatDate(new Date())
|
|
45
45
|
timeAgo(new Date(Date.now() - 86400000))
|
|
@@ -127,6 +127,10 @@ npm publish --access public
|
|
|
127
127
|
|
|
128
128
|
[MIT](./LICENSE)
|
|
129
129
|
|
|
130
|
+
## Change Log
|
|
131
|
+
|
|
132
|
+
[CHANGE LOG](./CHANGE_LOG.md)
|
|
133
|
+
|
|
130
134
|
## 🤝 Contributing
|
|
131
135
|
|
|
132
136
|
Contributions are always welcome!
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@creowis/intl-date-utils",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Lightweight date utilities powered by the JavaScript Intl API",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/dateUtils.js",
|
|
@@ -11,6 +11,10 @@
|
|
|
11
11
|
"build": "node build.js",
|
|
12
12
|
"test": "node --test",
|
|
13
13
|
"prepare": "npm run build"
|
|
14
|
+
},
|
|
15
|
+
"repository": {
|
|
16
|
+
"type": "git",
|
|
17
|
+
"url": "git+https://github.com/CreoWis/intl-date-utils.git"
|
|
14
18
|
},
|
|
15
19
|
"types": "./index.d.ts",
|
|
16
20
|
"keywords": [
|
|
@@ -21,11 +25,19 @@
|
|
|
21
25
|
"timezone",
|
|
22
26
|
"creowis"
|
|
23
27
|
],
|
|
28
|
+
"author": "CreoWis",
|
|
24
29
|
"license": "MIT",
|
|
25
30
|
"engines": {
|
|
26
31
|
"node": ">=18"
|
|
27
32
|
},
|
|
33
|
+
"bugs": {
|
|
34
|
+
"url": "https://github.com/CreoWis/intl-date-utils/issues"
|
|
35
|
+
},
|
|
36
|
+
"homepage": "https://github.com/CreoWis/intl-date-utils#readme",
|
|
28
37
|
"devDependencies": {
|
|
29
38
|
"esbuild": "^0.21.0"
|
|
39
|
+
},
|
|
40
|
+
"publishConfig": {
|
|
41
|
+
"access": "public"
|
|
30
42
|
}
|
|
31
|
-
}
|
|
43
|
+
}
|