harper.js 0.13.0 → 0.13.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.
- package/README.md +8 -0
- package/dist/harper.d.ts +1 -1
- package/dist/harper.js +13 -13
- package/examples/commonjs-simple/README.md +11 -0
- package/examples/commonjs-simple/index.cjs +28 -0
- package/examples/commonjs-simple/package.json +11 -0
- package/examples/commonjs-simple/yarn.lock +14 -0
- package/examples/raw-web/README.md +4 -0
- package/examples/raw-web/index.html +55 -0
- package/package.json +14 -4
- package/src/Linter.ts +5 -1
package/README.md
ADDED
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
# Harper
|
|
2
|
+
|
|
3
|
+
Harper is a grammar checker designed to be easy to consume and integrate into your products.
|
|
4
|
+
**It always runs on-device**, which means there aren't any privacy considerations or servers to run.
|
|
5
|
+
|
|
6
|
+
[Read the documentation to learn more.](https://writewithharper.com/docs/harperjs/introduction)
|
|
7
|
+
|
|
8
|
+
Wondering how good our algorithm is? [Give it a whirl.](https://writewithharper.com)
|
package/dist/harper.d.ts
CHANGED
|
@@ -6,7 +6,7 @@ export { Lint }
|
|
|
6
6
|
|
|
7
7
|
export declare type LintConfig = Record<string, boolean | undefined>;
|
|
8
8
|
|
|
9
|
-
/**
|
|
9
|
+
/** An interface for an object that can perform linting actions. */
|
|
10
10
|
export declare interface Linter {
|
|
11
11
|
/** Complete any setup that is necessary before linting. This may include downloading and compiling the WebAssembly binary.
|
|
12
12
|
* This setup will complete when needed regardless of whether you call this function.
|