get-reading-time 1.3.0 → 1.3.1

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 +10 -12
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -48,7 +48,7 @@ import { analyzeText } from "get-reading-time/dist/index.js";
48
48
 
49
49
  ```
50
50
 
51
- ### Example Code
51
+ #### Example Code
52
52
 
53
53
  ```javascript
54
54
  const text = `This is an example of text. It contains words, sentences, and links like there are https://linkedin.com/in/06nurahmed https://github.com/nurahmed123`;
@@ -73,7 +73,7 @@ try {
73
73
 
74
74
  ```
75
75
 
76
- ### Example Output
76
+ #### Example Output
77
77
 
78
78
  ```json
79
79
  {
@@ -100,7 +100,7 @@ try {
100
100
 
101
101
  This feature allows you to convert plain text content into a well-formatted markdown table.
102
102
 
103
- ### Example Code
103
+ #### Example Code
104
104
 
105
105
  ```javascript
106
106
  import { tableMaker } from "get-reading-time/dist/index.js";
@@ -122,7 +122,7 @@ TableConversion();
122
122
 
123
123
  ```
124
124
 
125
- ### Example Output
125
+ #### Example Output
126
126
 
127
127
  ```markdown
128
128
  | Name | Position | Email |
@@ -136,7 +136,7 @@ TableConversion();
136
136
 
137
137
  This feature allows you to translate any text into different languages. Simply provide the target language, and the tool will return the translated content.
138
138
 
139
- ### Example Code
139
+ #### Example Code
140
140
 
141
141
  ```javascript
142
142
  import { langTrans } from 'get-reading-time/dist/index.js';
@@ -158,7 +158,7 @@ translateText();
158
158
 
159
159
  ```
160
160
 
161
- ### Example Output
161
+ #### Example Output
162
162
 
163
163
  ```json
164
164
  {
@@ -172,8 +172,6 @@ translateText();
172
172
 
173
173
  This new feature allows users to generate content using Cohere AI. You provide your Cohere API key, a search prompt, and a word count, and it will return the generated content.
174
174
 
175
- ### Usage
176
-
177
175
  To use the **aiTexGen** feature, follow these steps:
178
176
 
179
177
  ```bash
@@ -181,7 +179,7 @@ import { aiTexGen } from "get-reading-time/dist/index.js";
181
179
 
182
180
  ```
183
181
 
184
- ### Example Code
182
+ #### Example Code
185
183
 
186
184
  ```javascript
187
185
  import { aiTexGen } from '../dist/index.js';
@@ -212,7 +210,7 @@ GenerateContent();
212
210
 
213
211
  ```
214
212
 
215
- ### Example Output
213
+ #### Example Output
216
214
 
217
215
  ```json
218
216
  {
@@ -226,7 +224,7 @@ GenerateContent();
226
224
 
227
225
  You can now pass an article to the `analyzeText` function, and it will automatically fix punctuation and capitalize the first letter of sentences. This feature helps to improve the readability of raw text.
228
226
 
229
- #### Example Code
227
+ ##### Example Code
230
228
 
231
229
  Import the package and follow the steps:
232
230
 
@@ -262,7 +260,7 @@ GetPunch();
262
260
 
263
261
  ```
264
262
 
265
- ### Example Output
263
+ #### Example Output
266
264
 
267
265
  ```json
268
266
  {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "get-reading-time",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "main": "/dist/index.js",
5
5
  "module": "/dist/index.mjs",
6
6
  "types": "/dist/index.d.ts",