fixnow 1.0.1 → 2.0.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/README.md +93 -9
- package/dist/ar.cjs +6152 -0
- package/dist/ar.d.cts +10 -0
- package/dist/ar.d.ts +10 -0
- package/dist/ar.js +20 -0
- package/dist/chunk-FX7T7BEL.js +6118 -0
- package/dist/de.cjs +6152 -0
- package/dist/de.d.cts +10 -0
- package/dist/de.d.ts +10 -0
- package/dist/de.js +20 -0
- package/dist/en.cjs +6152 -0
- package/dist/en.d.cts +10 -0
- package/dist/en.d.ts +10 -0
- package/dist/en.js +20 -0
- package/dist/es.cjs +6152 -0
- package/dist/es.d.cts +10 -0
- package/dist/es.d.ts +10 -0
- package/dist/es.js +20 -0
- package/dist/fr.cjs +6152 -0
- package/dist/fr.d.cts +10 -0
- package/dist/fr.d.ts +10 -0
- package/dist/fr.js +20 -0
- package/dist/index.cjs +59 -33
- package/dist/index.d.cts +47 -12
- package/dist/index.d.ts +47 -12
- package/dist/index.js +14 -6080
- package/dist/pt.cjs +6152 -0
- package/dist/pt.d.cts +10 -0
- package/dist/pt.d.ts +10 -0
- package/dist/pt.js +20 -0
- package/dist/ru.cjs +6152 -0
- package/dist/ru.d.cts +10 -0
- package/dist/ru.d.ts +10 -0
- package/dist/ru.js +20 -0
- package/dist/vi.cjs +6152 -0
- package/dist/vi.d.cts +10 -0
- package/dist/vi.d.ts +10 -0
- package/dist/vi.js +20 -0
- package/package.json +81 -1
package/dist/es.d.cts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CheckOptions, SpellIssue, BoundChecker, IsCorrectOptions } from './index.cjs';
|
|
2
|
+
export { DEFAULT_PROTECTED_PATTERN, Dictionary, LANGUAGES, LanguageInfo, tokenize } from './index.cjs';
|
|
3
|
+
|
|
4
|
+
declare const checker: BoundChecker;
|
|
5
|
+
declare const check: (text: string, options?: Omit<CheckOptions, "language">) => Promise<SpellIssue[]>;
|
|
6
|
+
declare const suggest: (word: string, max?: number) => Promise<string[]>;
|
|
7
|
+
declare const isCorrect: (word: string, options?: IsCorrectOptions) => Promise<boolean>;
|
|
8
|
+
declare const warmup: () => Promise<void>;
|
|
9
|
+
|
|
10
|
+
export { BoundChecker, CheckOptions, IsCorrectOptions, SpellIssue, check, checker, isCorrect, suggest, warmup };
|
package/dist/es.d.ts
ADDED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { CheckOptions, SpellIssue, BoundChecker, IsCorrectOptions } from './index.js';
|
|
2
|
+
export { DEFAULT_PROTECTED_PATTERN, Dictionary, LANGUAGES, LanguageInfo, tokenize } from './index.js';
|
|
3
|
+
|
|
4
|
+
declare const checker: BoundChecker;
|
|
5
|
+
declare const check: (text: string, options?: Omit<CheckOptions, "language">) => Promise<SpellIssue[]>;
|
|
6
|
+
declare const suggest: (word: string, max?: number) => Promise<string[]>;
|
|
7
|
+
declare const isCorrect: (word: string, options?: IsCorrectOptions) => Promise<boolean>;
|
|
8
|
+
declare const warmup: () => Promise<void>;
|
|
9
|
+
|
|
10
|
+
export { BoundChecker, CheckOptions, IsCorrectOptions, SpellIssue, check, checker, isCorrect, suggest, warmup };
|
package/dist/es.js
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import {
|
|
2
|
+
DEFAULT_PROTECTED_PATTERN,
|
|
3
|
+
LANGUAGES,
|
|
4
|
+
createChecker,
|
|
5
|
+
tokenize
|
|
6
|
+
} from "./chunk-FX7T7BEL.js";
|
|
7
|
+
|
|
8
|
+
// src/entries/es.ts
|
|
9
|
+
var checker = createChecker("es");
|
|
10
|
+
var { check, suggest, isCorrect, warmup } = checker;
|
|
11
|
+
export {
|
|
12
|
+
DEFAULT_PROTECTED_PATTERN,
|
|
13
|
+
LANGUAGES,
|
|
14
|
+
check,
|
|
15
|
+
checker,
|
|
16
|
+
isCorrect,
|
|
17
|
+
suggest,
|
|
18
|
+
tokenize,
|
|
19
|
+
warmup
|
|
20
|
+
};
|