date-and-time 4.0.1 → 4.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.
Files changed (2) hide show
  1. package/README.md +8 -4
  2. package/package.json +28 -8
package/README.md CHANGED
@@ -1,3 +1,5 @@
1
+ # date-and-time
2
+
1
3
  <div align="center">
2
4
  <img src="https://raw.githubusercontent.com/knowledgecode/date-and-time/refs/heads/master/logo.png" alt="date-and-time" width="256">
3
5
  </div>
@@ -10,13 +12,15 @@
10
12
 
11
13
  </div>
12
14
 
13
- ## Install
15
+ The simplest, most intuitive date and time library.
16
+
17
+ ## Installation
14
18
 
15
19
  ```shell
16
20
  npm i date-and-time
17
21
  ```
18
22
 
19
- - ESModules:
23
+ - ES Modules:
20
24
 
21
25
  ```typescript
22
26
  import { format } from 'date-and-time';
@@ -1315,6 +1319,6 @@ isSameDay(date1, date3); // => false
1315
1319
 
1316
1320
  </details>
1317
1321
 
1318
- ## License
1322
+ ## Contributing
1319
1323
 
1320
- MIT
1324
+ Contributions are welcome! Please feel free to submit a Pull Request.
package/package.json CHANGED
@@ -1,7 +1,16 @@
1
1
  {
2
2
  "name": "date-and-time",
3
- "version": "4.0.1",
4
- "description": "The simplest and most user-friendly date and time manipulation library",
3
+ "version": "4.0.2",
4
+ "description": "The simplest, most intuitive date and time library",
5
+ "keywords": [
6
+ "date",
7
+ "datetime",
8
+ "duration",
9
+ "format",
10
+ "parse",
11
+ "time",
12
+ "timezone"
13
+ ],
5
14
  "main": "dist/index.js",
6
15
  "types": "dist/index.d.ts",
7
16
  "exports": {
@@ -53,22 +62,33 @@
53
62
  },
54
63
  "author": "KNOWLEDGECODE",
55
64
  "license": "MIT",
65
+ "engines": {
66
+ "node": ">=18"
67
+ },
68
+ "homepage": "https://github.com/knowledgecode/date-and-time#readme",
69
+ "bugs": {
70
+ "url": "https://github.com/knowledgecode/date-and-time/issues"
71
+ },
72
+ "repository": {
73
+ "type": "git",
74
+ "url": "git+https://github.com/knowledgecode/date-and-time.git"
75
+ },
56
76
  "type": "module",
77
+ "sideEffects": false,
57
78
  "devDependencies": {
58
79
  "@rollup/plugin-terser": "^0.4.4",
59
- "@rollup/plugin-typescript": "^12.1.4",
60
- "@types/node": "^24.1.0",
80
+ "@types/node": "^24.2.1",
61
81
  "@vitest/coverage-v8": "^3.2.4",
62
- "eslint": "^9.32.0",
82
+ "eslint": "^9.33.0",
63
83
  "glob": "^11.0.3",
64
84
  "globals": "^16.3.0",
65
85
  "jiti": "^2.5.1",
66
86
  "prettier": "^3.6.2",
67
- "rollup": "^4.46.1",
87
+ "rollup": "^4.46.2",
68
88
  "rollup-plugin-dts": "^6.2.1",
69
89
  "rollup-plugin-esbuild": "^6.2.1",
70
- "tsx": "^4.20.3",
71
- "typescript-eslint": "^8.38.0",
90
+ "tsx": "^4.20.4",
91
+ "typescript-eslint": "^8.39.1",
72
92
  "vitest": "^3.2.4"
73
93
  }
74
94
  }