@willphan1712000/frontend 1.5.1 → 1.6.0

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
@@ -11,6 +11,15 @@
11
11
  - Button
12
12
  - Avatar
13
13
 
14
+ ## Utilities
15
+ - Canvas
16
+ - ImageUtilities
17
+ - tools
18
+ - handleAsync
19
+ - textPreprocessing
20
+ - Auth
21
+ - Math
22
+
14
23
  ## Technology
15
24
 
16
25
  ![TypeScript](https://img.shields.io/badge/typescript-%23007ACC.svg?style=for-the-badge&logo=typescript&logoColor=white)
package/dist/index.d.mts CHANGED
@@ -515,8 +515,19 @@ interface HandleAsyncType<DataType> {
515
515
  */
516
516
  declare function handleAsync<DataType>(data: Promise<DataType>): Promise<HandleAsyncType<DataType>>;
517
517
 
518
+ /**
519
+ * Text Preprocessing
520
+ * - Convert to lowercase
521
+ * - Remove punctuation
522
+ * - Remove stop words
523
+ * @param text
524
+ * @returns
525
+ */
526
+ declare function textProcessing(text: string): string;
527
+
518
528
  declare const tools: {
519
529
  handleAsync: typeof handleAsync;
530
+ textProcessing: typeof textProcessing;
520
531
  };
521
532
 
522
533
  /**
package/dist/index.d.ts CHANGED
@@ -515,8 +515,19 @@ interface HandleAsyncType<DataType> {
515
515
  */
516
516
  declare function handleAsync<DataType>(data: Promise<DataType>): Promise<HandleAsyncType<DataType>>;
517
517
 
518
+ /**
519
+ * Text Preprocessing
520
+ * - Convert to lowercase
521
+ * - Remove punctuation
522
+ * - Remove stop words
523
+ * @param text
524
+ * @returns
525
+ */
526
+ declare function textProcessing(text: string): string;
527
+
518
528
  declare const tools: {
519
529
  handleAsync: typeof handleAsync;
530
+ textProcessing: typeof textProcessing;
520
531
  };
521
532
 
522
533
  /**