nhb-toolbox 3.4.6 → 3.4.77

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.
@@ -1,5 +1,5 @@
1
1
  export declare class Chronos {
2
- private readonly date;
2
+ #private;
3
3
  /**
4
4
  * * Creates a new immutable Chronos instance.
5
5
  * @param value - A date value (`timestamp`, `string`, `Date`, `Chronos`).
@@ -13,7 +13,29 @@ export declare class Chronos {
13
13
  toISOString(): string;
14
14
  /** * Returns the time value in milliseconds since midnight, January 1, 1970 UTC. */
15
15
  getTimeStamp(): number;
16
- /** * Returns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC). */
16
+ /** * Returns the date value as a `Date` object. */
17
+ get date(): Date;
18
+ /** * Returns the time value in milliseconds since midnight, January 1, 1970 UTC. */
19
+ get unix(): number;
20
+ /**
21
+ * @instance Returns the current date and time in a specified format.
22
+ *
23
+ * @param format - The desired format (Default format is `DD-MM-YYYY HH:mm:ss:mss` = `30-06-1995 15:55:58:775`).
24
+ * @returns Formatted date string in desired format.
25
+ */
26
+ today(format?: string): string;
27
+ /**
28
+ * @static Returns the current date and time in a specified format.
29
+ *
30
+ * @param format - The desired format (Default format is `DD-MM-YYYY HH:mm:ss:mss` = `30-06-1995 15:55:58:775`).
31
+ * @returns Formatted date string in desired format.
32
+ */
33
+ static today(format?: string): string;
34
+ /**
35
+ * * Returns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC).
36
+ * * It basically calls `Date.now()`.
37
+ * @returns The number of milliseconds elapsed since the Unix epoch.
38
+ */
17
39
  static now(): number;
18
40
  /**
19
41
  * * Formats the date into a custom string format.
@@ -1 +1 @@
1
- {"version":3,"file":"Chronos.d.ts","sourceRoot":"","sources":["../../src/date/Chronos.ts"],"names":[],"mappings":"AAGA,qBAAa,OAAO;IACnB,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAO;IAE5B;;;OAGG;gBACS,KAAK,CAAC,EAA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;;OAIG;IACH,OAAO,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAM9B;;;;OAIG;IACH,YAAY,CAAC,IAAI,EAAE,MAAM,GAAG,OAAO;IAInC;;;;;;;;OAQG;IACH,cAAc,IAAI,MAAM;IAexB;;;;;OAKG;IACH,UAAU,IAAI,OAAO;CAKrB"}
@@ -1,6 +1,6 @@
1
1
  import { DAYS, MONTHS, sortedFormats } from './constants';
2
2
  export class Chronos {
3
- date;
3
+ #date;
4
4
  /**
5
5
  * * Creates a new immutable Chronos instance.
6
6
  * @param value - A date value (`timestamp`, `string`, `Date`, `Chronos`).
@@ -13,25 +13,57 @@ export class Chronos {
13
13
  if (isNaN(date.getTime())) {
14
14
  throw new Error('Invalid date provided!');
15
15
  }
16
- this.date = date;
16
+ this.#date = date;
17
17
  }
18
18
  /** * Gets the native `Date` instance (read-only). */
19
19
  toDate() {
20
- return new Date(this.date);
20
+ return new Date(this.#date);
21
21
  }
22
22
  /** * Returns a string representation of a date. The format of the string depends on the locale. */
23
23
  toString() {
24
- return this.date.toString();
24
+ return this.#date.toString();
25
25
  }
26
26
  /** * Returns a date as a string value in ISO format. */
27
27
  toISOString() {
28
- return this.date.toISOString();
28
+ return this.#date.toISOString();
29
29
  }
30
30
  /** * Returns the time value in milliseconds since midnight, January 1, 1970 UTC. */
31
31
  getTimeStamp() {
32
- return this.date.getTime();
32
+ return this.#date.getTime();
33
33
  }
34
- /** * Returns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC). */
34
+ /** * Returns the date value as a `Date` object. */
35
+ get date() {
36
+ return this.#date;
37
+ }
38
+ /** * Returns the time value in milliseconds since midnight, January 1, 1970 UTC. */
39
+ get unix() {
40
+ return this.#date.getTime();
41
+ }
42
+ /**
43
+ * @instance Returns the current date and time in a specified format.
44
+ *
45
+ * @param format - The desired format (Default format is `DD-MM-YYYY HH:mm:ss:mss` = `30-06-1995 15:55:58:775`).
46
+ * @returns Formatted date string in desired format.
47
+ */
48
+ today(format = 'DD-MM-YYYY HH:mm:ss:mss') {
49
+ const today = new Date();
50
+ return new Chronos(today).format(format);
51
+ }
52
+ /**
53
+ * @static Returns the current date and time in a specified format.
54
+ *
55
+ * @param format - The desired format (Default format is `DD-MM-YYYY HH:mm:ss:mss` = `30-06-1995 15:55:58:775`).
56
+ * @returns Formatted date string in desired format.
57
+ */
58
+ static today(format = 'DD-MM-YYYY HH:mm:ss:mss') {
59
+ const today = new Date();
60
+ return new Chronos(today).format(format);
61
+ }
62
+ /**
63
+ * * Returns the number of milliseconds elapsed since midnight, January 1, 1970 Universal Coordinated Time (UTC).
64
+ * * It basically calls `Date.now()`.
65
+ * @returns The number of milliseconds elapsed since the Unix epoch.
66
+ */
35
67
  static now() {
36
68
  return Date.now();
37
69
  }
@@ -41,14 +73,14 @@ export class Chronos {
41
73
  * @returns Formatted date string in desired format.
42
74
  */
43
75
  format(format = 'DD-MM-YYYY') {
44
- const year = this.date.getFullYear();
45
- const month = this.date.getMonth();
46
- const day = this.date.getDay();
47
- const date = this.date.getDate();
48
- const hours = this.date.getHours();
49
- const minutes = this.date.getMinutes();
50
- const seconds = this.date.getSeconds();
51
- const milliseconds = this.date.getMilliseconds();
76
+ const year = this.#date.getFullYear();
77
+ const month = this.#date.getMonth();
78
+ const day = this.#date.getDay();
79
+ const date = this.#date.getDate();
80
+ const hours = this.#date.getHours();
81
+ const minutes = this.#date.getMinutes();
82
+ const seconds = this.#date.getSeconds();
83
+ const milliseconds = this.#date.getMilliseconds();
52
84
  const dateComponents = {
53
85
  YYYY: String(year),
54
86
  YY: String(year).slice(-2),
@@ -111,7 +143,7 @@ export class Chronos {
111
143
  * @returns A new `Chronos` instance with the updated date.
112
144
  */
113
145
  addDays(days) {
114
- const newDate = new Date(this.date);
146
+ const newDate = new Date(this.#date);
115
147
  newDate.setDate(newDate.getDate() + days);
116
148
  return new Chronos(newDate);
117
149
  }
@@ -137,7 +169,7 @@ export class Chronos {
137
169
  // Set the time of today to 00:00:00 for comparison purposes
138
170
  today.setHours(0, 0, 0, 0);
139
171
  // Normalize the input date to 00:00:00
140
- const inputDate = new Date(this.date);
172
+ const inputDate = new Date(this.#date);
141
173
  inputDate.setHours(0, 0, 0, 0);
142
174
  const diffTime = inputDate.getTime() - today.getTime();
143
175
  const diffDays = Math.floor(diffTime / (1000 * 60 * 60 * 24));
@@ -150,7 +182,7 @@ export class Chronos {
150
182
  * @returns `true` if the year is a leap year, `false` otherwise.
151
183
  */
152
184
  isLeapYear() {
153
- const year = this.date.getFullYear();
185
+ const year = this.#date.getFullYear();
154
186
  return (year % 4 === 0 && year % 100 !== 0) || year % 400 === 0;
155
187
  }
156
188
  }
@@ -1 +1 @@
1
- {"version":3,"file":"greet.d.ts","sourceRoot":"","sources":["../../src/date/greet.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,OAAO,CAAC,EAAE,eAAe,GAAG,MAAM,CA+C7D"}
1
+ {"version":3,"file":"greet.d.ts","sourceRoot":"","sources":["../../src/date/greet.ts"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AAE/C;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,OAAO,CAAC,EAAE,eAAe,GAAG,MAAM,CAiD7D"}
@@ -7,7 +7,7 @@ import { extractHourMinute, getCurrentDateTime, getTotalMinutes, } from './utils
7
7
  * @returns The appropriate greeting message.
8
8
  */
9
9
  export function getGreeting(configs) {
10
- const { morningEnds = '11:59', noonEnds = '12:59', afternoonEnds = '17:59', eveningEnds = '23:59', midnightEnds = '02:59', currentTime, morningMessage = 'Good Morning!', noonMessage = 'Good Noon!', afternoonMessage = 'Good Afternoon!', eveningMessage = 'Good Evening!', midnightMessage = 'Hello, Night Owl!', defaultMessage = 'Greetings!', } = configs || {};
10
+ const { morningEnds = '11:59', noonEnds = '12:59', afternoonEnds = '17:59', eveningEnds = '23:59', midnightEnds = '02:59', currentTime, appendMsg = '', prependMsg = '', morningMessage = 'Good Morning!', noonMessage = 'Good Noon!', afternoonMessage = 'Good Afternoon!', eveningMessage = 'Good Evening!', midnightMessage = 'Hello, Night Owl!', defaultMessage = 'Greetings!', } = configs || {};
11
11
  let hour;
12
12
  let minute;
13
13
  if (currentTime && isValidTime(currentTime)) {
@@ -24,21 +24,21 @@ export function getGreeting(configs) {
24
24
  const eveningEndMinutes = getTotalMinutes(eveningEnds);
25
25
  const midnightEndMinutes = getTotalMinutes(midnightEnds);
26
26
  if (currentTotalMinutes <= midnightEndMinutes) {
27
- return midnightMessage;
27
+ return prependMsg.concat(midnightMessage.concat(appendMsg));
28
28
  }
29
29
  else if (currentTotalMinutes <= morningEndMinutes) {
30
- return morningMessage;
30
+ return prependMsg.concat(morningMessage.concat(appendMsg));
31
31
  }
32
32
  else if (currentTotalMinutes <= noonEndMinutes) {
33
- return noonMessage;
33
+ return prependMsg.concat(noonMessage.concat(appendMsg));
34
34
  }
35
35
  else if (currentTotalMinutes <= afternoonEndMinutes) {
36
- return afternoonMessage;
36
+ return prependMsg.concat(afternoonMessage.concat(appendMsg));
37
37
  }
38
38
  else if (currentTotalMinutes <= eveningEndMinutes) {
39
- return eveningMessage;
39
+ return prependMsg.concat(eveningMessage.concat(appendMsg));
40
40
  }
41
41
  else {
42
- return defaultMessage;
42
+ return prependMsg.concat(defaultMessage.concat(appendMsg));
43
43
  }
44
44
  }
@@ -19,6 +19,10 @@ export interface GreetingConfigs {
19
19
  midnightEnds?: Time;
20
20
  /** Current time in "HH:MM" format for some weird reason. Defaults to current time `new Date()` */
21
21
  currentTime?: Time;
22
+ /** Optional string to append after each message */
23
+ appendMsg?: string;
24
+ /** Optional string to prepend before each message */
25
+ prependMsg?: string;
22
26
  /** Custom greeting message for the morning period. */
23
27
  morningMessage?: string;
24
28
  /** Custom greeting message for the noon period. */
@@ -1 +1 @@
1
- {"version":3,"file":"types.d.ts","sourceR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1
1
  {
2
2
  "name": "nhb-toolbox",
3
- "version": "3.4.6",
3
+ "version": "3.4.77",
4
4
  "description": "A versatile collection of smart, efficient, and reusable utility functions for everyday development needs.",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",