|
1 |
| -# TS-Utils |
| 1 | +# CHECK-DC/TS-UTILS |
2 | 2 |
|
3 | 3 | ## Overview
|
4 | 4 |
|
5 |
| -The ts-utils is a versatile TypeScript utility package that provides a collection of useful functions for various tasks, including array manipulation, date formatting, string & number operations, and object handling. This package offers essential tools to enhance your TypeScript projects with ease. |
| 5 | +The Check-DC/TS-utils is a versatile TypeScript utility package that provides a collection of useful functions for various tasks, including array manipulation, date formatting, string & number operations, and object handling. This package offers essential tools to enhance your TypeScript projects with ease. |
6 | 6 | Below is a brief overview of the main functions included in this package:
|
7 | 7 |
|
8 | 8 | ## Table of Contents
|
9 | 9 |
|
10 |
| -- [TS-Utils](#ts-utils) |
| 10 | +- [CHECK-DC/TS-UTILS](#check-dc/ts-utils) |
11 | 11 | - [Table of Contents](#table-of-contents)
|
12 | 12 | - [Utilities](#Functions)
|
13 | 13 | - [Installation](#Installation)
|
@@ -91,31 +91,40 @@ Below is a brief overview of the main functions included in this package:
|
91 | 91 |
|
92 | 92 | ## Installation
|
93 | 93 |
|
94 |
| -To install the ts-utils package, you can use the following command: |
| 94 | +To install the Check-DC/TS-Utils package, you can use the following command: |
95 | 95 |
|
96 | 96 | ```bash
|
97 |
| -npm install @ts-utils |
| 97 | +npm install @check-dc/ts-utils |
98 | 98 | ```
|
99 | 99 |
|
100 | 100 | or
|
101 | 101 |
|
102 | 102 | ```bash
|
103 |
| -yarn add @ts-utils |
| 103 | +yarn add @check-dc/ts-utils |
104 | 104 | ```
|
105 | 105 |
|
106 |
| -This command will fetch and install the ts-utils package from the package registry, making it available for use in your project. |
| 106 | +This command will fetch and install the Check-DC/TS-utils package from the package registry, making it available for use in your project. |
107 | 107 |
|
108 | 108 | ### Usage
|
109 | 109 |
|
110 | 110 | Once you have the file in your project, simply import the utility you need using the ES6 import statement.
|
111 | 111 |
|
112 | 112 | ```typescript
|
113 | 113 | // Import the specific method category you need
|
114 |
| -import { randomStr, toUpperCase, toFullUrl } from "ts-utils/string.ts"; |
115 |
| -import { formatNumber, parseNumber, addSeparators } from "ts-utils/number.ts"; |
| 114 | +import { randomStr, toUpperCase, toFullUrl } from "check-dc/ts-utils/string.ts"; |
| 115 | +import { |
| 116 | + formatNumber, |
| 117 | + parseNumber, |
| 118 | + addSeparators, |
| 119 | +} from "check-dc/ts-utils/number.ts"; |
116 | 120 |
|
117 | 121 | // OR Import all utilities
|
118 |
| -import { randomStr, toUpperCase, parseNumber, addSeparators } from "ts-utils"; |
| 122 | +import { |
| 123 | + randomStr, |
| 124 | + toUpperCase, |
| 125 | + parseNumber, |
| 126 | + addSeparators, |
| 127 | +} from "check-dc/ts-utils"; |
119 | 128 | ```
|
120 | 129 |
|
121 | 130 | ## Contributing
|
|
0 commit comments