@utilix-tech/sdk 0.87.0 → 0.89.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/CHANGELOG.md +7 -0
- package/README.md +9 -4
- package/dist/{chunk-7XHM7HHU.js → chunk-KYBI62YY.js} +119 -1
- package/dist/{chunk-YM6UC4SM.js → chunk-LKFMBUJZ.js} +52 -1
- package/dist/{chunk-FB6CCFR5.js → chunk-YQJ7CEUL.js} +64 -1
- package/dist/{code-B9LwFkB1.d.ts → code-DvJYYTea.d.cts} +35 -2
- package/dist/{code-B9LwFkB1.d.cts → code-DvJYYTea.d.ts} +35 -2
- package/dist/index.cjs +232 -0
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/{text-xY5MJwr0.d.cts → text-DOopHoK3.d.cts} +40 -2
- package/dist/{text-xY5MJwr0.d.ts → text-DOopHoK3.d.ts} +40 -2
- package/dist/tools/code.cjs +118 -0
- package/dist/tools/code.d.cts +1 -1
- package/dist/tools/code.d.ts +1 -1
- package/dist/tools/code.js +1 -1
- package/dist/tools/text.cjs +63 -0
- package/dist/tools/text.d.cts +1 -1
- package/dist/tools/text.d.ts +1 -1
- package/dist/tools/text.js +1 -1
- package/dist/tools/units.cjs +51 -0
- package/dist/tools/units.d.cts +1 -1
- package/dist/tools/units.d.ts +1 -1
- package/dist/tools/units.js +1 -1
- package/dist/{units-gLm_pq6U.d.ts → units-B6aXeGr6.d.cts} +46 -2
- package/dist/{units-gLm_pq6U.d.cts → units-B6aXeGr6.d.ts} +46 -2
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -2319,6 +2319,7 @@ __export(text_exports, {
|
|
|
2319
2319
|
applyOps: () => applyOps,
|
|
2320
2320
|
calculateStringDistance: () => calculateStringDistance,
|
|
2321
2321
|
centerText: () => centerText,
|
|
2322
|
+
checkAcronymExpansion: () => checkAcronymExpansion,
|
|
2322
2323
|
checkDashUsage: () => checkDashUsage,
|
|
2323
2324
|
checkOxfordCommaConsistency: () => checkOxfordCommaConsistency,
|
|
2324
2325
|
convertAll: () => convertAll,
|
|
@@ -5568,6 +5569,68 @@ function checkDashUsage(text) {
|
|
|
5568
5569
|
issues
|
|
5569
5570
|
};
|
|
5570
5571
|
}
|
|
5572
|
+
var ACRONYM_TOKEN_RE = /\b[A-Z][A-Z0-9]{1,9}\b/g;
|
|
5573
|
+
var ACRONYM_IN_PARENS_RE = /\(([A-Z][A-Z0-9]{1,9})\)/g;
|
|
5574
|
+
var ACRONYM_THEN_EXPANSION_RE = /\b([A-Z][A-Z0-9]{1,9})\b\s*\(([a-zA-Z][^()]{1,100})\)/g;
|
|
5575
|
+
function acronymContextSnippet(text, index, matchLen) {
|
|
5576
|
+
const start = Math.max(0, index - 25);
|
|
5577
|
+
const end = Math.min(text.length, index + matchLen + 25);
|
|
5578
|
+
const body = text.slice(start, end).replace(/\s+/g, " ").trim();
|
|
5579
|
+
return (start > 0 ? "\u2026" : "") + body + (end < text.length ? "\u2026" : "");
|
|
5580
|
+
}
|
|
5581
|
+
function checkAcronymExpansion(text) {
|
|
5582
|
+
const definedAt = /* @__PURE__ */ new Map();
|
|
5583
|
+
for (const m of text.matchAll(ACRONYM_IN_PARENS_RE)) {
|
|
5584
|
+
const acronym = m[1];
|
|
5585
|
+
const idx = (m.index ?? 0) + 1;
|
|
5586
|
+
const existing = definedAt.get(acronym);
|
|
5587
|
+
if (existing === void 0 || idx < existing) definedAt.set(acronym, idx);
|
|
5588
|
+
}
|
|
5589
|
+
for (const m of text.matchAll(ACRONYM_THEN_EXPANSION_RE)) {
|
|
5590
|
+
const acronym = m[1];
|
|
5591
|
+
const idx = m.index ?? 0;
|
|
5592
|
+
const existing = definedAt.get(acronym);
|
|
5593
|
+
if (existing === void 0 || idx < existing) definedAt.set(acronym, idx);
|
|
5594
|
+
}
|
|
5595
|
+
const occurrencesByAcronym = /* @__PURE__ */ new Map();
|
|
5596
|
+
for (const m of text.matchAll(ACRONYM_TOKEN_RE)) {
|
|
5597
|
+
const acronym = m[0];
|
|
5598
|
+
const idx = m.index ?? 0;
|
|
5599
|
+
const list = occurrencesByAcronym.get(acronym);
|
|
5600
|
+
if (list) list.push(idx);
|
|
5601
|
+
else occurrencesByAcronym.set(acronym, [idx]);
|
|
5602
|
+
}
|
|
5603
|
+
const acronyms = [];
|
|
5604
|
+
const issues = [];
|
|
5605
|
+
for (const [acronym, indicesUnsorted] of occurrencesByAcronym) {
|
|
5606
|
+
const indices = [...indicesUnsorted].sort((a, b) => a - b);
|
|
5607
|
+
const firstUsedAt = indices[0];
|
|
5608
|
+
const expandedAt = definedAt.has(acronym) ? definedAt.get(acronym) : null;
|
|
5609
|
+
const earlyUse = expandedAt !== null ? indices.find((i) => i < expandedAt) : void 0;
|
|
5610
|
+
const usedBeforeExpansion = earlyUse !== void 0;
|
|
5611
|
+
acronyms.push({ acronym, occurrences: indices.length, firstUsedAt, expandedAt, usedBeforeExpansion });
|
|
5612
|
+
if (usedBeforeExpansion) {
|
|
5613
|
+
issues.push({
|
|
5614
|
+
type: "used-before-expansion",
|
|
5615
|
+
acronym,
|
|
5616
|
+
index: earlyUse,
|
|
5617
|
+
context: acronymContextSnippet(text, earlyUse, acronym.length),
|
|
5618
|
+
message: `"${acronym}" is used here before it's expanded later in the document (at character ${expandedAt}).`
|
|
5619
|
+
});
|
|
5620
|
+
} else if (expandedAt === null) {
|
|
5621
|
+
issues.push({
|
|
5622
|
+
type: "never-expanded",
|
|
5623
|
+
acronym,
|
|
5624
|
+
index: firstUsedAt,
|
|
5625
|
+
context: acronymContextSnippet(text, firstUsedAt, acronym.length),
|
|
5626
|
+
message: `"${acronym}" is never expanded anywhere in this document.`
|
|
5627
|
+
});
|
|
5628
|
+
}
|
|
5629
|
+
}
|
|
5630
|
+
acronyms.sort((a, b) => a.firstUsedAt - b.firstUsedAt);
|
|
5631
|
+
issues.sort((a, b) => a.index - b.index);
|
|
5632
|
+
return { acronyms, issues };
|
|
5633
|
+
}
|
|
5571
5634
|
|
|
5572
5635
|
// src/tools/data.ts
|
|
5573
5636
|
var data_exports = {};
|
|
@@ -9091,6 +9154,7 @@ __export(units_exports, {
|
|
|
9091
9154
|
bumpVersion: () => bumpVersion,
|
|
9092
9155
|
calcAspectRatio: () => calcAspectRatio,
|
|
9093
9156
|
calcSubnet: () => calcSubnet,
|
|
9157
|
+
calculateAnnuityPayout: () => calculateAnnuityPayout,
|
|
9094
9158
|
calculateBlendedLoanRate: () => calculateBlendedLoanRate,
|
|
9095
9159
|
calculateBreakEven: () => calculateBreakEven,
|
|
9096
9160
|
calculateCashBreakdown: () => calculateCashBreakdown,
|
|
@@ -10941,6 +11005,56 @@ function calculateSavingsGoal(input) {
|
|
|
10941
11005
|
finalBalance: round4(goalAmount)
|
|
10942
11006
|
};
|
|
10943
11007
|
}
|
|
11008
|
+
function calculateAnnuityPayout(input) {
|
|
11009
|
+
const { mode, structure, years, paymentsPerYear, annualRatePercent, principal, periodicPayout } = input;
|
|
11010
|
+
if (mode !== "payout-from-principal" && mode !== "principal-from-payout") {
|
|
11011
|
+
return { error: "mode must be 'payout-from-principal' or 'principal-from-payout'" };
|
|
11012
|
+
}
|
|
11013
|
+
if (structure !== "ordinary" && structure !== "due") {
|
|
11014
|
+
return { error: "structure must be 'ordinary' or 'due'" };
|
|
11015
|
+
}
|
|
11016
|
+
if (!Number.isInteger(years) || years <= 0) return { error: "years must be a positive whole number" };
|
|
11017
|
+
if (!Number.isInteger(paymentsPerYear) || paymentsPerYear <= 0) {
|
|
11018
|
+
return { error: "paymentsPerYear must be a positive whole number" };
|
|
11019
|
+
}
|
|
11020
|
+
if (!Number.isFinite(annualRatePercent) || annualRatePercent < 0) {
|
|
11021
|
+
return { error: "annualRatePercent must be a finite, non-negative number" };
|
|
11022
|
+
}
|
|
11023
|
+
const periods = years * paymentsPerYear;
|
|
11024
|
+
const r = annualRatePercent / 100 / paymentsPerYear;
|
|
11025
|
+
const round23 = (n) => Math.round(n * 100) / 100;
|
|
11026
|
+
let factor = r === 0 ? periods : (1 - Math.pow(1 + r, -periods)) / r;
|
|
11027
|
+
if (structure === "due") factor *= 1 + r;
|
|
11028
|
+
let resolvedPrincipal;
|
|
11029
|
+
let resolvedPayout;
|
|
11030
|
+
if (mode === "payout-from-principal") {
|
|
11031
|
+
if (typeof principal !== "number" || !Number.isFinite(principal) || principal <= 0) {
|
|
11032
|
+
return { error: 'principal must be a finite number greater than zero for mode "payout-from-principal"' };
|
|
11033
|
+
}
|
|
11034
|
+
resolvedPrincipal = principal;
|
|
11035
|
+
resolvedPayout = principal / factor;
|
|
11036
|
+
} else {
|
|
11037
|
+
if (typeof periodicPayout !== "number" || !Number.isFinite(periodicPayout) || periodicPayout <= 0) {
|
|
11038
|
+
return { error: 'periodicPayout must be a finite number greater than zero for mode "principal-from-payout"' };
|
|
11039
|
+
}
|
|
11040
|
+
resolvedPayout = periodicPayout;
|
|
11041
|
+
resolvedPrincipal = periodicPayout * factor;
|
|
11042
|
+
}
|
|
11043
|
+
const totalPaid = resolvedPayout * periods;
|
|
11044
|
+
const totalInterest = totalPaid - resolvedPrincipal;
|
|
11045
|
+
return {
|
|
11046
|
+
mode,
|
|
11047
|
+
structure,
|
|
11048
|
+
years,
|
|
11049
|
+
paymentsPerYear,
|
|
11050
|
+
periods,
|
|
11051
|
+
annualRatePercent,
|
|
11052
|
+
principal: round23(resolvedPrincipal),
|
|
11053
|
+
periodicPayout: round23(resolvedPayout),
|
|
11054
|
+
totalPaid: round23(totalPaid),
|
|
11055
|
+
totalInterest: round23(totalInterest)
|
|
11056
|
+
};
|
|
11057
|
+
}
|
|
10944
11058
|
function calculateRoi(input) {
|
|
10945
11059
|
const { initialValue, finalValue, years } = input;
|
|
10946
11060
|
if (!Number.isFinite(initialValue) || initialValue <= 0) {
|
|
@@ -17153,6 +17267,7 @@ __export(code_exports, {
|
|
|
17153
17267
|
validateEditorConfig: () => validateEditorConfig,
|
|
17154
17268
|
validateEnvKey: () => validateEnvKey2,
|
|
17155
17269
|
validateFenceLanguageTags: () => validateFenceLanguageTags,
|
|
17270
|
+
validateMermaidSyntax: () => validateMermaidSyntax,
|
|
17156
17271
|
validatePackageExports: () => validatePackageExports,
|
|
17157
17272
|
validateTsconfig: () => validateTsconfig
|
|
17158
17273
|
});
|
|
@@ -19059,6 +19174,123 @@ function lintDockerfile(content) {
|
|
|
19059
19174
|
}
|
|
19060
19175
|
return { findings, stages };
|
|
19061
19176
|
}
|
|
19177
|
+
var MERMAID_DIAGRAM_TYPES = {
|
|
19178
|
+
flowchart: "flowchart",
|
|
19179
|
+
graph: "flowchart",
|
|
19180
|
+
sequencediagram: "sequenceDiagram",
|
|
19181
|
+
classdiagram: "classDiagram",
|
|
19182
|
+
statediagram: "stateDiagram",
|
|
19183
|
+
"statediagram-v2": "stateDiagram",
|
|
19184
|
+
erdiagram: "erDiagram",
|
|
19185
|
+
pie: "pie"
|
|
19186
|
+
};
|
|
19187
|
+
var _MERMAID_ARROW_RE = /(-\.->|==>|--x|--o|-\.-|-->|---|===)/i;
|
|
19188
|
+
function _checkMermaidFlowchart(lines, fromLine, issues) {
|
|
19189
|
+
const subgraphStack = [];
|
|
19190
|
+
for (let i = fromLine; i < lines.length; i++) {
|
|
19191
|
+
const lineNo = i + 1;
|
|
19192
|
+
const trimmed = lines[i].split("%%")[0].trim();
|
|
19193
|
+
if (trimmed === "") continue;
|
|
19194
|
+
const firstToken = trimmed.split(/\s+/)[0];
|
|
19195
|
+
if (firstToken === "subgraph") {
|
|
19196
|
+
subgraphStack.push(lineNo);
|
|
19197
|
+
continue;
|
|
19198
|
+
}
|
|
19199
|
+
if (trimmed === "end") {
|
|
19200
|
+
if (subgraphStack.length === 0) {
|
|
19201
|
+
issues.push({ rule: "unexpected-end", line: lineNo, message: "'end' with no matching 'subgraph' to close" });
|
|
19202
|
+
} else {
|
|
19203
|
+
subgraphStack.pop();
|
|
19204
|
+
}
|
|
19205
|
+
continue;
|
|
19206
|
+
}
|
|
19207
|
+
const opens = (trimmed.match(/[[({]/g) || []).length;
|
|
19208
|
+
const closes = (trimmed.match(/[\])}]/g) || []).length;
|
|
19209
|
+
if (opens !== closes) {
|
|
19210
|
+
issues.push({
|
|
19211
|
+
rule: "unbalanced-brackets",
|
|
19212
|
+
line: lineNo,
|
|
19213
|
+
message: `Unbalanced brackets in node/edge definition: ${opens} opening vs ${closes} closing`
|
|
19214
|
+
});
|
|
19215
|
+
}
|
|
19216
|
+
const segments = trimmed.split(_MERMAID_ARROW_RE);
|
|
19217
|
+
if (segments.length > 1) {
|
|
19218
|
+
let missingNode = false;
|
|
19219
|
+
for (let s = 0; s < segments.length; s += 2) {
|
|
19220
|
+
if (segments[s].trim() === "") missingNode = true;
|
|
19221
|
+
}
|
|
19222
|
+
if (missingNode) {
|
|
19223
|
+
issues.push({ rule: "malformed-edge", line: lineNo, message: "Edge arrow is missing a node on one side" });
|
|
19224
|
+
}
|
|
19225
|
+
}
|
|
19226
|
+
}
|
|
19227
|
+
for (const openLine of subgraphStack) {
|
|
19228
|
+
issues.push({
|
|
19229
|
+
rule: "unterminated-subgraph",
|
|
19230
|
+
line: openLine,
|
|
19231
|
+
message: "'subgraph' opened here is never closed with a matching 'end'"
|
|
19232
|
+
});
|
|
19233
|
+
}
|
|
19234
|
+
}
|
|
19235
|
+
var _MERMAID_SEQ_DECL_RE = /^(participant|actor)\s+(\S+)/i;
|
|
19236
|
+
var _MERMAID_SEQ_MSG_RE = /^([A-Za-z0-9_]+)\s*(-{1,2}>{1,2}|-{1,2}x|-{1,2}\))\s*([A-Za-z0-9_]+)\s*:/i;
|
|
19237
|
+
function _checkMermaidSequenceDiagram(lines, fromLine, issues) {
|
|
19238
|
+
const declaredAtLine = {};
|
|
19239
|
+
for (let i = fromLine; i < lines.length; i++) {
|
|
19240
|
+
const trimmed = lines[i].split("%%")[0].trim();
|
|
19241
|
+
if (trimmed === "") continue;
|
|
19242
|
+
const m = trimmed.match(_MERMAID_SEQ_DECL_RE);
|
|
19243
|
+
if (m && declaredAtLine[m[2]] === void 0) declaredAtLine[m[2]] = i + 1;
|
|
19244
|
+
}
|
|
19245
|
+
for (let i = fromLine; i < lines.length; i++) {
|
|
19246
|
+
const lineNo = i + 1;
|
|
19247
|
+
const trimmed = lines[i].split("%%")[0].trim();
|
|
19248
|
+
if (trimmed === "") continue;
|
|
19249
|
+
const m = trimmed.match(_MERMAID_SEQ_MSG_RE);
|
|
19250
|
+
if (!m) continue;
|
|
19251
|
+
for (const id of [m[1], m[3]]) {
|
|
19252
|
+
const declaredLine = declaredAtLine[id];
|
|
19253
|
+
if (declaredLine !== void 0 && declaredLine > lineNo) {
|
|
19254
|
+
issues.push({
|
|
19255
|
+
rule: "participant-before-declared",
|
|
19256
|
+
line: lineNo,
|
|
19257
|
+
message: `Participant '${id}' is referenced here but not explicitly declared (with 'participant' or 'actor') until line ${declaredLine}`
|
|
19258
|
+
});
|
|
19259
|
+
}
|
|
19260
|
+
}
|
|
19261
|
+
}
|
|
19262
|
+
}
|
|
19263
|
+
function validateMermaidSyntax(input) {
|
|
19264
|
+
if (!input || !input.trim()) return { error: "Diagram text is required" };
|
|
19265
|
+
const lines = input.replace(/\r\n/g, "\n").split("\n");
|
|
19266
|
+
const issues = [];
|
|
19267
|
+
let headerLine = -1;
|
|
19268
|
+
let headerText = "";
|
|
19269
|
+
for (let i = 0; i < lines.length; i++) {
|
|
19270
|
+
const trimmed = lines[i].trim();
|
|
19271
|
+
if (trimmed === "" || trimmed.startsWith("%%")) continue;
|
|
19272
|
+
headerLine = i + 1;
|
|
19273
|
+
headerText = trimmed;
|
|
19274
|
+
break;
|
|
19275
|
+
}
|
|
19276
|
+
if (headerLine === -1) return { error: "Diagram text is required" };
|
|
19277
|
+
const firstWord = headerText.split(/\s+/)[0];
|
|
19278
|
+
const diagramType = MERMAID_DIAGRAM_TYPES[firstWord.toLowerCase()] ?? null;
|
|
19279
|
+
if (!diagramType) {
|
|
19280
|
+
issues.push({
|
|
19281
|
+
rule: "unrecognized-diagram-type",
|
|
19282
|
+
line: headerLine,
|
|
19283
|
+
message: `"${firstWord}" is not a recognized Mermaid diagram type (expected one of: flowchart/graph, sequenceDiagram, classDiagram, stateDiagram, erDiagram, pie)`
|
|
19284
|
+
});
|
|
19285
|
+
return { diagramType: null, valid: false, issues };
|
|
19286
|
+
}
|
|
19287
|
+
if (diagramType === "flowchart") {
|
|
19288
|
+
_checkMermaidFlowchart(lines, headerLine, issues);
|
|
19289
|
+
} else if (diagramType === "sequenceDiagram") {
|
|
19290
|
+
_checkMermaidSequenceDiagram(lines, headerLine, issues);
|
|
19291
|
+
}
|
|
19292
|
+
return { diagramType, valid: issues.length === 0, issues };
|
|
19293
|
+
}
|
|
19062
19294
|
function removeJsComments(code) {
|
|
19063
19295
|
let result = "";
|
|
19064
19296
|
let i = 0;
|
package/dist/index.d.cts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export { j as json } from './json-Ca6gZCNB.cjs';
|
|
2
2
|
export { e as encoding } from './encoding-Dk3wpmb3.cjs';
|
|
3
3
|
export { h as hashing } from './hashing-CJjlvqS_.cjs';
|
|
4
|
-
export { t as text } from './text-
|
|
4
|
+
export { t as text } from './text-DOopHoK3.cjs';
|
|
5
5
|
export { d as data } from './data-Cz1Q0sg0.cjs';
|
|
6
6
|
export { g as generators } from './generators-DAXXrMvG.cjs';
|
|
7
7
|
export { t as time } from './time-VMAy_SrV.cjs';
|
|
8
|
-
export { u as units } from './units-
|
|
8
|
+
export { u as units } from './units-B6aXeGr6.cjs';
|
|
9
9
|
export { n as network } from './network-ylRtLPEs.cjs';
|
|
10
10
|
export { a as api } from './api-CQnIUrVB.cjs';
|
|
11
|
-
export { c as code } from './code-
|
|
11
|
+
export { c as code } from './code-DvJYYTea.cjs';
|
|
12
12
|
export { c as color } from './color-tPwZCr9H.cjs';
|
|
13
13
|
export { c as css } from './css-Cf7AMGM-.cjs';
|
|
14
14
|
export { m as misc } from './misc-CA3N198T.cjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
export { j as json } from './json-Ca6gZCNB.js';
|
|
2
2
|
export { e as encoding } from './encoding-Dk3wpmb3.js';
|
|
3
3
|
export { h as hashing } from './hashing-CJjlvqS_.js';
|
|
4
|
-
export { t as text } from './text-
|
|
4
|
+
export { t as text } from './text-DOopHoK3.js';
|
|
5
5
|
export { d as data } from './data-Cz1Q0sg0.js';
|
|
6
6
|
export { g as generators } from './generators-DAXXrMvG.js';
|
|
7
7
|
export { t as time } from './time-VMAy_SrV.js';
|
|
8
|
-
export { u as units } from './units-
|
|
8
|
+
export { u as units } from './units-B6aXeGr6.js';
|
|
9
9
|
export { n as network } from './network-ylRtLPEs.js';
|
|
10
10
|
export { a as api } from './api-CQnIUrVB.js';
|
|
11
|
-
export { c as code } from './code-
|
|
11
|
+
export { c as code } from './code-DvJYYTea.js';
|
|
12
12
|
export { c as color } from './color-tPwZCr9H.js';
|
|
13
13
|
export { c as css } from './css-Cf7AMGM-.js';
|
|
14
14
|
export { m as misc } from './misc-CA3N198T.js';
|
package/dist/index.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
export { media_exports as media } from './chunk-ZWFZRDQ4.js';
|
|
2
|
-
export { units_exports as units } from './chunk-
|
|
2
|
+
export { units_exports as units } from './chunk-LKFMBUJZ.js';
|
|
3
3
|
export { network_exports as network } from './chunk-SW3J5CAI.js';
|
|
4
4
|
export { api_exports as api } from './chunk-U2HREMZU.js';
|
|
5
|
-
export { code_exports as code } from './chunk-
|
|
5
|
+
export { code_exports as code } from './chunk-KYBI62YY.js';
|
|
6
6
|
export { color_exports as color } from './chunk-BPVAB4P2.js';
|
|
7
7
|
export { css_exports as css } from './chunk-6YPV2AB5.js';
|
|
8
8
|
export { misc_exports as misc } from './chunk-GX7H6TAX.js';
|
|
@@ -10,7 +10,7 @@ export { ai_agent_exports as ai_agent } from './chunk-5VVC7BHS.js';
|
|
|
10
10
|
export { json_exports as json } from './chunk-WUOZHCIC.js';
|
|
11
11
|
export { encoding_exports as encoding } from './chunk-DOWQZUTP.js';
|
|
12
12
|
export { hashing_exports as hashing } from './chunk-PET2CGTH.js';
|
|
13
|
-
export { text_exports as text } from './chunk-
|
|
13
|
+
export { text_exports as text } from './chunk-YQJ7CEUL.js';
|
|
14
14
|
export { data_exports as data } from './chunk-CUQDHXUX.js';
|
|
15
15
|
export { generators_exports as generators } from './chunk-422ICOZX.js';
|
|
16
16
|
export { time_exports as time } from './chunk-6EJVNQSY.js';
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
* - keyword-density-analyzer: analyzeKeywordDensity
|
|
27
27
|
* - emoji-lookup : searchEmoji, getEmojiByShortcode, getEmojiByChar, getEmojiByCategory, getEmojiCategories, EMOJI_TABLE
|
|
28
28
|
* - em-dash-usage-checker: checkDashUsage
|
|
29
|
+
* - acronym-expansion-checker: checkAcronymExpansion
|
|
29
30
|
*/
|
|
30
31
|
interface WordCountResult {
|
|
31
32
|
words: number;
|
|
@@ -484,7 +485,43 @@ interface DashUsageResult {
|
|
|
484
485
|
* pasted alongside prose can occasionally be flagged.
|
|
485
486
|
*/
|
|
486
487
|
declare function checkDashUsage(text: string): DashUsageResult;
|
|
488
|
+
type AcronymIssueType = 'used-before-expansion' | 'never-expanded';
|
|
489
|
+
interface AcronymIssue {
|
|
490
|
+
type: AcronymIssueType;
|
|
491
|
+
acronym: string;
|
|
492
|
+
index: number;
|
|
493
|
+
context: string;
|
|
494
|
+
message: string;
|
|
495
|
+
}
|
|
496
|
+
interface AcronymUsage {
|
|
497
|
+
acronym: string;
|
|
498
|
+
occurrences: number;
|
|
499
|
+
firstUsedAt: number;
|
|
500
|
+
expandedAt: number | null;
|
|
501
|
+
usedBeforeExpansion: boolean;
|
|
502
|
+
}
|
|
503
|
+
interface AcronymCheckResult {
|
|
504
|
+
acronyms: AcronymUsage[];
|
|
505
|
+
issues: AcronymIssue[];
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* Scan text for acronyms (2-10 character all-caps tokens) and flag any that
|
|
509
|
+
* are used before being expanded on first mention, per standard technical
|
|
510
|
+
* writing style guides. Recognizes both expansion conventions: the full term
|
|
511
|
+
* followed by the acronym in parentheses ("Application Programming Interface
|
|
512
|
+
* (API)"), and the acronym followed by its expansion in parentheses ("API
|
|
513
|
+
* (Application Programming Interface)"). An acronym with no expansion found
|
|
514
|
+
* anywhere in the text is reported separately as never expanded, rather than
|
|
515
|
+
* as used too early. Pure regex heuristic, not a dictionary of real acronyms:
|
|
516
|
+
* a proper noun styled in all caps, a Roman numeral, or a pluralized acronym
|
|
517
|
+
* like "APIs" can be missed or misread.
|
|
518
|
+
*/
|
|
519
|
+
declare function checkAcronymExpansion(text: string): AcronymCheckResult;
|
|
487
520
|
|
|
521
|
+
type text_AcronymCheckResult = AcronymCheckResult;
|
|
522
|
+
type text_AcronymIssue = AcronymIssue;
|
|
523
|
+
type text_AcronymIssueType = AcronymIssueType;
|
|
524
|
+
type text_AcronymUsage = AcronymUsage;
|
|
488
525
|
type text_AsciiFont = AsciiFont;
|
|
489
526
|
type text_AsciiOptions = AsciiOptions;
|
|
490
527
|
declare const text_CASE_FORMATS: typeof CASE_FORMATS;
|
|
@@ -544,6 +581,7 @@ declare const text_applyOp: typeof applyOp;
|
|
|
544
581
|
declare const text_applyOps: typeof applyOps;
|
|
545
582
|
declare const text_calculateStringDistance: typeof calculateStringDistance;
|
|
546
583
|
declare const text_centerText: typeof centerText;
|
|
584
|
+
declare const text_checkAcronymExpansion: typeof checkAcronymExpansion;
|
|
547
585
|
declare const text_checkDashUsage: typeof checkDashUsage;
|
|
548
586
|
declare const text_checkOxfordCommaConsistency: typeof checkOxfordCommaConsistency;
|
|
549
587
|
declare const text_convertAll: typeof convertAll;
|
|
@@ -600,7 +638,7 @@ declare const text_textToMorse: typeof textToMorse;
|
|
|
600
638
|
declare const text_unescapeString: typeof unescapeString;
|
|
601
639
|
declare const text_wordFrequency: typeof wordFrequency;
|
|
602
640
|
declare namespace text {
|
|
603
|
-
export { type text_AsciiFont as AsciiFont, type text_AsciiOptions as AsciiOptions, text_CASE_FORMATS as CASE_FORMATS, type text_CaseFormat as CaseFormat, type text_ConvertOptions as ConvertOptions, text_DEFAULT_CONVERT_OPTIONS as DEFAULT_CONVERT_OPTIONS, type text_DashIssue as DashIssue, type text_DashIssueType as DashIssueType, type text_DashUsageResult as DashUsageResult, type text_DiffFile as DiffFile, type text_DiffHunk as DiffHunk, type text_DiffLine as DiffLine, type text_DiffResult as DiffResult, type text_DiffType as DiffType, type text_DiffViewerLine as DiffViewerLine, text_EMOJI_TABLE as EMOJI_TABLE, text_ESCAPE_MODES as ESCAPE_MODES, type text_EmojiEntry as EmojiEntry, type text_EscapeMode as EscapeMode, type text_FillerCategory as FillerCategory, type text_FillerMatch as FillerMatch, type text_FillerWordResult as FillerWordResult, type text_KeywordDensityEntry as KeywordDensityEntry, type text_KeywordDensityOptions as KeywordDensityOptions, type text_KeywordDensityResult as KeywordDensityResult, text_LINE_OPS as LINE_OPS, type text_LineOp as LineOp, type text_LineType as LineType, type text_LoremUnit as LoremUnit, text_MORSE_CODE as MORSE_CODE, type text_MarkdownResult as MarkdownResult, type text_MorseOptions as MorseOptions, type text_OxfordCommaInstance as OxfordCommaInstance, type text_OxfordCommaResult as OxfordCommaResult, type text_ParsedDiff as ParsedDiff, type text_ParsedTable as ParsedTable, type text_PassiveVoiceMatch as PassiveVoiceMatch, type text_PassiveVoiceResult as PassiveVoiceResult, type text_PassiveVoiceSentence as PassiveVoiceSentence, type text_ReadabilityResult as ReadabilityResult, type text_ReadabilityScore as ReadabilityScore, type text_SentenceLengthBucket as SentenceLengthBucket, type text_SentenceLengthDistribution as SentenceLengthDistribution, type text_SlugSeparator as SlugSeparator, type text_StringDistanceMode as StringDistanceMode, type text_StringDistanceResult as StringDistanceResult, type text_TableOptions as TableOptions, type text_TextAnalysis as TextAnalysis, type text_WordCountResult as WordCountResult, type text_WordyPhraseMatch as WordyPhraseMatch, type text_WordyPhraseResult as WordyPhraseResult, text_addBorder as addBorder, text_analyzeKeywordDensity as analyzeKeywordDensity, text_analyzeSentenceLengths as analyzeSentenceLengths, text_analyzeText as analyzeText, text_applyOp as applyOp, text_applyOps as applyOps, text_calculateStringDistance as calculateStringDistance, text_centerText as centerText, text_checkDashUsage as checkDashUsage, text_checkOxfordCommaConsistency as checkOxfordCommaConsistency, text_convertAll as convertAll, text_convertCase as convertCase, text_countWords as countWords, text_csvToHtml as csvToHtml, text_csvToMarkdown as csvToMarkdown, text_detectDelimiter as detectDelimiter, text_detectFillerWords as detectFillerWords, text_detectPassiveVoice as detectPassiveVoice, text_detectWordyPhrases as detectWordyPhrases, text_diffLines as diffLines, text_diffLinesSimple as diffLinesSimple, text_diffStats as diffStats, text_escapeAll as escapeAll, text_escapeString as escapeString, text_extractHeadings as extractHeadings, text_formatReadingTime as formatReadingTime, text_generate as generate, text_generateDiff as generateDiff, text_generateHtmlTable as generateHtmlTable, text_generateMarkdownTable as generateMarkdownTable, text_generateParagraphs as generateParagraphs, text_generateSentences as generateSentences, text_generateWords as generateWords, text_getAvailableFonts as getAvailableFonts, text_getEmojiByCategory as getEmojiByCategory, text_getEmojiByChar as getEmojiByChar, text_getEmojiByShortcode as getEmojiByShortcode, text_getEmojiCategories as getEmojiCategories, text_getMorseForChar as getMorseForChar, text_getMorseTiming as getMorseTiming, text_htmlToMarkdown as htmlToMarkdown, text_isValidMorse as isValidMorse, text_markdownToHtml as markdownToHtml, text_morseToText as morseToText, text_numberToOrdinal as numberToOrdinal, text_numberToRoman as numberToRoman, text_numberToWords as numberToWords, text_ordinalWords as ordinalWords, text_parseDiff as parseDiff, text_parseTableData as parseTableData, text_readabilityScore as readabilityScore, text_renderMarkdown as renderMarkdown, text_romanToNumber as romanToNumber, text_scoreReadability as scoreReadability, text_searchEmoji as searchEmoji, text_sentenceCount as sentenceCount, text_slugify as slugify, text_slugifyAll as slugifyAll, text_syllableCount as syllableCount, text_textToAscii as textToAscii, text_textToMorse as textToMorse, text_unescapeString as unescapeString, text_wordFrequency as wordFrequency };
|
|
641
|
+
export { type text_AcronymCheckResult as AcronymCheckResult, type text_AcronymIssue as AcronymIssue, type text_AcronymIssueType as AcronymIssueType, type text_AcronymUsage as AcronymUsage, type text_AsciiFont as AsciiFont, type text_AsciiOptions as AsciiOptions, text_CASE_FORMATS as CASE_FORMATS, type text_CaseFormat as CaseFormat, type text_ConvertOptions as ConvertOptions, text_DEFAULT_CONVERT_OPTIONS as DEFAULT_CONVERT_OPTIONS, type text_DashIssue as DashIssue, type text_DashIssueType as DashIssueType, type text_DashUsageResult as DashUsageResult, type text_DiffFile as DiffFile, type text_DiffHunk as DiffHunk, type text_DiffLine as DiffLine, type text_DiffResult as DiffResult, type text_DiffType as DiffType, type text_DiffViewerLine as DiffViewerLine, text_EMOJI_TABLE as EMOJI_TABLE, text_ESCAPE_MODES as ESCAPE_MODES, type text_EmojiEntry as EmojiEntry, type text_EscapeMode as EscapeMode, type text_FillerCategory as FillerCategory, type text_FillerMatch as FillerMatch, type text_FillerWordResult as FillerWordResult, type text_KeywordDensityEntry as KeywordDensityEntry, type text_KeywordDensityOptions as KeywordDensityOptions, type text_KeywordDensityResult as KeywordDensityResult, text_LINE_OPS as LINE_OPS, type text_LineOp as LineOp, type text_LineType as LineType, type text_LoremUnit as LoremUnit, text_MORSE_CODE as MORSE_CODE, type text_MarkdownResult as MarkdownResult, type text_MorseOptions as MorseOptions, type text_OxfordCommaInstance as OxfordCommaInstance, type text_OxfordCommaResult as OxfordCommaResult, type text_ParsedDiff as ParsedDiff, type text_ParsedTable as ParsedTable, type text_PassiveVoiceMatch as PassiveVoiceMatch, type text_PassiveVoiceResult as PassiveVoiceResult, type text_PassiveVoiceSentence as PassiveVoiceSentence, type text_ReadabilityResult as ReadabilityResult, type text_ReadabilityScore as ReadabilityScore, type text_SentenceLengthBucket as SentenceLengthBucket, type text_SentenceLengthDistribution as SentenceLengthDistribution, type text_SlugSeparator as SlugSeparator, type text_StringDistanceMode as StringDistanceMode, type text_StringDistanceResult as StringDistanceResult, type text_TableOptions as TableOptions, type text_TextAnalysis as TextAnalysis, type text_WordCountResult as WordCountResult, type text_WordyPhraseMatch as WordyPhraseMatch, type text_WordyPhraseResult as WordyPhraseResult, text_addBorder as addBorder, text_analyzeKeywordDensity as analyzeKeywordDensity, text_analyzeSentenceLengths as analyzeSentenceLengths, text_analyzeText as analyzeText, text_applyOp as applyOp, text_applyOps as applyOps, text_calculateStringDistance as calculateStringDistance, text_centerText as centerText, text_checkAcronymExpansion as checkAcronymExpansion, text_checkDashUsage as checkDashUsage, text_checkOxfordCommaConsistency as checkOxfordCommaConsistency, text_convertAll as convertAll, text_convertCase as convertCase, text_countWords as countWords, text_csvToHtml as csvToHtml, text_csvToMarkdown as csvToMarkdown, text_detectDelimiter as detectDelimiter, text_detectFillerWords as detectFillerWords, text_detectPassiveVoice as detectPassiveVoice, text_detectWordyPhrases as detectWordyPhrases, text_diffLines as diffLines, text_diffLinesSimple as diffLinesSimple, text_diffStats as diffStats, text_escapeAll as escapeAll, text_escapeString as escapeString, text_extractHeadings as extractHeadings, text_formatReadingTime as formatReadingTime, text_generate as generate, text_generateDiff as generateDiff, text_generateHtmlTable as generateHtmlTable, text_generateMarkdownTable as generateMarkdownTable, text_generateParagraphs as generateParagraphs, text_generateSentences as generateSentences, text_generateWords as generateWords, text_getAvailableFonts as getAvailableFonts, text_getEmojiByCategory as getEmojiByCategory, text_getEmojiByChar as getEmojiByChar, text_getEmojiByShortcode as getEmojiByShortcode, text_getEmojiCategories as getEmojiCategories, text_getMorseForChar as getMorseForChar, text_getMorseTiming as getMorseTiming, text_htmlToMarkdown as htmlToMarkdown, text_isValidMorse as isValidMorse, text_markdownToHtml as markdownToHtml, text_morseToText as morseToText, text_numberToOrdinal as numberToOrdinal, text_numberToRoman as numberToRoman, text_numberToWords as numberToWords, text_ordinalWords as ordinalWords, text_parseDiff as parseDiff, text_parseTableData as parseTableData, text_readabilityScore as readabilityScore, text_renderMarkdown as renderMarkdown, text_romanToNumber as romanToNumber, text_scoreReadability as scoreReadability, text_searchEmoji as searchEmoji, text_sentenceCount as sentenceCount, text_slugify as slugify, text_slugifyAll as slugifyAll, text_syllableCount as syllableCount, text_textToAscii as textToAscii, text_textToMorse as textToMorse, text_unescapeString as unescapeString, text_wordFrequency as wordFrequency };
|
|
604
642
|
}
|
|
605
643
|
|
|
606
|
-
export {
|
|
644
|
+
export { type WordCountResult as $, type AcronymCheckResult as A, type LoremUnit as B, CASE_FORMATS as C, DEFAULT_CONVERT_OPTIONS as D, EMOJI_TABLE as E, type FillerCategory as F, type MarkdownResult as G, type MorseOptions as H, type OxfordCommaResult as I, type ParsedTable as J, type KeywordDensityEntry as K, LINE_OPS as L, MORSE_CODE as M, type PassiveVoiceMatch as N, type OxfordCommaInstance as O, type ParsedDiff as P, type PassiveVoiceResult as Q, type PassiveVoiceSentence as R, type ReadabilityResult as S, type ReadabilityScore as T, type SentenceLengthBucket as U, type SentenceLengthDistribution as V, type SlugSeparator as W, type StringDistanceMode as X, type StringDistanceResult as Y, type TableOptions as Z, type TextAnalysis as _, type AcronymIssue as a, textToMorse as a$, type WordyPhraseMatch as a0, type WordyPhraseResult as a1, addBorder as a2, analyzeKeywordDensity as a3, analyzeSentenceLengths as a4, analyzeText as a5, applyOp as a6, applyOps as a7, calculateStringDistance as a8, centerText as a9, getAvailableFonts as aA, getEmojiByCategory as aB, getEmojiByChar as aC, getEmojiByShortcode as aD, getEmojiCategories as aE, getMorseForChar as aF, getMorseTiming as aG, htmlToMarkdown as aH, isValidMorse as aI, markdownToHtml as aJ, morseToText as aK, numberToOrdinal as aL, numberToRoman as aM, numberToWords as aN, ordinalWords as aO, parseDiff as aP, parseTableData as aQ, readabilityScore as aR, renderMarkdown as aS, romanToNumber as aT, scoreReadability as aU, searchEmoji as aV, sentenceCount as aW, slugify as aX, slugifyAll as aY, syllableCount as aZ, textToAscii as a_, checkAcronymExpansion as aa, checkDashUsage as ab, checkOxfordCommaConsistency as ac, convertAll as ad, convertCase as ae, countWords as af, csvToHtml as ag, csvToMarkdown as ah, detectDelimiter as ai, detectFillerWords as aj, detectPassiveVoice as ak, detectWordyPhrases as al, diffLines as am, diffLinesSimple as an, diffStats as ao, escapeAll as ap, escapeString as aq, extractHeadings as ar, formatReadingTime as as, generate as at, generateDiff as au, generateHtmlTable as av, generateMarkdownTable as aw, generateParagraphs as ax, generateSentences as ay, generateWords as az, type AcronymIssueType as b, unescapeString as b0, wordFrequency as b1, type AcronymUsage as c, type AsciiFont as d, type AsciiOptions as e, type CaseFormat as f, type ConvertOptions as g, type DashIssue as h, type DashIssueType as i, type DashUsageResult as j, type DiffFile as k, type DiffHunk as l, type DiffLine as m, type DiffResult as n, type DiffType as o, type DiffViewerLine as p, ESCAPE_MODES as q, type EmojiEntry as r, type EscapeMode as s, text as t, type FillerMatch as u, type FillerWordResult as v, type KeywordDensityOptions as w, type KeywordDensityResult as x, type LineOp as y, type LineType as z };
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
* - keyword-density-analyzer: analyzeKeywordDensity
|
|
27
27
|
* - emoji-lookup : searchEmoji, getEmojiByShortcode, getEmojiByChar, getEmojiByCategory, getEmojiCategories, EMOJI_TABLE
|
|
28
28
|
* - em-dash-usage-checker: checkDashUsage
|
|
29
|
+
* - acronym-expansion-checker: checkAcronymExpansion
|
|
29
30
|
*/
|
|
30
31
|
interface WordCountResult {
|
|
31
32
|
words: number;
|
|
@@ -484,7 +485,43 @@ interface DashUsageResult {
|
|
|
484
485
|
* pasted alongside prose can occasionally be flagged.
|
|
485
486
|
*/
|
|
486
487
|
declare function checkDashUsage(text: string): DashUsageResult;
|
|
488
|
+
type AcronymIssueType = 'used-before-expansion' | 'never-expanded';
|
|
489
|
+
interface AcronymIssue {
|
|
490
|
+
type: AcronymIssueType;
|
|
491
|
+
acronym: string;
|
|
492
|
+
index: number;
|
|
493
|
+
context: string;
|
|
494
|
+
message: string;
|
|
495
|
+
}
|
|
496
|
+
interface AcronymUsage {
|
|
497
|
+
acronym: string;
|
|
498
|
+
occurrences: number;
|
|
499
|
+
firstUsedAt: number;
|
|
500
|
+
expandedAt: number | null;
|
|
501
|
+
usedBeforeExpansion: boolean;
|
|
502
|
+
}
|
|
503
|
+
interface AcronymCheckResult {
|
|
504
|
+
acronyms: AcronymUsage[];
|
|
505
|
+
issues: AcronymIssue[];
|
|
506
|
+
}
|
|
507
|
+
/**
|
|
508
|
+
* Scan text for acronyms (2-10 character all-caps tokens) and flag any that
|
|
509
|
+
* are used before being expanded on first mention, per standard technical
|
|
510
|
+
* writing style guides. Recognizes both expansion conventions: the full term
|
|
511
|
+
* followed by the acronym in parentheses ("Application Programming Interface
|
|
512
|
+
* (API)"), and the acronym followed by its expansion in parentheses ("API
|
|
513
|
+
* (Application Programming Interface)"). An acronym with no expansion found
|
|
514
|
+
* anywhere in the text is reported separately as never expanded, rather than
|
|
515
|
+
* as used too early. Pure regex heuristic, not a dictionary of real acronyms:
|
|
516
|
+
* a proper noun styled in all caps, a Roman numeral, or a pluralized acronym
|
|
517
|
+
* like "APIs" can be missed or misread.
|
|
518
|
+
*/
|
|
519
|
+
declare function checkAcronymExpansion(text: string): AcronymCheckResult;
|
|
487
520
|
|
|
521
|
+
type text_AcronymCheckResult = AcronymCheckResult;
|
|
522
|
+
type text_AcronymIssue = AcronymIssue;
|
|
523
|
+
type text_AcronymIssueType = AcronymIssueType;
|
|
524
|
+
type text_AcronymUsage = AcronymUsage;
|
|
488
525
|
type text_AsciiFont = AsciiFont;
|
|
489
526
|
type text_AsciiOptions = AsciiOptions;
|
|
490
527
|
declare const text_CASE_FORMATS: typeof CASE_FORMATS;
|
|
@@ -544,6 +581,7 @@ declare const text_applyOp: typeof applyOp;
|
|
|
544
581
|
declare const text_applyOps: typeof applyOps;
|
|
545
582
|
declare const text_calculateStringDistance: typeof calculateStringDistance;
|
|
546
583
|
declare const text_centerText: typeof centerText;
|
|
584
|
+
declare const text_checkAcronymExpansion: typeof checkAcronymExpansion;
|
|
547
585
|
declare const text_checkDashUsage: typeof checkDashUsage;
|
|
548
586
|
declare const text_checkOxfordCommaConsistency: typeof checkOxfordCommaConsistency;
|
|
549
587
|
declare const text_convertAll: typeof convertAll;
|
|
@@ -600,7 +638,7 @@ declare const text_textToMorse: typeof textToMorse;
|
|
|
600
638
|
declare const text_unescapeString: typeof unescapeString;
|
|
601
639
|
declare const text_wordFrequency: typeof wordFrequency;
|
|
602
640
|
declare namespace text {
|
|
603
|
-
export { type text_AsciiFont as AsciiFont, type text_AsciiOptions as AsciiOptions, text_CASE_FORMATS as CASE_FORMATS, type text_CaseFormat as CaseFormat, type text_ConvertOptions as ConvertOptions, text_DEFAULT_CONVERT_OPTIONS as DEFAULT_CONVERT_OPTIONS, type text_DashIssue as DashIssue, type text_DashIssueType as DashIssueType, type text_DashUsageResult as DashUsageResult, type text_DiffFile as DiffFile, type text_DiffHunk as DiffHunk, type text_DiffLine as DiffLine, type text_DiffResult as DiffResult, type text_DiffType as DiffType, type text_DiffViewerLine as DiffViewerLine, text_EMOJI_TABLE as EMOJI_TABLE, text_ESCAPE_MODES as ESCAPE_MODES, type text_EmojiEntry as EmojiEntry, type text_EscapeMode as EscapeMode, type text_FillerCategory as FillerCategory, type text_FillerMatch as FillerMatch, type text_FillerWordResult as FillerWordResult, type text_KeywordDensityEntry as KeywordDensityEntry, type text_KeywordDensityOptions as KeywordDensityOptions, type text_KeywordDensityResult as KeywordDensityResult, text_LINE_OPS as LINE_OPS, type text_LineOp as LineOp, type text_LineType as LineType, type text_LoremUnit as LoremUnit, text_MORSE_CODE as MORSE_CODE, type text_MarkdownResult as MarkdownResult, type text_MorseOptions as MorseOptions, type text_OxfordCommaInstance as OxfordCommaInstance, type text_OxfordCommaResult as OxfordCommaResult, type text_ParsedDiff as ParsedDiff, type text_ParsedTable as ParsedTable, type text_PassiveVoiceMatch as PassiveVoiceMatch, type text_PassiveVoiceResult as PassiveVoiceResult, type text_PassiveVoiceSentence as PassiveVoiceSentence, type text_ReadabilityResult as ReadabilityResult, type text_ReadabilityScore as ReadabilityScore, type text_SentenceLengthBucket as SentenceLengthBucket, type text_SentenceLengthDistribution as SentenceLengthDistribution, type text_SlugSeparator as SlugSeparator, type text_StringDistanceMode as StringDistanceMode, type text_StringDistanceResult as StringDistanceResult, type text_TableOptions as TableOptions, type text_TextAnalysis as TextAnalysis, type text_WordCountResult as WordCountResult, type text_WordyPhraseMatch as WordyPhraseMatch, type text_WordyPhraseResult as WordyPhraseResult, text_addBorder as addBorder, text_analyzeKeywordDensity as analyzeKeywordDensity, text_analyzeSentenceLengths as analyzeSentenceLengths, text_analyzeText as analyzeText, text_applyOp as applyOp, text_applyOps as applyOps, text_calculateStringDistance as calculateStringDistance, text_centerText as centerText, text_checkDashUsage as checkDashUsage, text_checkOxfordCommaConsistency as checkOxfordCommaConsistency, text_convertAll as convertAll, text_convertCase as convertCase, text_countWords as countWords, text_csvToHtml as csvToHtml, text_csvToMarkdown as csvToMarkdown, text_detectDelimiter as detectDelimiter, text_detectFillerWords as detectFillerWords, text_detectPassiveVoice as detectPassiveVoice, text_detectWordyPhrases as detectWordyPhrases, text_diffLines as diffLines, text_diffLinesSimple as diffLinesSimple, text_diffStats as diffStats, text_escapeAll as escapeAll, text_escapeString as escapeString, text_extractHeadings as extractHeadings, text_formatReadingTime as formatReadingTime, text_generate as generate, text_generateDiff as generateDiff, text_generateHtmlTable as generateHtmlTable, text_generateMarkdownTable as generateMarkdownTable, text_generateParagraphs as generateParagraphs, text_generateSentences as generateSentences, text_generateWords as generateWords, text_getAvailableFonts as getAvailableFonts, text_getEmojiByCategory as getEmojiByCategory, text_getEmojiByChar as getEmojiByChar, text_getEmojiByShortcode as getEmojiByShortcode, text_getEmojiCategories as getEmojiCategories, text_getMorseForChar as getMorseForChar, text_getMorseTiming as getMorseTiming, text_htmlToMarkdown as htmlToMarkdown, text_isValidMorse as isValidMorse, text_markdownToHtml as markdownToHtml, text_morseToText as morseToText, text_numberToOrdinal as numberToOrdinal, text_numberToRoman as numberToRoman, text_numberToWords as numberToWords, text_ordinalWords as ordinalWords, text_parseDiff as parseDiff, text_parseTableData as parseTableData, text_readabilityScore as readabilityScore, text_renderMarkdown as renderMarkdown, text_romanToNumber as romanToNumber, text_scoreReadability as scoreReadability, text_searchEmoji as searchEmoji, text_sentenceCount as sentenceCount, text_slugify as slugify, text_slugifyAll as slugifyAll, text_syllableCount as syllableCount, text_textToAscii as textToAscii, text_textToMorse as textToMorse, text_unescapeString as unescapeString, text_wordFrequency as wordFrequency };
|
|
641
|
+
export { type text_AcronymCheckResult as AcronymCheckResult, type text_AcronymIssue as AcronymIssue, type text_AcronymIssueType as AcronymIssueType, type text_AcronymUsage as AcronymUsage, type text_AsciiFont as AsciiFont, type text_AsciiOptions as AsciiOptions, text_CASE_FORMATS as CASE_FORMATS, type text_CaseFormat as CaseFormat, type text_ConvertOptions as ConvertOptions, text_DEFAULT_CONVERT_OPTIONS as DEFAULT_CONVERT_OPTIONS, type text_DashIssue as DashIssue, type text_DashIssueType as DashIssueType, type text_DashUsageResult as DashUsageResult, type text_DiffFile as DiffFile, type text_DiffHunk as DiffHunk, type text_DiffLine as DiffLine, type text_DiffResult as DiffResult, type text_DiffType as DiffType, type text_DiffViewerLine as DiffViewerLine, text_EMOJI_TABLE as EMOJI_TABLE, text_ESCAPE_MODES as ESCAPE_MODES, type text_EmojiEntry as EmojiEntry, type text_EscapeMode as EscapeMode, type text_FillerCategory as FillerCategory, type text_FillerMatch as FillerMatch, type text_FillerWordResult as FillerWordResult, type text_KeywordDensityEntry as KeywordDensityEntry, type text_KeywordDensityOptions as KeywordDensityOptions, type text_KeywordDensityResult as KeywordDensityResult, text_LINE_OPS as LINE_OPS, type text_LineOp as LineOp, type text_LineType as LineType, type text_LoremUnit as LoremUnit, text_MORSE_CODE as MORSE_CODE, type text_MarkdownResult as MarkdownResult, type text_MorseOptions as MorseOptions, type text_OxfordCommaInstance as OxfordCommaInstance, type text_OxfordCommaResult as OxfordCommaResult, type text_ParsedDiff as ParsedDiff, type text_ParsedTable as ParsedTable, type text_PassiveVoiceMatch as PassiveVoiceMatch, type text_PassiveVoiceResult as PassiveVoiceResult, type text_PassiveVoiceSentence as PassiveVoiceSentence, type text_ReadabilityResult as ReadabilityResult, type text_ReadabilityScore as ReadabilityScore, type text_SentenceLengthBucket as SentenceLengthBucket, type text_SentenceLengthDistribution as SentenceLengthDistribution, type text_SlugSeparator as SlugSeparator, type text_StringDistanceMode as StringDistanceMode, type text_StringDistanceResult as StringDistanceResult, type text_TableOptions as TableOptions, type text_TextAnalysis as TextAnalysis, type text_WordCountResult as WordCountResult, type text_WordyPhraseMatch as WordyPhraseMatch, type text_WordyPhraseResult as WordyPhraseResult, text_addBorder as addBorder, text_analyzeKeywordDensity as analyzeKeywordDensity, text_analyzeSentenceLengths as analyzeSentenceLengths, text_analyzeText as analyzeText, text_applyOp as applyOp, text_applyOps as applyOps, text_calculateStringDistance as calculateStringDistance, text_centerText as centerText, text_checkAcronymExpansion as checkAcronymExpansion, text_checkDashUsage as checkDashUsage, text_checkOxfordCommaConsistency as checkOxfordCommaConsistency, text_convertAll as convertAll, text_convertCase as convertCase, text_countWords as countWords, text_csvToHtml as csvToHtml, text_csvToMarkdown as csvToMarkdown, text_detectDelimiter as detectDelimiter, text_detectFillerWords as detectFillerWords, text_detectPassiveVoice as detectPassiveVoice, text_detectWordyPhrases as detectWordyPhrases, text_diffLines as diffLines, text_diffLinesSimple as diffLinesSimple, text_diffStats as diffStats, text_escapeAll as escapeAll, text_escapeString as escapeString, text_extractHeadings as extractHeadings, text_formatReadingTime as formatReadingTime, text_generate as generate, text_generateDiff as generateDiff, text_generateHtmlTable as generateHtmlTable, text_generateMarkdownTable as generateMarkdownTable, text_generateParagraphs as generateParagraphs, text_generateSentences as generateSentences, text_generateWords as generateWords, text_getAvailableFonts as getAvailableFonts, text_getEmojiByCategory as getEmojiByCategory, text_getEmojiByChar as getEmojiByChar, text_getEmojiByShortcode as getEmojiByShortcode, text_getEmojiCategories as getEmojiCategories, text_getMorseForChar as getMorseForChar, text_getMorseTiming as getMorseTiming, text_htmlToMarkdown as htmlToMarkdown, text_isValidMorse as isValidMorse, text_markdownToHtml as markdownToHtml, text_morseToText as morseToText, text_numberToOrdinal as numberToOrdinal, text_numberToRoman as numberToRoman, text_numberToWords as numberToWords, text_ordinalWords as ordinalWords, text_parseDiff as parseDiff, text_parseTableData as parseTableData, text_readabilityScore as readabilityScore, text_renderMarkdown as renderMarkdown, text_romanToNumber as romanToNumber, text_scoreReadability as scoreReadability, text_searchEmoji as searchEmoji, text_sentenceCount as sentenceCount, text_slugify as slugify, text_slugifyAll as slugifyAll, text_syllableCount as syllableCount, text_textToAscii as textToAscii, text_textToMorse as textToMorse, text_unescapeString as unescapeString, text_wordFrequency as wordFrequency };
|
|
604
642
|
}
|
|
605
643
|
|
|
606
|
-
export {
|
|
644
|
+
export { type WordCountResult as $, type AcronymCheckResult as A, type LoremUnit as B, CASE_FORMATS as C, DEFAULT_CONVERT_OPTIONS as D, EMOJI_TABLE as E, type FillerCategory as F, type MarkdownResult as G, type MorseOptions as H, type OxfordCommaResult as I, type ParsedTable as J, type KeywordDensityEntry as K, LINE_OPS as L, MORSE_CODE as M, type PassiveVoiceMatch as N, type OxfordCommaInstance as O, type ParsedDiff as P, type PassiveVoiceResult as Q, type PassiveVoiceSentence as R, type ReadabilityResult as S, type ReadabilityScore as T, type SentenceLengthBucket as U, type SentenceLengthDistribution as V, type SlugSeparator as W, type StringDistanceMode as X, type StringDistanceResult as Y, type TableOptions as Z, type TextAnalysis as _, type AcronymIssue as a, textToMorse as a$, type WordyPhraseMatch as a0, type WordyPhraseResult as a1, addBorder as a2, analyzeKeywordDensity as a3, analyzeSentenceLengths as a4, analyzeText as a5, applyOp as a6, applyOps as a7, calculateStringDistance as a8, centerText as a9, getAvailableFonts as aA, getEmojiByCategory as aB, getEmojiByChar as aC, getEmojiByShortcode as aD, getEmojiCategories as aE, getMorseForChar as aF, getMorseTiming as aG, htmlToMarkdown as aH, isValidMorse as aI, markdownToHtml as aJ, morseToText as aK, numberToOrdinal as aL, numberToRoman as aM, numberToWords as aN, ordinalWords as aO, parseDiff as aP, parseTableData as aQ, readabilityScore as aR, renderMarkdown as aS, romanToNumber as aT, scoreReadability as aU, searchEmoji as aV, sentenceCount as aW, slugify as aX, slugifyAll as aY, syllableCount as aZ, textToAscii as a_, checkAcronymExpansion as aa, checkDashUsage as ab, checkOxfordCommaConsistency as ac, convertAll as ad, convertCase as ae, countWords as af, csvToHtml as ag, csvToMarkdown as ah, detectDelimiter as ai, detectFillerWords as aj, detectPassiveVoice as ak, detectWordyPhrases as al, diffLines as am, diffLinesSimple as an, diffStats as ao, escapeAll as ap, escapeString as aq, extractHeadings as ar, formatReadingTime as as, generate as at, generateDiff as au, generateHtmlTable as av, generateMarkdownTable as aw, generateParagraphs as ax, generateSentences as ay, generateWords as az, type AcronymIssueType as b, unescapeString as b0, wordFrequency as b1, type AcronymUsage as c, type AsciiFont as d, type AsciiOptions as e, type CaseFormat as f, type ConvertOptions as g, type DashIssue as h, type DashIssueType as i, type DashUsageResult as j, type DiffFile as k, type DiffHunk as l, type DiffLine as m, type DiffResult as n, type DiffType as o, type DiffViewerLine as p, ESCAPE_MODES as q, type EmojiEntry as r, type EscapeMode as s, text as t, type FillerMatch as u, type FillerWordResult as v, type KeywordDensityOptions as w, type KeywordDensityResult as x, type LineOp as y, type LineType as z };
|