quantible 0.1.7-alpha → 0.1.9-alpha
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/dist/index.d.ts +2 -2
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -22,7 +22,7 @@ interface ExtractionResult {
|
|
|
22
22
|
* the type of match and the index of the match in the string.
|
|
23
23
|
*
|
|
24
24
|
* @param {string} input - The string to search for matches
|
|
25
|
-
* @returns {
|
|
25
|
+
* @returns {ExtractionResult | null} - The extracted groups and additional information, or null if no match is found
|
|
26
26
|
*/
|
|
27
27
|
declare function extractFirstMatch(input: string): ExtractionResult | null;
|
|
28
28
|
/**
|
|
@@ -33,7 +33,7 @@ declare function extractFirstMatch(input: string): ExtractionResult | null;
|
|
|
33
33
|
* If the input string contains no matches, an empty array is returned.
|
|
34
34
|
*
|
|
35
35
|
* @param {string} input - The string to search for matches
|
|
36
|
-
* @returns {
|
|
36
|
+
* @returns {ExtractionResult[]} - The extracted groups and additional information, or an empty array if no match is found
|
|
37
37
|
*/
|
|
38
38
|
declare function extractAllMatches(input: string): ExtractionResult[];
|
|
39
39
|
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "quantible",
|
|
3
3
|
"description": "A versatile library for extracting and converting numerical values, units, currency, and mathematical expressions into their spoken word equivalents.",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.9-alpha",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.cjs.js",
|
|
7
7
|
"module": "dist/index.esm.js",
|