get-reading-time 1.3.0 → 1.3.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.
- package/README.md +11 -15
- package/package.json +61 -116
package/README.md
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Here’s the updated README with the added **Markdown Table Converter** and **langTrans (Language Translation)** features:
|
|
3
|
-
|
|
1
|
+
# Get Reading Time: Ultimate Text Analysis, AI Content Generation & Markdown Conversion Tool
|
|
4
2
|
|
|
5
3
|
# Text Analysis Tool
|
|
6
4
|
|
|
@@ -48,7 +46,7 @@ import { analyzeText } from "get-reading-time/dist/index.js";
|
|
|
48
46
|
|
|
49
47
|
```
|
|
50
48
|
|
|
51
|
-
|
|
49
|
+
#### Example Code
|
|
52
50
|
|
|
53
51
|
```javascript
|
|
54
52
|
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 +71,7 @@ try {
|
|
|
73
71
|
|
|
74
72
|
```
|
|
75
73
|
|
|
76
|
-
|
|
74
|
+
#### Example Output
|
|
77
75
|
|
|
78
76
|
```json
|
|
79
77
|
{
|
|
@@ -100,7 +98,7 @@ try {
|
|
|
100
98
|
|
|
101
99
|
This feature allows you to convert plain text content into a well-formatted markdown table.
|
|
102
100
|
|
|
103
|
-
|
|
101
|
+
#### Example Code
|
|
104
102
|
|
|
105
103
|
```javascript
|
|
106
104
|
import { tableMaker } from "get-reading-time/dist/index.js";
|
|
@@ -122,7 +120,7 @@ TableConversion();
|
|
|
122
120
|
|
|
123
121
|
```
|
|
124
122
|
|
|
125
|
-
|
|
123
|
+
#### Example Output
|
|
126
124
|
|
|
127
125
|
```markdown
|
|
128
126
|
| Name | Position | Email |
|
|
@@ -136,7 +134,7 @@ TableConversion();
|
|
|
136
134
|
|
|
137
135
|
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
136
|
|
|
139
|
-
|
|
137
|
+
#### Example Code
|
|
140
138
|
|
|
141
139
|
```javascript
|
|
142
140
|
import { langTrans } from 'get-reading-time/dist/index.js';
|
|
@@ -158,7 +156,7 @@ translateText();
|
|
|
158
156
|
|
|
159
157
|
```
|
|
160
158
|
|
|
161
|
-
|
|
159
|
+
#### Example Output
|
|
162
160
|
|
|
163
161
|
```json
|
|
164
162
|
{
|
|
@@ -172,8 +170,6 @@ translateText();
|
|
|
172
170
|
|
|
173
171
|
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
172
|
|
|
175
|
-
### Usage
|
|
176
|
-
|
|
177
173
|
To use the **aiTexGen** feature, follow these steps:
|
|
178
174
|
|
|
179
175
|
```bash
|
|
@@ -181,7 +177,7 @@ import { aiTexGen } from "get-reading-time/dist/index.js";
|
|
|
181
177
|
|
|
182
178
|
```
|
|
183
179
|
|
|
184
|
-
|
|
180
|
+
#### Example Code
|
|
185
181
|
|
|
186
182
|
```javascript
|
|
187
183
|
import { aiTexGen } from '../dist/index.js';
|
|
@@ -212,7 +208,7 @@ GenerateContent();
|
|
|
212
208
|
|
|
213
209
|
```
|
|
214
210
|
|
|
215
|
-
|
|
211
|
+
#### Example Output
|
|
216
212
|
|
|
217
213
|
```json
|
|
218
214
|
{
|
|
@@ -226,7 +222,7 @@ GenerateContent();
|
|
|
226
222
|
|
|
227
223
|
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
224
|
|
|
229
|
-
|
|
225
|
+
##### Example Code
|
|
230
226
|
|
|
231
227
|
Import the package and follow the steps:
|
|
232
228
|
|
|
@@ -262,7 +258,7 @@ GetPunch();
|
|
|
262
258
|
|
|
263
259
|
```
|
|
264
260
|
|
|
265
|
-
|
|
261
|
+
#### Example Output
|
|
266
262
|
|
|
267
263
|
```json
|
|
268
264
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "get-reading-time",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.2",
|
|
4
4
|
"main": "/dist/index.js",
|
|
5
5
|
"module": "/dist/index.mjs",
|
|
6
6
|
"types": "/dist/index.d.ts",
|
|
@@ -19,118 +19,64 @@
|
|
|
19
19
|
"registry": "https://www.npmjs.com/package/get-reading-time"
|
|
20
20
|
},
|
|
21
21
|
"keywords": [
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
"
|
|
25
|
-
"
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
"
|
|
29
|
-
"
|
|
30
|
-
"
|
|
31
|
-
"
|
|
32
|
-
"
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"
|
|
41
|
-
"
|
|
42
|
-
"
|
|
43
|
-
"
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
"
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
"
|
|
56
|
-
"
|
|
57
|
-
"
|
|
58
|
-
"
|
|
59
|
-
"
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"
|
|
64
|
-
"
|
|
65
|
-
"
|
|
66
|
-
"
|
|
67
|
-
"
|
|
68
|
-
"
|
|
69
|
-
"
|
|
70
|
-
"
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
74
|
-
"
|
|
75
|
-
"
|
|
76
|
-
"
|
|
77
|
-
"
|
|
78
|
-
"
|
|
79
|
-
"
|
|
80
|
-
"How",
|
|
81
|
-
"Long",
|
|
82
|
-
"to",
|
|
83
|
-
"Read",
|
|
84
|
-
"an",
|
|
85
|
-
"Article",
|
|
86
|
-
"Readability",
|
|
87
|
-
"Time",
|
|
88
|
-
"Calculator",
|
|
89
|
-
"Blog",
|
|
90
|
-
"Post",
|
|
91
|
-
"Reading",
|
|
92
|
-
"Time",
|
|
93
|
-
"Article",
|
|
94
|
-
"Word",
|
|
95
|
-
"Count",
|
|
96
|
-
"Estimator",
|
|
97
|
-
"How",
|
|
98
|
-
"to",
|
|
99
|
-
"calculate",
|
|
100
|
-
"reading",
|
|
101
|
-
"time",
|
|
102
|
-
"for",
|
|
103
|
-
"an",
|
|
104
|
-
"article",
|
|
105
|
-
"Calculate",
|
|
106
|
-
"reading",
|
|
107
|
-
"time",
|
|
108
|
-
"based",
|
|
109
|
-
"on",
|
|
110
|
-
"word",
|
|
111
|
-
"count",
|
|
112
|
-
"Find",
|
|
113
|
-
"estimated",
|
|
114
|
-
"time",
|
|
115
|
-
"to",
|
|
116
|
-
"read",
|
|
117
|
-
"an",
|
|
118
|
-
"article",
|
|
119
|
-
"Estimate",
|
|
120
|
-
"reading",
|
|
121
|
-
"time",
|
|
122
|
-
"for",
|
|
123
|
-
"blog",
|
|
124
|
-
"posts",
|
|
125
|
-
"Calculate",
|
|
126
|
-
"the",
|
|
127
|
-
"time",
|
|
128
|
-
"needed",
|
|
129
|
-
"to",
|
|
130
|
-
"read",
|
|
131
|
-
"a",
|
|
132
|
-
"blog",
|
|
133
|
-
"post."
|
|
22
|
+
"get-reading-time",
|
|
23
|
+
"reading time",
|
|
24
|
+
"text analysis",
|
|
25
|
+
"content generation",
|
|
26
|
+
"markdown converter",
|
|
27
|
+
"language translation",
|
|
28
|
+
"SEO",
|
|
29
|
+
"innovation",
|
|
30
|
+
"Md Nur Ahmad",
|
|
31
|
+
"text metrics",
|
|
32
|
+
"reading time calculator",
|
|
33
|
+
"word counter",
|
|
34
|
+
"character counter",
|
|
35
|
+
"sentence counter",
|
|
36
|
+
"readability calculator",
|
|
37
|
+
"sentiment analysis tool",
|
|
38
|
+
"SEO keyword extractor",
|
|
39
|
+
"AI content generator",
|
|
40
|
+
"AI text analysis",
|
|
41
|
+
"markdown table generator",
|
|
42
|
+
"text translation tool",
|
|
43
|
+
"language translation API",
|
|
44
|
+
"text processing library",
|
|
45
|
+
"node text analysis",
|
|
46
|
+
"npm text analysis tool",
|
|
47
|
+
"Cohere AI content generation",
|
|
48
|
+
"automatic punctuation",
|
|
49
|
+
"capitalization correction",
|
|
50
|
+
"content analysis tool",
|
|
51
|
+
"digital text analysis",
|
|
52
|
+
"JavaScript text analysis",
|
|
53
|
+
"content generation API",
|
|
54
|
+
"reading time estimator",
|
|
55
|
+
"automated text correction",
|
|
56
|
+
"auto text summarization",
|
|
57
|
+
"auto text generation",
|
|
58
|
+
"SEO content optimization",
|
|
59
|
+
"text readability score",
|
|
60
|
+
"Flesch reading ease",
|
|
61
|
+
"sentiment score analysis",
|
|
62
|
+
"text summarization",
|
|
63
|
+
"text analytics",
|
|
64
|
+
"readability analyzer",
|
|
65
|
+
"AI-powered text analysis",
|
|
66
|
+
"JavaScript reading time tool",
|
|
67
|
+
"npm package for text analysis",
|
|
68
|
+
"grammar and punctuation checker",
|
|
69
|
+
"automated writing analysis",
|
|
70
|
+
"content improvement tool",
|
|
71
|
+
"writing analytics",
|
|
72
|
+
"smart text processing",
|
|
73
|
+
"digital content optimization",
|
|
74
|
+
"AI markdown formatting",
|
|
75
|
+
"markdown formatting tool",
|
|
76
|
+
"advanced text metrics",
|
|
77
|
+
"keyword extraction tool",
|
|
78
|
+
"text insight generator",
|
|
79
|
+
"content readability checker"
|
|
134
80
|
],
|
|
135
81
|
"author": "Md Nur Ahmad",
|
|
136
82
|
"license": "MIT",
|
|
@@ -138,7 +84,7 @@
|
|
|
138
84
|
"url": "https://github.com/nurahmed123/get-reading-time/issues"
|
|
139
85
|
},
|
|
140
86
|
"homepage": "https://github.com/nurahmed123/get-reading-time#readme",
|
|
141
|
-
"description": "",
|
|
87
|
+
"description": "Get Reading Time is a powerful, all-in-one text analysis tool designed for developers, content creators, and SEO professionals. It provides comprehensive insights into your text by calculating reading time, word count, character count, sentence count, and link detection, along with an advanced readability score using the Flesch Reading Ease formula. In addition, this npm package performs sentiment analysis, extracts SEO-friendly keywords, and offers features like AI-powered content generation via the Cohere API, markdown table conversion, and language translation. Optimize your digital content, improve readability, and boost your search rankings with Get Reading Time—your ultimate solution for precise text analytics and content enhancement.",
|
|
142
88
|
"devDependencies": {
|
|
143
89
|
"@types/axios": "^0.9.36",
|
|
144
90
|
"@types/node": "^22.10.2",
|
|
@@ -151,5 +97,4 @@
|
|
|
151
97
|
"sentiment": "^5.0.2",
|
|
152
98
|
"tsup": "^8.3.5"
|
|
153
99
|
}
|
|
154
|
-
}
|
|
155
|
-
|
|
100
|
+
}
|